Skip to main content
Participant
March 23, 2018
解決済み

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.
  • 1833 ビュー

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 ?

    このトピックへの返信は締め切られました。
    解決に役立った回答 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

    JDP31作成者
    Participant
    March 23, 2018

    Thnak you!

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

    You're welcome!

    JoãoCésar17023019
    Community Expert
    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.