Return to Starling Playback Library

Can't find FrameLabel

Questions related to Starling playback library should be asked here.

Can't find FrameLabel

Postby dvrbear » November 12th, 2014, 11:54 pm

I make 1 in 1 like example flash
ROOT have 1 MovieClip with all animation inside.
Inside MC i have FrameLabels
One of them is "hold" on 68 frame.

Code: Select all
var timeline: GAFTimeline = (event.target as ZipToGAFAssetConverter).gafTimeline;
        mc = new GAFMovieClip(timeline);


Works:
Code: Select all
mc.gotoAndPlay(68);


Not works (and jump on first frame):
Code: Select all
mc.gotoAndPlay("hold");


What may be wrong?
User avatar
dvrbear
 
Posts: 26
Joined: October 20th, 2014, 1:42 am

Re: Can't find FrameLabel

Postby vadym.mitin » November 13th, 2014, 12:47 am

Hi,

GAF Converter reads frame labels only from root timeline and skip frame labels from all nested timelines. This happens because during the conversion animations are merged into a single time line. So you can choose one of the two ways:
1) move all frame labels into root timeline
2) or export for Action Script (create linkage) your MovieClip with frame labels and animation inside and in GAF Converter Settings Dialog set Conversion source to "Library (MovieClips exported for ActionScript)". This feature is available only for Studio and Enterprise licenses.
User avatar
vadym.mitin
 
Posts: 254
Joined: December 4th, 2013, 8:00 am

Return to Starling Playback Library

Who is online

Users browsing this forum: No registered users and 3 guests