Skip to main content
eliw12510111
Participating Frequently
February 19, 2018
Answered

HTML5 Canvas, Simple Stuff not working

  • February 19, 2018
  • 1 reply
  • 381 views

Hi everyone,

I'm currently creating a simply banner ad in html 5 canvas using the action panel to create code rather then linking an action script class like I'm used to.

I have several sahpe tweens nested in a movie clip. The object have a this.stop() command at their last frame, but instead skip the last frame and dissapear.

Also I have a button I'm using and it's flashing through its up down hit and hover frames with no pointer going near it.

Thanks ahead of time for any help.

    This topic has been closed for replies.
    Correct answer JoãoCésar17023019

    Hi.

    The this.stop() method should work. Please make sure you don't have any other errors in your document by calling your browser's console.

    And is your button really a Button symbol or a Movie Clip symbol working as a button?

    Because if your button is in fact a Movie Clip, you need to add the this.stop() at the first frame to stop the timeline at frame 0.

    1 reply

    JoãoCésar17023019
    Community Expert
    JoãoCésar17023019Community ExpertCorrect answer
    Community Expert
    February 19, 2018

    Hi.

    The this.stop() method should work. Please make sure you don't have any other errors in your document by calling your browser's console.

    And is your button really a Button symbol or a Movie Clip symbol working as a button?

    Because if your button is in fact a Movie Clip, you need to add the this.stop() at the first frame to stop the timeline at frame 0.

    eliw12510111
    Participating Frequently
    February 21, 2018

    I'm not getting any errors from my browser console. It is indeed a button.