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

Techniques for linking AS files with Main Timeline code

New Here ,
May 24, 2017 May 24, 2017

Copy link to clipboard

Copied

Our project was initially created in Flash Professional (FLA file (containing code in Timeline) and AS files).

Now for testing (unit testing) the AS files, we have moved to Flash Builder and using Flex Unit Test for generating the tests (also using Code Coverage Plugin to check code coverage).

AS files used for testing contains variables and functions which are part of the Main Timeline.

When using in Flash Professional it does not show any error as it AS files link with FLA files (Main Timeline code).

But using in Flash Builder it shows error telling the variables/functions of main timeline are not defined.

Is there any techniques for linking the AS files with Main Timeline Code?

PS: I have tried linking using SWC files and it works, but are there any other techniques with which it does not involve changes to be done in AS code?

Views

179

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