Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

press SPACEBAR or ENTER to activate...

press SPACEBAR or ENTER to activate...

press SPACEBAR or ENTER to activate...

Is there a workaround that will allow me to have my director app display in browser/via web WITHOUT the annoying browser / activex message: "press SPACEBAR or ENTER to activate and use this control"...

I see a few that seem to work with FLASH movies, but my tests dont work with my .DIR movie playing in IE.

- A

RE: press SPACEBAR or ENTER to activate...

You need to embed your dcr using an external javascript file. Here's how to do it.

Save this file as "insertdcr.js":

Adjust your html source code so it looks like this (which includes the .js file, then calls the 'insertdcr' function):

Then upload both your html source, and the .js file, along with your dcr.

In the example above, my file is called 'game.dcr'. Change the name to the name of your dcr file. Of course if you want to use extra parameters such as sw1 or alternate stretch values, you'll need to edit those in the .js code. This is just a very simple version.

You can see it working here:

(should be no activex warning!)

hope this helps!

- Ben

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close