• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How do you create OOP Actionscript 3 packages in Animate CC?

New Here ,
Jan 30, 2017 Jan 30, 2017

Copy link to clipboard

Copied

In Animate CC , if I click New>Actionscript 3 and create an OOP Actionscript 3 package in the Action window, I get an error message : Packages cannot be nested. How can you use OOP in Animate CC?

Views

345

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Jan 30, 2017 Jan 30, 2017

All AS3 package files are external .as files. You would start one by choosing File/New ActionScript 3.0 Class. You give the Class a name, and start typing away.

Back in the FLA you would select the associated symbol in the Library, and click the i button to show the symbol's properties. In there you can show the Advanced settings, and click on the Export for ActionScript box. Once you've done that you can enter in the same Class name you used before, to connect the symbol with its Class file.

Votes

Translate

Translate
LEGEND ,
Jan 30, 2017 Jan 30, 2017

Copy link to clipboard

Copied

LATEST

All AS3 package files are external .as files. You would start one by choosing File/New ActionScript 3.0 Class. You give the Class a name, and start typing away.

Back in the FLA you would select the associated symbol in the Library, and click the i button to show the symbol's properties. In there you can show the Advanced settings, and click on the Export for ActionScript box. Once you've done that you can enter in the same Class name you used before, to connect the symbol with its Class file.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines