Hi all,

 

I’m in an AS3 project and I have a class that makes use of the embed tag

package {

            import flash.display.*;

            [Embed (source='../../../assets/Library.swf', symbol='Login')]

            public class Login extends Sprite

            {                      

                        public function Login() {}

            }

}

 

In my main as file I just call the Login constructor, then addChild() and I’m away.

 

The source of the Embed is a Flash8 swf and the symbol contains a child mc with an instance name of create_mc.

How can I reference the create_mc instance within the Login Class?

 

Thanks

 

Bjorn Schultheiss
Senior Flash Developer

QDC

Personalised Communication Power

W:  http://www.qdc.net.au

 

((------------This transmission is confidential and intended solely for the person or organization to whom it is addressed. It may contain privileged and confidential information. If you are not the intended recipient, you should not copy, distribute or take any action in reliance on it. If you believe you received this transmission in error, please notify the sender.---------------))

 



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to