Looping video in Flash!?

Hey guys,

I am struggling to get a streamed video (FLV) to automatically loop? I have attached the following code to the video component:


on(complete) {
   trace("hit");
   this.autoRewind = true;
   this.play();
}

This doesn’t seem to work? “hit” isn’t ever popping up, which tells me on(complete) is the wrong event handler? Can someone please help me? :slight_smile:

Thanks.