I got it:

(parentName.getChildAt(j) as MovieClip).variableName



________________________________________
From: Lehr, Theodore
Sent: Friday, September 24, 2010 2:02 PM
To: Flash Coders List
Subject: accessing variable

I am accessing a mc via:

for (....) {
     parentName.getChildAt(j);
}

I would like to read a variable in this mc, like:

parentName.getChildAt(j).variableName;

but it does not work - how would I go about that?
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to