# Playlist with CASE

**URL:** https://forum.kirupa.com/t/playlist-with-case/311068
**Category:** flash
**Created:** [June 26, 2010, 9:48pm UTC](https://forum.kirupa.com/t/playlist-with-case/311068 "2010-06-26T21:48:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Kajolas](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@Kajolas](https://forum.kirupa.com/u/Kajolas)
#### Post date: [June 26, 2010, 9:48pm UTC](https://forum.kirupa.com/t/playlist-with-case/311068/1 "2010-06-26T21:48:13Z")

</div>

I have a case with my flv movies and i wanted then to play in that order but when i finish the first play, he doest go to next case

import fl.video.VideoEvent;  
var video:Video = new Video();

video.attachNetStream(ns);

addChild(video);

video.width = 700;  
video.height = 600;

var decisao:int = 0;  
continuar(null);  
var nivel:int = 0;

video\_flv.addEventListener(VideoEvent.COMPLETE, continuar);

function continuar(e:VideoEvent):void  
{  
switch (nivel)  
{  
case 0 :  
video\_flv.play(“C1V1C.f4v”);  
break;  
case 1 :  
video\_flv.play(“C1V2C.f4v”);  
break;  
case 2 :  
video\_flv.play(“C1V3C.f4v”);  
break;  
}  
nivel++;  
}

trace(nivel);

**Many thanks !**
