tobycraftse
June 4th, 2008, 09:05 PM
I defined some button using flash timeline like follows:
http://www.oniva.com/upload/1356/bu3.jpg
I have a actionscript function that will call that button's onRelease() function
===================
var buttons:Array = new Array("Button 99", "but2", "but3", "but4");
function fireButton() {
this[buttons[selected_button_index]].onRelease();
}
===================
but after fireButton() function is called, the button is not clicked for some reason, any thing wrong the code?
http://www.oniva.com/upload/1356/bu3.jpg
I have a actionscript function that will call that button's onRelease() function
===================
var buttons:Array = new Array("Button 99", "but2", "but3", "but4");
function fireButton() {
this[buttons[selected_button_index]].onRelease();
}
===================
but after fireButton() function is called, the button is not clicked for some reason, any thing wrong the code?