I think your referering to the [IconFile] metadata?  Just place the metadata
in your actionscript class.  Then when you compile it into a swc and use
that swc component in another project, you will see your icon in the custom
components section.

// Note: You won't see graphic till the file is compiled into a swc
[IconFile("Panel.png")]

On 12/4/06, genius_gen2k <[EMAIL PROTECTED]> wrote:

  How do we dynamically use an image as icon for Canvas component,
writing the code in the .as file.

Amol.




--
Dominick Accattato, CTO
New View Networks
www.newviewnetworks.com

Reply via email to