Skip to main content
Participant
February 26, 2021
Question

1120 Error: Flash SWF in Animate

  • February 26, 2021
  • 1 reply
  • 165 views

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.

 

 

    This topic has been closed for replies.

    1 reply

    kglad
    Community Expert
    Community Expert
    February 27, 2021

    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).