I think it's because Flash thinks your trying to refer to a member variable
of your class (which hasnt been declared)

If you put like:

class linker extends MovieClip {

       var theClip:MovieClip;

       function linker() {
               trace(theClip);
       }
}


It shouldn't give you an error, and I think it should work.

If anyone knows a better solution for this problem please say so!

-s


On 8/11/06, Mendelsohn, Michael <[EMAIL PROTECTED]> wrote:

Hi list...

I'm trying to access a mc within a mc in my class as follows:

class linker extends MovieClip {
        function linker() {
                trace(theClip);
        }
}

The linker clip is on the stage, and there's a mc within it called
theClip.  I get the error "There is no property with the name
'theClip'."  What am I missing to access it?

Thanks,
- MM

_______________________________________________
[email protected]
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

_______________________________________________
[email protected]
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

Reply via email to