February 2010
M T W T F S S
« Jan   Mar »
1234567
891011121314
15161718192021
22232425262728

Control a nested MovieClip

Problem
You need to control nested MovieClip using as3

Solution
There are two ways to do this: 1. using dot syntax 2. using getChildByName See the examples below.

Detailed explanation

box_mc.tree_mc.alpha=.4;

//box_mc.getChildByName("tree_mc").alpha=.4;

index1

Source:
controlNestedMovieClip

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>