Return to Starling Playback Library

GAF 5 error when remove

Questions related to Starling playback library should be asked here.

GAF 5 error when remove

Postby Lê Huy Hùng » July 15th, 2015, 12:31 am

When I remove GAFMovieClip, no exception
Code: Select all
this.removeChild(gafMovieClip);
\
but if I dispose GAFMovieClip
Code: Select all
this.removeChild(gafMovieClip, true);

Output show error cause object null, line 828 of GAFMovieClip.as (this._config = null)

Please fix it :D
User avatar
Lê Huy Hùng
 
Posts: 61
Joined: July 3rd, 2015, 8:32 pm

Re: GAF 5 error when remove

Postby Ivan Avdeenko » July 15th, 2015, 1:43 am

Hello,

We tested removeChild function with dispose = true on demo projects from GitHub and can't recreate this issue. Can you send us a simple demo project that we can use to recreate this issue? Maybe the problem appear on specific animation (with masks, filters, or in some specific combination of the used objects). You can send it using Contact Us form here http://gafmedia.com/contact (use Request type: Report issue) or post link to the demo.

Also can you tell the version of Starling that you are using and conversion settings, that you set in Gaf-Converter?
User avatar
Ivan Avdeenko
 
Posts: 30
Joined: June 6th, 2014, 12:22 am

Re: GAF 5 error when remove

Postby Lê Huy Hùng » July 15th, 2015, 2:21 am

this is my demo. If I don't use addEventListener, call direct removeGAF method, it work fine.

If I use addEventListener, output throw exception :D
Code: Select all
mc.addEventListener(Event.COMPLETE, removeGAF);


I use starling 1.7, gaf convert 5.0, picture of convertion setting in assets folder

http://www.mediafire.com/download/3f93qbko2d7v3pk/GAF+bug.rar
User avatar
Lê Huy Hùng
 
Posts: 61
Joined: July 3rd, 2015, 8:32 pm

Re: GAF 5 error when remove

Postby Ivan Avdeenko » July 15th, 2015, 5:42 am

We found and fixed this problem. You can update from Starling GAF Library GitHub. Thank you for contribution.
User avatar
Ivan Avdeenko
 
Posts: 30
Joined: June 6th, 2014, 12:22 am

Return to Starling Playback Library

Who is online

Users browsing this forum: No registered users and 1 guest