Quantcast
Channel: Adobe Community : All Content - Adobe Animate CC - General
Viewing all articles
Browse latest Browse all 13519

Looping FLV stutters.

$
0
0

Hi All,

I'm experiencing a frustrating issue. Any help would be greatly appreciated:

 

I am looping a FLV (with Alpha) in a SWF. The FLV is an animation created in After Effects. In After Effects the animation was created to loop seemlessly (no jerk or stutter...a smooth repetitive cycle), however, when I loop it with the SWF, it stops for a split second at the end of its 8 second run before it starts over again. How can I make it loop smoothly without that stutter when it begins again?

 

I'm using Flash CS5.5. I export the flv from After effects and link that from the swf. Here's the Actionscript3 code I'm using to play and loop the flv:

import fl.video.*;

//Video component instance name
var flvControl:FLVPlayback = display;
var flvSource:String = "loopingFlv.flv";

//Loop the video when it completes
function completeHandler(e:fl.video.VideoEvent):void
{
flvControl.seek(0);
flvControl.play()
}
flvControl.addEventListener(fl.video.VideoEvent.COMPLETE, completeHandler);

//Set video
flvControl.source = flvSource;

Here is the short animation for you to see:

http://home.comcast.net/~samiri/director/mortals/froggy/loopingFlv.swf

-you can see the stutter every 8 seconds. (I'd also like it to start moving upon load...without that initial pause...but maybe that's too much to ask.)

 

Thanks for the help!


Viewing all articles
Browse latest Browse all 13519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>