wolfofpavlov Can someone help me on this!
I would like to know how to play gif using GPUGIF in Starling!
assetManager.enqueueSingle("ext_assets/textures/fireworks.gif", "fireworks");
....
var gif:GPUGIF = new GPUGIF();
gif.addEventListener(Event.COMPLETE, function(event:Event):void
{
trace("done", gif.totalFrames);
gif.play();
});
gif.addEventListener(IOErrorEvent.IO_ERROR, function(event:Event):void
{
trace(event.toString());
});
gif.decode(assetManager.getByteArray("avatar"));
addChild(gif);
I am getting error [trace] [Event type="ioError" bubbles=false]