I was trying to follow the logic in the mx:Button class on how to add
an icon to a simple UIComponent i created with a setter that looks
like this:
view:SimpleFunComponent id=toolButton
icon=@Embed(source='/assets/tool_icon.swf')/
I don't really understand how to cast my classname (as i was
Public function set icon(iconClass:Class):void
@Embed returns a class.
If you want to handle external content as well, look at SWFLoader.source
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of djhatrick
Sent: Wednesday, June 25,
2 matches
Mail list logo