• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 840
  • Last Modified:

Director MX 2004 with ActiveX Windows Media Player

I am creating a CD-ROM with some text and a few mpeg 1 videos.
Due to economic reasons, I did not purchase any mpeg Xtras that are available,
but used the ActiveX Windows Media Player option instead.

I had specified the files that I needed in 'Filename or URL' field of the 'custom' tab.
After I published my file as a projector (.exe), it plays fine on the PC I created the file on.
But when I cut the files to a CD and played it on another system, the Media Player ActiveX control could not detect the video files.

I suspect the ActiveX controls are detecting the filenames of the videos as absolute links.
Are there any solutions for this problem?

Please help.
  • 2
  • 2
1 Solution
You can reset this at runtime.  Set it to be blank initially, then at runtime set the filename/url field of the sprite using hte moviePath

sprite(1).filename = the moviePath & "media\video.mpg"
WwysdomAuthor Commented:
This is the first time I'm using Director in 6 years.
I'd appreciate it if you could provide more details on the exact steps needed to do this.
The simple "hard coded" approach woudl be...

PLace this behavior on the sprite...

property spriteNum

on beginSprite me
  sprite(spriteNum).filename = the moviePath & "path\to\video.mpg"
WwysdomAuthor Commented:
Hi, the problem has been solved, although I didn't need to hardcode it.
I just had to change the filename in the activex control to only the folder that contained the videos instead of the full path.

Thanks anyway.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now