Copy link to clipboard
Copied
We have a heavily graphical legacy desktop Flash AS2 application that we need to rebuild in Animate, but in all the research I've done so far, I'm not sure if it's achievable with the architecture allowable in Animate and AS3.
The app has a home/landing page that is essentially used as a container to load and switch children swf files (MovieClipLoader with onLoadInit listener) as well as a data XML that is used by all children for content and menus. All movies are single frame controlled with AS2 script. This home page has 5 layers, the background layer, 2 x dynamic 'container' layers, the top layer (for heading and menu), and actions layer. The child movies are dynamically loaded by the landing page into the dynamic 'container' layers, and once loaded, the children movies call functions within landing page, referred to by _level0, which is no longer available in AS3 (and root refers to the base class of the SWF's DisplayObject). From a user perspective, the app goes 4-5 pages deep, but in actual fact, it's all done in the landing page. The 2 x dynamic layers allowed us to dynamically load the next page as the current page transitioned out creating a seemless visual experience. Due to having a large amount of different types of child pages, this architecture was greatly beneficial to be able to fix or update, and remotely upload individual child swf files instead of having to upload an entire application.
I hope that makes sense, and assuming that I've given enough information (I tried not to ramble on), the question is, would this architecture be achievable in Animate and AS3? If so, could I please be directed to a tutorial of such functionality?
Many thanks in advance, Max.
Copy link to clipboard
Copied
in the future, to find the best place to post your message, use the list here, https://community.adobe.com/
p.s. i don't think the adobe website, and forums in particular, are easy to navigate, so don't spend a lot of time searching that forum list. do your best and we'll move the post (like this one has already been moved) if it helps you get responses.
<"moved from using the community">
Copy link to clipboard
Copied
Thank you. I'm not sure where I'm supposed to comment in the community, I thought that I did post it in Animate discussion forum.
Copy link to clipboard
Copied
anything done in as2 can be done with as3
Copy link to clipboard
Copied
Ok, thanks, I'll keep researching.
Copy link to clipboard
Copied
you'll want to break the many tasks done in your as2 app into chunks and find out how to accomplish each task in as3.
that's easy to research and get help (here), one task at a time.
Copy link to clipboard
Copied
Not a direct answer to your question, but I've had some luck asing ChatGPT to rewrite AS2 code to AS3 with pretty good success, maybe give that a shot and see what it gives you!
Copy link to clipboard
Copied
I would skip AS3 and Just rewrite it in Javascript.