Answering to Myself (Can I put resources into my applet and load it later?)
Answering to Myself (Can I put resources into my applet and load it later?)
- Subject: Answering to Myself (Can I put resources into my applet and load it later?)
- From: JJ <email@hidden>
- Date: Thu, 10 May 2001 14:58:02 +0200
A few weeks ago, I posted a message answering if I could embed resources
into an applet in order to use them (example, icons).
Now, I'll answer myself:
Dear JJ:
You can do it. Put this code into your editor and save as app:
tell me to display dialog "I did!" with icon 1538
Now, you can open your applet with ResEdit or Resorcerer.
Make a new resource "cicn" with ID "1538" and paint your own icon.
Yet!
*JJ, you can directly download an example at this URL:
English version:
http://www.geocities.com/julifos/packages/Attach_Remove_Folder_Action.sit
Spanish version:
http://www.geocities.com/julifos/packages/a_r_acciones_carpeta.sit
JJ