I found some code for a popping balloon.
It has one balloon on the stage with instance name “baloon” and the code in the action frame is this:
onMouseDown= function () {
mx=_xmouse;
my=_ymouse;
if (balloon.hitTest(mx, my)) {
balloon.play();
}
}
I want to add more balloons to the stage. When i do - how do i change the actionscript to accommodate the extra balloons? I assume i need to give them each unique instance names too?
thanks!