Skip to main content
mdukeman1
Participant
April 24, 2018
Answered

animate lagging when testing in html5

  • April 24, 2018
  • 1 reply
  • 397 views

i'm in the middle of a school project, and i have gotten to the point where my project starts to lag whenever i hit the next button, i'm about 400 frames in and i have no idea what is causing the lag. anybody know?

    This topic has been closed for replies.
    Correct answer Preran

    See actionscript 3 - Adding Event Listeners to Buttons - Stack Overflow for adding event handlers to buttons using AS3

    Thanks,

    Preran

    1 reply

    Legend
    April 24, 2018

    Put an alert statement in your button event handler code.

    Observe.

    mdukeman1
    mdukeman1Author
    Participant
    April 25, 2018

    what do you mean by that? what is an alert statement and how do i put that on my button?

    Preran
    PreranCorrect answer
    Legend
    April 26, 2018

    See actionscript 3 - Adding Event Listeners to Buttons - Stack Overflow for adding event handlers to buttons using AS3

    Thanks,

    Preran