Skip to main content
mdukeman1
Participant
Apr 24, 2018 5:34 PM UTC
Answered

animate lagging when testing in html5

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 is closed to new replies. Start a new post to keep the conversation going.
    Preran
    PreranCorrect answer
    Legend
    Apr 26, 2018 5:56 PM UTC

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

    Thanks,

    Preran

    3 replies

    Legend
    Apr 24, 2018 6:58 PM UTC

    Put an alert statement in your button event handler code.

    Observe.

    Translate
    mdukeman1
    mdukeman1Author
    Participant
    Apr 25, 2018 1:17 PM UTC

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

    Translate
    Preran
    PreranCorrect answer
    Legend
    Apr 26, 2018 5:56 PM UTC

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

    Thanks,

    Preran

    Translate