Author Topic: Scripts  (Read 5066 times)

  • Administrator
  • Sr. Member
  • *****
  • Posts: 407
    • View Profile
Re: Scripts
« on: December 30, 2019, 11:09:58 am »
Yes, that's how I've been doing that lately. The two function, one for each event, is the way how Crow did it and how I've been doing that when I was learning Flash.
You can find much more mess in Crow's files, like two functions for the same event, each holding part of the action code, or action broken into 3 functions performed on 3 different events: on mouse over, on press and on release. Which could end up in a mess if player presses mouse outside the button, move cursor over button and releases mouse button.