Ok, im just making the switch over to AS3.
ive tried to search, but can’t find the results (im not even sure what this is called)
how do i convert the following into AS3? Specifically the main[“b” + i]. My buttons are called b1, b2, b3 etc, and i could loop an action to them in AS2 by using the following loop. Doesn’t seem to work now.
thanks!
[AS]
var main:MovieClip = this
var i:int;
for (i=1; i<=8; i++)
{
main[“b” + i].addEventListener (MouseEvent.MOUSE_DOWN, bRelease);
}
[/AS]