[Flashcoders] sync flv with swf

2007-04-04 Thread Ellen Sundh
Hi! I have an identical movie in a swf file and as a flv. They loaddifferently but I was wondering if there is a way to match the frames so that the flv goes to the same frame in the movie as the swf? The only option I can think is doing it by hand, frame by frame. Are there any other solutio

Re: [Flashcoders] sync flv with swf

2007-04-04 Thread robert
Im just guessing but how about getting a percentage played of the swf using currentframe and totalframes, then using that number to target the matching playhead position in the flv. On Apr 4, 2007, at 6:02 AM, Ellen Sundh wrote: Hi! I have an identical movie in a swf file and as a flv. Th

Re: [Flashcoders] sync flv with swf

2007-04-04 Thread Johannes Nel
mail me offlist. i have a library in as3 and as2 which does this. On 4/4/07, robert <[EMAIL PROTECTED]> wrote: Im just guessing but how about getting a percentage played of the swf using currentframe and totalframes, then using that number to target the matching playhead position in the flv.

Re: [Flashcoders] sync flv with swf

2007-04-04 Thread leolea
If they both have the same duration, then you can use the percentage from the SWF and apply it to the FLV... var swfPercent:Number = swfmc._currentframe / swfmc._totalframes; flvNetStream.seek(flvDuration * swfPercent); Should work. On 4/4/07 1:42 PM, "robert" <[EMAIL PROTECTED]> wrote: > I