Return to Starling Playback Library

GAF convert movieclip to GAFImage or GAFMovieClip

Questions related to Starling playback library should be asked here.

GAF convert movieclip to GAFImage or GAFMovieClip

Postby Lê Huy Hùng » September 24th, 2015, 8:45 pm

I don't understand way GAF convert movie clip to GAFImage or GAFMovieClip, do you explain this. When do GAF convert movieclip to GAFImage, i see in almost cases, GAF convert movieclip to GAFMovieClip.
User avatar
Lê Huy Hùng
 
Posts: 61
Joined: July 3rd, 2015, 8:32 pm

Re: GAF convert movieclip to GAFImage or GAFMovieClip

Postby vadym.mitin » September 25th, 2015, 6:05 am

GAF Converter creates a GAFImage when both conditions takes place:
- Movie Clip contains only Shapes and Graphics/Movie Clips without animation inside (one frame only). This rule applied to all nested children;
- Movie Clip doesn't contain Movie Clips with Instance Name.

In all other cases GAF Converter creates GAFMovieClip.

Also a structure of the nested timelines may be different from a original one in FLA file. GAF Converter can optimize it in order to decrease the number of Timelines, that needs to be initialized in order to show an images. But you have a full control over that optimization. Just give a Instance Name to the all Movie Clips, that you want to access in runtime, and GAF Converter saves a structure of the original FLA file for that set of the Movie Clips.

Please note: when a part of an animation, that you want to access in runtime, is nested in another Movie Clip - you need to give an instance name to all parent instances up to Main Timeline. When your animation is located in Movie Clip, that is exported for Action Script and you are using conversion source: Library, you need to name all the instances starting from timeline of the exported Movie Clip down to the animation part, that you want to access in runtime.

Hope I explained clear.
User avatar
vadym.mitin
 
Posts: 254
Joined: December 4th, 2013, 8:00 am

Re: GAF convert movieclip to GAFImage or GAFMovieClip

Postby Lê Huy Hùng » September 25th, 2015, 8:33 am

Thank you, I understood :D
User avatar
Lê Huy Hùng
 
Posts: 61
Joined: July 3rd, 2015, 8:32 pm

Re: GAF convert movieclip to GAFImage or GAFMovieClip

Postby Lê Huy Hùng » September 25th, 2015, 9:25 am

I try convert movie clip contains only shapes and have one frame but result of it is GAFMovieClip. After some times try convert, i see if conversion mode of GAF is plain, the result of convert is GAFImage, if conversion mode of GAF is nesting, the result of convert is GAFMovieClip. I want the result of convert always is GAFImage, do you have a solution for me, thank you.

This is my demo
http://www.mediafire.com/download/3f93q ... AF+bug.rar
User avatar
Lê Huy Hùng
 
Posts: 61
Joined: July 3rd, 2015, 8:32 pm

Re: GAF convert movieclip to GAFImage or GAFMovieClip

Postby vadym.mitin » September 26th, 2015, 12:17 am

Please read these articles for more info about conversion mode
http://gafmedia.com/documentation/how-does-the-conversion-work
http://gafmedia.com/documentation/conversion-modes-plain-and-nesting

Also you can find more useful information on our Documentation page
http://gafmedia.com/documentation
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