Flash var/Functions
Flash var/Functions
Out of context: Reply #2
- Started
- Last post
- 18 Responses
- UndoUndo0
I dont quite understand. to call a func from a button you need something like this.
_global.myfunction = function(){
// do something
}// _global makes it available anywhere in yr swf
_root.mybutton.onPress = function(){
// call my functionmyfunction();
}