Open miltontaylor-panotek opened 1 year ago
You're welcome to try to modify the .jsfl files to ensure that they don't modify the document:
It's been a long time since I worked on the Animate feature, but I think the idea was that you would launch Animate's debugger instead of VSCode's. Basically, you'd use VSCode as your editor for .as files, but everything else would go through Animate, including run/debug.
That being said, it should still be possible to debug in VSCode with a .swf file built in Animate. It sounds like it is launching the .swf file directly. This requires the standalone Flash Player projector executable. While Adobe doesn't have a dedicated download page for this, if you know the URL of the .exe or .app, you can get it.
If you're actually building an Adobe AIR app, you need to add your AIR application descriptor XML file to your asconfig.json file. Then, the debugger will know to launch with AIR instead of Flash Player.
Again, it's been a long time. However, I think you can define the properties on your class, like public var example:Example;
, and Animate will use your existing properties.
1, Yes that worked! Just had to had fl.quit(false) in the postBuild function.
A few little issues with building via Animate: