hi guyz…I’m really2 new in action scripting
I got problem to duplicate my movieClip…can anybody help me??
I got the script here
trace("rotation of branch = “+ branch_mc._rotation);
trace(”_x pos of branch = “+ branch_mc._x);
trace(”_y pos of branch = "+ branch_mc._y);
rotation = branch_mc._rotation*Math.PI/180;
height = 100;
x = height * Math.sin(rotation);
y = height * Math.cos(rotation);
this.attachMovie(“branch”, “branch1_mc”, 1);
branch1_mc._y = branch_mc._y - y;
branch1_mc._x = branch_mc._x + x;
I already duplicate the branch 1 time, but when I apply this script
this.attachMovie(“branch”, “branch2_mc”, 1);
branch2_mc._y = branch1_mc._y - y;
branch2_mc._x = branch1_mc._x + x;
to make the 3rd branch…it doesnt work
can anybody help me?? thanks guyzzz