You can, but it is wrapped by a MovieClipLoaderAsset which has to handle the embedded binary. For some embedded SWF:
[Embed("SimpleCS3.swf")] public var simpleCS3:Class; and an instance of it called 'foo': public var foo:DisplayObject; private function makeOne():void { foo = new simpleCS3(); } The main class of that swf will end up in 'bar' if you do this: private function callit():void { var bar:MovieClip = Loader(DisplayObjectContainer(foo).getChildAt(0)).content; } Might be worth filing a bug requesting a more friendly way of getting there. -Alex ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Arindam Dhar Sent: Friday, October 12, 2007 3:48 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] access to variables of embedded swf Hi, If I load a swf file(published for FP9,AS3) using SWFLoader , i can acccess its variables from my flex application. Does it hold true if I embed the swf in my application ? So far, I could not access the variables of the embedded swf. Anyone can kindly explain this? --- Arindam ________________________________ Save all your chat conversations. Find them online. <http://in.rd.yahoo.com/tagline_webmessenger_3/*http:/in.messenger.yahoo .com/webmessengerpromo.php>