flash function help

Out of context: Reply #11

  • Started
  • Last post
  • 12 Responses
  • System-Idle0

    I would do it a similar way to mrbee2828 but instead of calling the function on the main timeline I would assign the function to the button using the =

    If yr button functions are the same or yr reusing the same btn this is ideal

    write yr function on the main timeline 'myfunction' etc

    then in the button (when it appears on stage) first frame
    this.onRelease = _parent.myfunction

    or whatever the desired target for the function is

View thread