Director MX 2004 with ActiveX Windows Media Player

Posted on 2005-05-10
Last Modified: 2013-12-24
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.
Question by:Wwysdom
    LVL 20

    Expert Comment

    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"
    LVL 4

    Author Comment

    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.
    LVL 20

    Accepted Solution

    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"
    LVL 4

    Author Comment

    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.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
    When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure ( It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
    The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following:…
    The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now