Highlighted

Strip Timeline from compiled swf

Advocate ,
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

132

Likes

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

Strip Timeline from compiled swf

Advocate ,
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

133

Likes

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
May 20, 2014 0

Have something to add?

Join the conversation