Skip to main content
Participant
March 23, 2018
Answered

Les numéros d’images dans EaselJS commencent à 0 au lieu de 1. Par exemple, ceci affecte les appels gotoAndStop et gotoAndPlay.

  • March 23, 2018
  • 2 replies
  • 1833 views

Bonjour,

Lorsque je publie une animation, même vide, en JavaScript/HTML, j'obtiens cet avertissement : "Les numéros d’images dans EaselJS commencent à 0 au lieu de 1. Par exemple, ceci affecte les appels gotoAndStop et gotoAndPlay.".

Que faut-il faire ?

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

    Nothing.

    It's just warning you that in HTML5 (Canvas) documents, frames start from 0 instead of 1

    So even if the in the IDE the first frame is 1, if you need to code something, you'll have to reference the first frame as 0, the second as 1, and so on.

    This warning will always pop up.

    2 replies

    JDP31Author
    Participant
    March 23, 2018

    Thnak you!

    JoãoCésar17023019
    Community Expert
    Community Expert
    March 23, 2018

    You're welcome!

    JoãoCésar17023019
    Community Expert
    JoãoCésar17023019Community ExpertCorrect answer
    Community Expert
    March 23, 2018

    Nothing.

    It's just warning you that in HTML5 (Canvas) documents, frames start from 0 instead of 1

    So even if the in the IDE the first frame is 1, if you need to code something, you'll have to reference the first frame as 0, the second as 1, and so on.

    This warning will always pop up.