Dont know if this will work , but worth a try

var totalPlayTime = 100; //seconds
myMovieComponent.play(totalPlayTime) ;

this.onEnterFrame = function (){
if (totalPlayTime > 0){
   myMovieComponent.play(totalPlayTime --) ;
   myMovieComponent.pause();
}else{
   delete this.onEnterFrame ;
}
}

cheers
Thimon



----- Original Message ----- From: "Kerem Gülensoy" <[EMAIL PROTECTED]>
To: "'Flashcoders mailing list'" <[email protected]>
Sent: Wednesday, December 21, 2005 4:30 PM
Subject: AW: [Flashcoders] reverse play FLV?


did you try rendering the flv with more keyframes ? works fine for me...

cheers,
kerem

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Bart
Wttewaall
Gesendet: Mittwoch, 21. Dezember 2005 15:58
An: Flashcoders mailing list
Betreff: Re: [Flashcoders] reverse play FLV?

You can't play an flv backwards because of the way it is encoded. A video
consists of sequencial compressed images. If you jump to a frame, the
decoder has to collect an I-frame (a complete image) and walk through
B-frames (partial images containing only changed eareas) to accumulate
frames until it has reached your selected frame.
Understandably, that requires some performance.

If you'd like to play in reverse you'll have 2 options: create another flv
from reverse footage and play that one instead, or create an image sequence
of loose images and put them in a mc. Now you can build controls that play
through the mc (or swf) in any direction or speed you wish.

Bart

2005/12/21, Dechesne, Elvin <[EMAIL PROTECTED]>:
Hi there,

I have an issue regarding playing FLV embedded on the timeline in
reverse order. Im using a simple script to check if the playhead has
reached the end of the video and then reverse plays it. However, this
seems to choke the player, my guess is the codec can't cope with this.
Processor performance leaps from 10% to a staggering 70-80%. Is there
a workaround for this, or should I simply abandon the idea to use this
method?

Many thanks for any advice,

Elvin Dechesne
satama interactive
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to