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.
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
Copy link to clipboard
Copied
do you have code that's supposed to stop it from looping?
Copy link to clipboard
Copied
i used this.stop() at the top
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
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
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
Copy link to clipboard
Copied
no error
and that works but now I have a problem with this
trying to get data from this file
with javascript
Copy link to clipboard
Copied
then mark this as solved and start a new thread with your new problem.
Copy link to clipboard
Copied
okay
Copy link to clipboard
Copied
also, thank you.
Copy link to clipboard
Copied
you're welcome.