PDA

View Full Version : accessing children of movieclips with getChildByName


mrnagrom
05-14-2008, 10:57 PM
ok. so i'm trying to access a movieclip inside of a movieclip and adjust it's opacity.

ie:


getChildByName("blah").information.alpha = 0.50;


i just get an "access of possibly undefined property information through a reference with static type flash.display:DisplayObject"

it works just fine when i do it directly

blah.information.alpha = 0.50;

i'm confused.