How to duplicate button with the AS?
i tried dragging them to the stage from the library, but the problem is i have to copy the AS over and over again, because i'm ASing on the main timeline, i have to give instance name to everyone one of them.
is there an easier way to do it?
i'm thinking script it using the linkage name rather than the instance name but i don't know how to do it, but that's just a thought.
feel free to hammer me with other guidance and thanks
i'm trying to duplicate the button without having to type the AS over and over again.
the buttons i needed would be in a wide variety of positions and i wish i would be able to drag them on stage manually without retyping the AS over and over again, can you guys help me out on this?
the buttons i needed would be in a wide variety of positions and i wish i would be able to drag them on stage manually, can you guys help me out on this? it would be cool if someone would be able to teach the them loops once and for all :ex:
i'll try to play with the code you gave me but i'll check back this thread now and then, please help out !!!
var myBtn = this.attachMovie("btn", "btn"+i, this.getNextHighestDepth());
myBtn._x = 100;
myBtn._y = 100 + (myBtn._height + 2) * i;
}
#If you have any other info about this subject , Please add it free.# |

