Flash Lite [ 3 ] tellTarget( )
Flash Lite only upport the MovieClip's instance name,
if you would like to change the property or use the variable inside,
and you can use the " _root.NAME ",
but if you would like to control the playhead,
and you need to use "tellTarget("/NAME" )".
For example, if you would like to control a MovieClip which is called "menu" jump to the frame 2, you have to write,
tellTarget("/menu"){
gotoAndStop(2);
}
If you would like to change variable inside this MovieClip, and you can write,
_root.menu.n=43;
if you would like to change the property or use the variable inside,
and you can use the " _root.NAME ",
but if you would like to control the playhead,
and you need to use "tellTarget("/NAME" )".
For example, if you would like to control a MovieClip which is called "menu" jump to the frame 2, you have to write,
tellTarget("/menu"){
gotoAndStop(2);
}
If you would like to change variable inside this MovieClip, and you can write,
_root.menu.n=43;


0 Comments:
Post a Comment
<< Home