flash help / conversion
flash help / conversion
Out of context: Reply #3
- Started
- Last post
- 5 Responses
- unfittoprint0
First, use a movieclip instead of a button.
You can turn your buttonMC into a component [right click on the library item - component], create a variable for it called [for example] ID.
Place them and using the properties inspector, give those instances the ID number [1,2,3, etc...]
Inside the symbol you can put some action like:
this.onPress = function(){
_root.active = this["btn"+ID];
}