Muzak, thanks. If a graphical library linkage element you want to add/attach is in the host .swf library (ie 'Box' class), how you would access it from a sub-loaded .swf without throwing an error? subSWF->addChild(new Box()) --undefined.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: Friday, June 01, 2007 12:01 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Flash C3 and Embedding resources [Embed] is Flex only, because FlexBuilder doesn't have a library, like the Flash IDE has. regards, Muzak ----- Original Message ----- From: "Smith, Philip" <[EMAIL PROTECTED]> To: <flashcoders@chattyfig.figleaf.com> Sent: Friday, June 01, 2007 3:10 AM Subject: [Flashcoders] Flash C3 and Embedding resources Hi there, I was reading this article on embedding resources here: http://www.bit-101.com/blog/?p=853 and wondered if the same, or a similar technique can be achieved when compiling AS3 with the Flash C3 IDE, ie: [Embed(source="graphics.swf", symbol="box")] private var B:Class; public function Constructor() { var square:Sprite = new B(); } I'm getting an error doing this, and was wondering if this possible, or is there another alternative to 'embedding assets/creating com graphical libs' with the Flash C3 IDE? Thanks, Phil _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com