If you have your own tutorials or open source and would like to share your Director knowledge please send them to info@shocksites.com. We will review them, post it and give full credit to the developer.
Current Open Source and Tutorials

Filling the browser with shockwave
Provided by Adam Montandon

Hi I am relatively new at this but managed to make a basic website from director . However when I publish the dir I can't seem to make it fullscreen, can you tell me how it is done.
Mark Neretlis

Yes Mark, I can tell you how its done. With recent versions of Director ( Director 8 or 8.5) it is possible to make your .dcr file (a .dcr file is a compressed and web-ready version of something you have made in Director) run in a web browser, and fill the screen, no matter how big or small the users screen is.

First, you need to make your project and save it. This generates a .dir file. Your .dir file contains all your graphics and source code and everything to edit your project. To show your project to people over the internet, you'll usually convert it to a .dcr file that is a lot smaller filesize than the .dir and is perfectly designed for web publishing.

Make sure you back up your projects just in case anything goes wrong.

Please note these screenshots are taken on a Mac, but the tutorial works on a PC in exactly the same way.

1) With your .dir file open, click File >> Publish Settings.



2) It brings up this window that helps you set up the html page that your .dcr file will be placed inside. All the information about how the movie should stretch is in the html file, not in the .dcr or .dir file. Make sure that your settings are like the ones below, but change the name Untitled.htm to the name of your .html file you want to make, and change untitled.dcr for the name of the .dcr file you want to make. Also make sure that the mode for HTML Template is set to Shockwave Default.


3) Next, click on the General tab (at the top) and use the Dimensions drop down window and set it to Percentage of Browser Window. Below that you can set the width and height as a percentage, and the colour of your Page Background.


4) Click on the Shockwave tab (at the top) and you can fine tune your settings. You may want to change the Horizontal Align and Vertical Align, or change your stretch style.

The Preserve Proportions Stretch style is probably the best for most cases, as it maintains the aspect ratio of your .dcr. You can also use:

Stretch to Fill (Does exactly what it says) or:

That "blows up" the size of the stage.

5) That's it! all your settings are done. Click OK, and now Publish your movie by clicking FILE >> PUBLISH from the main menu. You may be asked to save the data, click YES or OK (depending on your system). Now you will have a .html file and a .dcr file. Look at the .html file in a web browser, and as you change the size of the browser you will see your movie change.

Play around with the settings to find out what works for you.