# Cannot play FLV file from FMS2

**URL:** <https://forum.kirupa.com/t/cannot-play-flv-file-from-fms2/209040>\
**Category:** flash\
**Created:** [December 5, 2006, 1:21pm UTC](https://forum.kirupa.com/t/cannot-play-flv-file-from-fms2/209040 "2006-12-05T13:21:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![icanpee4hours](https://avatars.discourse-cdn.com/v4/letter/i/54ee81/32.png) [@icanpee4hours](https://forum.kirupa.com/u/icanpee4hours)\
**Post date:** [December 5, 2006, 1:21pm UTC](https://forum.kirupa.com/t/cannot-play-flv-file-from-fms2/209040/1 "2006-12-05T13:21:09Z")

</div>

Hi there!  
Well I am going nuts with this issue!  
I am using Flash Media Server 2 on a Web Server.  
I have the following folder structure on the FMS for my application.  
aplications/casino/casino.flv  
aplications/casino/casino.asc  
also:  
aplications/casino/_definst_/casino.flv  
aplications/casino/_definst_/casino.asc  
the \*.asc files are empty.  
I haven’t made any other configuration on the FMS.  
Now, I am trying to play the flv file using the following script:

var nc:NetConnection = new NetConnection();  
nc.connect(“rtmp://xxx.xxx.43.66/casino/_definst_”); //xxx symbols are used for security  
nc.onStatus = function(infoObject:Object) {  
if (infoObject.code==“NetConnection.Connect.Success”){  
var ns:NetStream = new NetStream(nc);  
myVideo.attachVideo(ns);  
ns.play(“casino.flv”);  
}  
};  
the connection never fails but the video stream doesn’t start  
What am I doing wrong?  
Best Regards,  
Olie
