Try this: [Embed(source="/assets/images/LoadingAnimation.swf")] [Bindable] public var LoadingAnim:Class;
By specifying a symbol, it just pulled the symbol and not the timeline, etc. From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of flexaustin Sent: Monday, September 15, 2008 9:56 AM To: [email protected] Subject: [flexcoders] embedded swf not playing I have an embedded swf that is not auto playing when it is imported into Flex? Here is the code (below). When my flex swf is run the swf just sits there, but the code in my swf says onEnterFrame rotate in a circle. Any suggestions? <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init()" width="24" height="24"> <mx:Script> <![CDATA[ [Embed(source="/assets/images/LoadingAnimation.swf", symbol="CircleOfOranges")] [Bindable] public var LoadingAnim:Class; ]]> </mx:Script> <mx:HBox width="24" height="24" verticalCenter="0" left="0"> <mx:Image id="loadinganim" source="{LoadingAnim}" width="24" height="24" scaleContent="true"/> </mx:HBox> </mx:Canvas>

