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

Strip Timeline from compiled swf

Advocate ,
May 20, 2014 May 20, 2014

Copy link to clipboard

Copied

Hello,

I am using a shared .fla file for my games with similar design and shared modules (lobby, etc.). To only export those classes that I need per game, I disabled "export to first frame" in the game specific definitions and instead add them to the timeline.

Now it seems that adding stuff to the timeline causes performance impact, even if you call gotoAndStop() on loading. So I was wondering, is it possible to remove all timeline definitions after the swf is compiled, so that I end up with a swf that contains only the class definitions, so that I can later load them through getDefinitionByName()

TOPICS
Development

Views

201

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