Actionscript variable grouping
Actionscript variable grouping
Out of context: Reply #7
- Started
- Last post
- 8 Responses
- forbes0
var optionOne: Array = new Array[defaultHover, psychoGiraffe, ratMobile]
var optionTwo:Array = new Array[blah psychoblah, ratblah];if(optionOne == true) {
speechBubble.gotoAndStop(1);
}if(optionTwo == true) {
speechBubble.gotoAndStop(1);
}or something along those lines anyway. group your assets into arrays. that'll cut your code down.