Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
Mar 23, 2018 Mar 23, 2018

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 ?

1.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 23, 2018 Mar 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.

Translate
Community Expert ,
Mar 23, 2018 Mar 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 23, 2018 Mar 23, 2018

Thnak you!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 23, 2018 Mar 23, 2018
LATEST

You're welcome!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines