Class 'linker' is not dynamic. This means that unless you add something like

private var theClip:MovieClip;

(or:

dynamic class linker extends MovieClip)

to your class definition, you can't reference it within the class.


> 
> From: "Mendelsohn, Michael" <[EMAIL PROTECTED]>
> Date: 2006/08/11 Fri AM 08:47:08 CDT
> To: "Flashcoders mailing list" <[email protected]>
> Subject: [Flashcoders] Can't access mc
> 
> 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
> 

--
John Mark Hawley
The Nilbog Group
773.968.4980 (cell)

_______________________________________________
[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