New Code.swf [ 176.72 KiB | Viewed 2424 times ]
if(Character == 1)
container.gotoAndStop("Sonya");
else if(Character == 2)
container.gotoAndStop("Beverly");
var characters : Array = new Array("Sonya", "Beverly", etc);
...
container.gotoAndStop(characters[Character]);
Offscreen Assistant.swf [ 231.34 KiB | Viewed 2369 times ]
variable = 1;
onEnterFrame = function () {
square.gotoAndStop(variable);
}
on (release) {
variable += 1;
}
_root.variable = 1;
Users browsing this forum: No registered users