flash function help
flash function help
Out of context: Reply #12
- Started
- Last post
- 12 Responses
- cram0
what system-idle said.
main timeline:
myfunc = function(){
//do stuff;
}in button timeline:
btn.onPress = function(){
_parent.myfunc();
}that way all you are doing is triggering the function inside the button. you still keep the code that would likely need editing/debugging all in the same place.
good luck