-
Problem playing flv
Hi Friends,
I was trying to make a custom video player. I inserted an embeded video from library (i m using flash mx 2004 pro). then i aded a new layer for actions and ad the following code in the first frame of actions layer
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);
ns.play("test.flv");
where "theVideo" is the instance name of embeded video and "test.flv" is the flv file which is in the same directory.
my problem is when i click on test movie, it displays nothing. i even tried to publish the flash document but i can't see the movie even in the html file.
I need healp desperately. my whole development is stuck due to this problem. help me guys...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|