Using external video files in MX 2004

I have a project that will need to incorporate several video files. From what I've read (and seen), MX 2004 handles video pretty well.

However, I'm having trouble designating local external files to play. I pulled some code from the Flash help files. Here's the sample code I'm using:

// Create a NetConnection object:
var netConn:NetConnection = new NetConnection();
// Create a local streaming connection:
// Create a NetStream object and define an onStatus() function:
var netStream:NetStream = new NetStream(netConn);
netStream.onStatus = function(infoObject) {
      videoStatus.text += "Status (NetStream)"+newline;
      videoStatus.text += "Level: "+infoObject.level+newline;
      videoStatus.text += "Code: "+infoObject.code+newline;
// Attach the NetStream video feed to the Video object:
// Set the buffer time:
// Being playing the FLV file:"002Interface.flv");

If I upload the video file (002Interface.flv) to my website and change the last line to:"") works fine. I've also tried adding "file://" before the file name, but this doesn't work either. I get error messages in my "videoStatus" text box. I am publishing to version 7, so that's not the issue. According to the help files, this should work.

Any ideas? Help would be appreciated ASAP.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

(file://  works locally, and using: "file://002Interface.flv" or "002Interface.flv" alone it's actually the same thing)

If you use:


the 002Interface.flv clip should stay in the same folder where the swf lies.
If you use:


it means that the clip is in the "folder" folder, nested in the same folder where the swf file lies.
jtlyonsdenAuthor Commented:
Yep. It still doesn't work.

I have one folder that contains the SWF, FLA, and FLV files. The FLA file contains nothing but the blank video object ("my_video"), the textarea ("videoStatus"), and the code I included above - all in a single frame. I created this exactly the way the Flash help file describes.

Does this work on your end?
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

jtlyonsdenAuthor Commented:

I know this is supposed to work, but I'm still not seeing any video. I have the right Player and the right version of Flash. And it works if the movie comes over the Net.

If I publish the movie as a projector, I can see the top video. The other still says "StreamNotFound".

Looks like it's time to call Macromedia support, unless you have any idea this would work on your system and not mine.
It does not work in the authoring ambient too (i mean in test mode)?
jtlyonsdenAuthor Commented:
It doesn't work in test mode or in the Player.
jtlyonsdenAuthor Commented:
I figured it out. I have a "/" in the name of one of my folders. As soon as I removed it, it worked.

As soon as I finish banging my head against the wall, I'll continue this project...
"/" ? You are not using windows, are you?
jtlyonsdenAuthor Commented:
Nope. Mac OS X.

>>I figured it out. I have a "/" in the name of one of my folders. As soon as I removed it, it
>>worked. As soon as I finish banging my head against the wall, I'll continue this project...

Is your problem solved?

jtlyonsdenAuthor Commented:
I solved the problem myself. Close the question.
PAQed, with points refunded (500)

E-E Admin

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.