Is there a tool that will convert an exported Flash library element (ie Component/MovieClip) to an AS3 class with Flex syntax, ie[Embed(source="graphic.png")]
Thanks,
Philip
Is there a tool that will convert an exported Flash library element (ie Component/MovieClip) to an AS3 class with Flex syntax, ie[Embed(source="graphic.png")]
Thanks,
Philip
Yes by doing this for example
[Embed(source='SWFFileName.swf', symbol='symbolName')]
[Bindable]
public var imgCls:Class;
and then for example :
<mx:Image source="{imgCls}" width="300" height="300"/>