Copy link to clipboard
Copied
Since Flash has been phased out, I need to create swf files in Animate. The code ebedded into the action frame is necessary for this file to run on the intended device. But Animate says "_root" is an undefined property. How can I keep this code embedded without errors? I know the better solution is to create a different file type since Flash has been phased out, and I will eventually do that, but I need an immediate solution. The device is playing outdated artwork and I need an udpated swf ASAP.
Copy link to clipboard
Copied
there's not _root in as3, but you can use root or more safely, assuming the main timeline/document class is a movieclip, MovieClip(root).