Mailing List
Home
Flash Pro
Extending Flash
Flash Macromedia Developer
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
flv rewind

flv rewind

2004-02-25       - By gilles BERTRAND

 Back
Reply:     1     2  

Could some body help me i 'm working on a small flv player for an
elarning app and i don 't understand why

this doesn 't seem to work

my_ns = new NetStream();
netConn = new NetConnection();
netConn.connect(null);
my_ns = new NetStream(netConn);
maVideo.attachVideo(my_ns);
my_ns.onMetaData = function(obj)
{
   trace(obj.duration);
   //trace(obj.videodatarate);
   //trace(obj.audiodatarate);
   fullLength = obj.duration;
};
my_ns.play( "essai.flv ");
function rewind()
{
   my_ns.seek(my_ns.time-1);
}

rw.onPress = function()
{
   rew_int = setInterval(rewind, 100);
};
rw.onRelease = function(){
clearInterval(rew_int);
}

it 'seems to stay at the same place

PS: Sorry for my pour e,glish i 'm from belgium (french);
BERTRAND Gilles


=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:105162
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)