# Continous Flash Video

**URL:** <https://forum.kirupa.com/t/continous-flash-video/170006>\
**Category:** flash\
**Created:** [November 21, 2005, 11:54pm UTC](https://forum.kirupa.com/t/continous-flash-video/170006 "2005-11-21T23:54:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lfbn](https://avatars.discourse-cdn.com/v4/letter/l/ba8739/32.png) [@lfbn](https://forum.kirupa.com/u/lfbn)\
**Post date:** [November 21, 2005, 11:54pm UTC](https://forum.kirupa.com/t/continous-flash-video/170006/1 "2005-11-21T23:54:00Z")

</div>

Hi

Can anyone help me?

I’ve made the tutorial “7. Progressive Flash Video Player Part 2 - Additional component development” on this link:

[http://www.pixel2life.com/twodded/t\_progressive\_flash\_video\_player\_part\_1/](http://www.pixel2life.com/twodded/t_progressive_flash_video_player_part_1/)

and it was great! Congratulations Tiago Dias!

But i need something quite diferent. I want that the videos in XML file play continously without the combo box.

This code works with event change

var movList:Object = new Object ();  
movList.change = function () {  
ns.play (cbMovie.getItemAt (cbMovie.selectedIndex).data);  
pauseButton.\_visible = true;  
playButton.\_visible = false;  
};  
cbMovie.addEventListener (“change”, movList);

I try instead the complete event to go to the next video in the XML, but doesn’t works…

var cmpVideo:Object = new Object ();  
cmpVideo.complete = function () {  
// in here i advance to next video  
}  
myVideo.addEventListener (“complete”, cmpVideo);

myVideo is the name of the instance Video 1 that i created.

thanks in advance anyone!
