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

When i convert my game to html 5 it loops endlessly when i open in browser

New Here ,
May 14, 2023 May 14, 2023

Copy link to clipboard

Copied

When I convert my game to HTML 5 it loops endlessly when I open it in its browser. it displays two warnings. Please let me know how I can fix this.

 

Gabriel26707846dtff_0-1684080800781.png

 

Views

709

Translate

Translate

Report

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 , May 14, 2023 May 14, 2023

you're mixing as3 and javascript.

 

show the developer console after removing that as3 code removed, and just leaving 

 

this.stop();  // on the main timeline 

Votes

Translate

Translate
Community Expert ,
May 14, 2023 May 14, 2023

Copy link to clipboard

Copied

do you have code that's supposed to stop it from looping?

Votes

Translate

Translate

Report

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 ,
May 14, 2023 May 14, 2023

Copy link to clipboard

Copied

i used this.stop() at the top

Votes

Translate

Translate

Report

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 ,
May 14, 2023 May 14, 2023

Copy link to clipboard

Copied

open the test browser's developer console and check for errors.

 

lesson 1 - https://youtu.be/PBDQN9CQSeI

 

lesson 2 - https://youtu.be/KJEl0OenGUY

Votes

Translate

Translate

Report

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 ,
May 14, 2023 May 14, 2023

Copy link to clipboard

Copied

I tried again it does not return any error, just warnings, I also was trying to rewrite it, and now I get this error

Gabriel26707846dtff_0-1684106247213.pngGabriel26707846dtff_1-1684106275829.png

 

Votes

Translate

Translate

Report

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 ,
May 14, 2023 May 14, 2023

Copy link to clipboard

Copied

you're mixing as3 and javascript.

 

show the developer console after removing that as3 code removed, and just leaving 

 

this.stop();  // on the main timeline 

Votes

Translate

Translate

Report

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 ,
May 14, 2023 May 14, 2023

Copy link to clipboard

Copied

no error 

Gabriel26707846dtff_0-1684108309155.png

and that works but now I have a problem with this 

 

Gabriel26707846dtff_1-1684108406601.png

 

trying to get data from this file 

Gabriel26707846dtff_2-1684108460103.png

with javascript

Votes

Translate

Translate

Report

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 ,
May 14, 2023 May 14, 2023

Copy link to clipboard

Copied

then mark this as solved and start a new thread with your new problem.

Votes

Translate

Translate

Report

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 ,
May 14, 2023 May 14, 2023

Copy link to clipboard

Copied

okay

Votes

Translate

Translate

Report

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 ,
May 14, 2023 May 14, 2023

Copy link to clipboard

Copied

also, thank you.

Votes

Translate

Translate

Report

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 ,
May 14, 2023 May 14, 2023

Copy link to clipboard

Copied

LATEST

you're welcome.

Votes

Translate

Translate

Report

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