Copy link to clipboard
Copied
Dear Friends,
iam creating HTML5 canvas with animate CC for an elearning course. Whein i press ctrl+Enter its working fine and shows the out put and in address bar it come as below:
http:// 127.0.0.1:8090/file1.html?3218.
After close the browser and run by double click from my computer location (F:\test\file1.html) it not working.
i want to complete this and send to one of my friend to view, its not working outside the compile. pls help me to run indvidually in browser to view my friends.
Note: in this project i have used tweening, masking and image inserted.
Thanks in Advance
Syed Abdul Rahim
Copy link to clipboard
Copied
Hi.
This is a security restriction that applies to any web content. This is not something specific to Animate.
Most websites cannot run offline without a local server.
So you're gonna have to setup one using Brackets, VS Code (using Live Server), or a software like XAMPP.
The Phaser documentation has an excellent explanation about this:
https://phaser.io/tutorials/getting-started-phaser3
Regards,
JC