Posts filed under 'Shockwave'

Shockwave + Snow Leopard = Finally

We’ve waited awhile, but Shockwave was updated today. It now runs on OSX 10.6 (Snow Leopard) with the 64-bit version of Safari. It is version and you can grab it from the Shockwave download page.

It seems to work nicely with Safari in either 64 or 32 bit mode, as well as Firefox 3.6+. On the Mac version of Firefox 4.0b3 it is still having many problems with the transparent region bug. Hopefully they fix this before 4.0 is released. This same bug keeps coming and going with various releases of Firefox.

So far the only thing I’ve seen is with the updateStage call. It doesn’t seem to be working when running in 64-bit mode, but it does in 32-bit.

My Mac is much happier now 🙂 and will survive without updateStage.

Update: There were many security fixes in this Shockwave update. More information is here.

2 comments August 24th, 2010

Shockwave Update = Firefox on OSX

An updated version of Shockwave was released earlier today, and for the first time since August 2008 I can once again use Firefox to view Shockwave content. I’m really glad to see this longstanding issue fixed. It definitely shows that more than just security updates are occurring on the development side of things. The next thing I can’t wait to see is Shockwave running in 64-bit on OSX 🙂

Here are the details from Allen at Adobe.

Modifications to Shockwave in update are as listed below:

Product Area Bug Description
Keyboard Events Keyboard events are not getting registered properly on IE8 Vista and Win7 reported by various portals
Shockwave During Shockwave installation on Windows 64 bit machines the IE security dialog appears for multiple times.
Cross domain Crossdomain Policy changes to support media based crossdomain checks for Flash cast members.
Mac Various redraw issues in Safari & Firefox while playing the Shockwave content.
Upgrade Smooth Upgrade Process takes care of deleting the old Adobe/Macromedia Downloaded Xtras.

Several Security Updates as listed here;

This release is considered a critical security update, as detailed on the linked security bulletin.

Details of the modified (additional) Cross Domain Policy changes follow;

Cross Domain Policy changes

Earlier to Director 11.5, there was no Cross-domain checking based on the policy file and thus when we play any shockwave content which was accessing data from a server outside the domain, it used to throw-up security dialogs. In Director 11.5, we introduced the cross-domain checking based on policy files, placed on the servers. This meant that even the URLs accessed by the SWFs were being checked by the Shockwave player against the policy file. But flash player as such does cross-domain checking through policy files or through other security mechanisms (security.allowDomain). The checks which were done through the latter mechanism inside Flash player are not supported in Shockwave and because of this, the content which were accessed by this mechanism failed inside Shockwave.

For example, we have a youTube video player asset, which is a SWF file and this can be used play different youtube videos by specifying the video ID. This has been implemented in Flash using the “security.allowDomain” mechanism for accessing the content from the YouTube server. This SWF can be hosted on any server (not only YouTube) and the videos can be streamed in.

This movie when embedded inside the Shockwave player fails since the player checks only the policy file on the YouTube server. And this policy File on YouTube server does not list any of domains.

In order to address this issue, we have introduced a flash cast member property cdpCheckMode which can be set to either #useMediaPolicy (to use the flash player’s cross domain checks) or #useSWPolicy (to use Shockwave’s cross domain checks).

When we set the property to #useSWPolicy and if the policy file doesn’t have the necessary entry then the content developer has two options.

1. If the movie property enableSecurityDialog is set to true then security dialogs will appear in the Shockwave movie while trying to access the content and the option of displaying the content is given to the end user.

2. On the other hand, if this flag is not set then the movie will fail silently.



— Lingo syntax


// JavaScript syntax



Movie property; default value is FALSE, If it is false then the movie will fail silently. If it is set to TRUE then security dialogs will appear in the Shockwave movie while trying to access the content and the option of displaying the content is given to the end user.


This statement sets the enableSecurityDialog property to True which will show the dialogs.

— Lingo syntax

on prepareMovie
_movie.enableSecurityDialog = TRUE

// JavaScript syntax

function prepareMovie()
_movie.enableSecurityDialog = 1;

cdpCheckMode (Flash cast member property)


— Lingo syntax


// JavaScript syntax



Flash member property; default value is useSwPolicy. When we set the property to #useSWPolicy it will use Shockwave’s cross domain checks and if the policy file doesn’t have the necessary entry then the content developer has two options.

1. If the movie property enableSecurityDialog is set to true then security dialogs will appear in the Shockwave movie while trying to access the content and the option of displaying the content is given to the end user.

2. On the other hand, if this flag is not set then the movie will fail silently.

When it is set to #useMediaPolicy it will use the flash player’s cross domain checks.


This statement sets the cdpCheckMode property to #useMediaPolicy which will follow the flash player’s cross domain checks.

— Lingo syntax

on beginSprite me
member(2).cdpCheckMode = #useMediaPolicy

// JavaScript syntax

function beginSprite(me)
member(2).cdpCheckMode = symbol(“useMediaPolicy”);

1 comment May 11th, 2010

Shockwave Updated: New Snow Leopard Statement

An updated version of Shockwave was released today. When installing on Snow Leopard (OSX 10.6) it now gives you a message to run Safari in 32-bit mode.

Shockwave on Snow Leopard

This is definitely friendlier than the prior message.

Add comment November 3rd, 2009

Snow Leopard (OSX 10.6), Shockwave, and Director

Apple has released the latest version of their operating system which is commonly referred to as Snow Leopard (OSX 10.6). What does this mean to users that want to see Shockwave-based content? What does this mean to those that author with Director MX 2004 or newer? What does this mean for projectors from Director MX 2004, 11, or 11.5?

Here is the scoop based on my observations.

For Shockwave things will run fine if you run in 32-bit mode in Safari. To do that you can select the Safari icon and Get Info. Then select 32-bit mode. You can read that in greater detail on this ExploreLearning blog post.

Safari in 32-bit mode

Safari in 32-bit mode

For authoring I’ve tested Director 11.5 and have not noticed any problems. However, Director MX 2004 is a different story. For some strange reason it is one of just seven programs in the entire world that are restricted from opening by Apple and the new operating system (read the Apple Technote). Out of all the programs in the world, what on Earth does Director MX 2004 do on a computer that causes Apple to ban the app?

Director MX 2004 Restricted!

Director MX 2004 Restricted!

Somewhere Apple is storing information that causes this message to appear. If anyone knows where that is I’d love to know 🙂 I tried opening the Director MX 2004 package and changed the CFBundleIdentifier in the info.plist from 2004 to 2005 just to see what would happen. When I did that the program began to launch, the icon would bounce in the dock a few times, and then it would crash. I got the standard crash message at this point where I could report it to Apple or cancel. I canceled. I edited the info.plist once again and set it back to 2004. At this point it would always crash and I wouldn’t get the “restricted” message again. I’d say I broke something. Oh well…seems at this point it is impossible to run Dir MX 2004 on Snow Leopard.

For older projectors (that could run under 10.5 with Rosetta) things are both good and bad. The projectors will still run, but unfortunately Apple has decided that Rosetta is an optional installation now, so it doesn’t get installed by default. When I tried to launch a projector I got a message that Rosetta was needed.

Rosetta Needed Message

Rosetta Needed Message

I agreed to install it and the 2 meg download took place. The next time I launched the projector it worked normally.

Rosetta Download

Rosetta Download

You must always remember that the first time you launch something that needs Rosetta it will take 15 or more seconds. On subsequent launches it will just take a few seconds.

Projectors created with Director 11+ will run as expected without Rosetta.

I’m still shocked that Director MX 2004 is one of just seven apps that are officially restricted by Apple. I basically use the older version of Director all the time to edit older content that I don’t want the files to have to be updated with the new unicode text. I guess I’ll now have to keep one computer running 10.5. I’m bummed. If anyone does find a way to get MX 2004 running on 10.6, please drop me a line.

Update: I forgot to mention the Shockwave installation issue. When I tried to install Shockwave I got the following message saying that it only works on 10.4 and 10.5. I clicked OK and then ran the installer. It properly installed the plugin. On the other hand, the uninstaller seemed to run for a long time and not really do anything. I waited about five minutes and then force quit it, so not entirely sure if it was doing anything or not.

Shockwave Install warning message on Snow Leopard.

Shockwave Install warning message on Snow Leopard.

12 comments September 2nd, 2009

Shockwave 3D vs. Google

Google introduced a new way to create 3D content for the web. Looks interesting.

Most content on the web today is in 2D, but a lot of information is more fun and useful in 3D. Projects like Google Earth and SketchUp demonstrate our passion and commitment to enabling users to create and interact with 3D content. We’d like to see the web offering the same type of 3D experiences that can be found on the desktop. That’s why, a few weeks ago, we announced our plans to contribute our technology and web development expertise to the discussions about 3D for the web within Khronos and the broader developer community.

4 comments April 21st, 2009

Firefox 3 and Mac: Solution to Vanishing Content

Ever since Firefox 3 came out there has been a problem on Macs where chunks/regions of the the displayed dcr file would would just “vanish” and show the background color of the html page you were viewing. [Note: With FF 3.0.1 I would rarely see this on a PC as well.] On Direct-L Valentin posted a possible solution that could be used to deal with this problem by adding some javascript to the html page.

You can see the code that was used below, read the entire thread (it is a long thread), and see it in action here.

HTML code that helps to properly display Shockwave-content on Macs that are using Firefox 3.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ""> <html xmlns="" lang="en" xml:lang="en"> <head> <title>FF3 mac sw bug fix</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <script type="text/javascript"> <!-- function init(){ var isFFMac=(navigator.platform.indexOf('Mac')>-1&&navigator.userAgent.indexOf('Firefox')>-1); if(isFFMac){ var sw=document.getElementById('sw'); sw.onmousedown=function(){return false};; } } //--> </script> </head> <body onload="init()">

<div> <!--[if IE]> <object classid="clsid:233C1507-6A77-46A4-9443-F871F945D258" width="320" height="240"> <param name="src" value="myFileName.dcr" /> <![endif]--> <!--[if !IE]>--> <object id="sw" type="application/x-director" data="myFileName.dcr" width="320" height="240"> <!--<![endif]--> <param name="PlayerVersion" value="11" />

</object> </div>

<script type="text/javascript">document.write('<'+'div style="color:green">JAVASCRIPT IS ACTIVATED!<'+'/div>');</script> <noscript><div style="color:red">YOU DON'T HAVE JAVASCRIPT ACTIVATED!</div></noscript> </body> </html>

Update (July 20, 2009). Note: Using the method has proven to have problems with editable text members that are displayed in the content. So as of now, nothing seems to work reliably. Firefox 3.5.1 is now the current release, and it continues to have the same problem. Adobe has stated that FF is not included on the list of approved Mac browsers.

Add comment April 12th, 2009

Updated Shockwave 11.5 is Under Development

From Allen on various mailing lists:

Just an update, as I know many are interested. Early next week we plan to deliver a fix for the text line spacing (height) issue in Shockwave 11.5 to the Shockwave pre-release testers. Expect a Shockwave update following that session. Normally such cycles take a minimum of two weeks. (We added a permanent Shockwave pre-release beta testing group, which will always be able to activate for various Shockwave updates.)

Danny K, a couple of the imaging lingo errors you reported were verified and marked to fix, but aren’t planned for this short term update. Apparently they existed in 11 as well. (performance issue on 8 bit imaging objects)

Sound concerns re the removed audio compression settings on export. The simple answer is that mp3 files are substantially more optimized and are the preferred file format in order to deal with pre-compressing audio. I think the larger community concern is that legacy projects may contain high volumes of wav files and that absent the ability to “compress at once” and store in cast it becomes untenable to imagine dealing with huge stores of files to convert to mp3. I’ve asked engineering to give me some options / perhaps a white paper for handling conversion as such. I imagine that it would be simple enough to simply write a widget in Director now that we can save mp3 etc. to just rip through the sounds in a project and save all the wavs as mp3 sounds. I’ll let you know when I either get something back substantial, or I come up with some kind of pipeline myself. Perhaps others have given this some thought as well.

3 comments March 31st, 2009

Director 11.5 Has Arrived

A new version of Director was released today, along with a new version of Shockwave.

You can download Director, Shockwave, as well as many demos at this location (you’ll need to login with your Adobe ID).

Let the fun begin!

Update: Director 11.5 can also be found on Amazon.

Update 2: List of features:

  • Enriched audio capabilities Make your games sound as real as they look with 5.1-channel surround sound, real-time mixing, audio effects, and DSP filters.
  • Enhanced video capabilities Enhance your user’s multimedia experience using H.264-video integration that provides full-screen, high-definition video in multimedia applications and games.
  • New 3D importer for SketchUp Rapidly create rich 3D environments using the many ready-made 3D models available through Google SketchUp.
  • Streaming support Stream audio and video over the Internet using RTMP support.
  • New data type Access and manipulate binary data using the ByteArray data type.
  • Enhanced physics engine Support for dynamic concave rigid bodies.
  • Enhanced productivity Support for multiple undo/redo operations.
  • Cross domain policy
  • Enhancements to the text engine
  • Open Type Font (OTF) embedding support on Macintosh OS.
  • Class-based kerning support.
  • Hinting support at a member level.
  • Enhancements to platform and browser support
  • Macintosh OSX 10.5 (authoring and runtime) support.
  • Firefox 3.0 support.

More information can be found on DirectorForum in this thread.

12 comments March 23rd, 2009

How to “Fix” Shockwave

I had this comment come in the other day but figured I’d make it a post since this is a big issue that has been popping up for years at my workplace.

Is there anybody who can tell me how to fix shockwave 11 it says it is installed, however it is not on my program list and when I try to play games that require it, it pops up saying 1 or more shockwave files are missing! Is there anyone out there that actually knows how to fix this! I am beginning to hate windows vista!

thank you


I can’t say much about Vista, and I could go in to great detail about what could be happening in some cases, but the short answer is this: download the Shockwave uninstaller, run it on your computer, and then download the FULL INSTALLER and not the default “slim” installer.

If that does not work, then it could be due to the content you are viewing. Some people use Xtras in the content, and many of those Xtras have not been updated to work with Shockwave 11.

In any event, running the uninstaller, followed by a full installation solves this sort of problem for the vast number of users that have issues like the one you described. Hope that helps out.

Note: On the Mac version the uninstaller is bundled with the installer, but for Windows you’ll have to download the uninstaller separately.

Add comment January 15th, 2009

Hotfix update for Shockwave (and Director…soon)

An updated version of Shockwave was posted last week, and a hotfix for Director will be posted early this week.

Release Notes for Shockwave

Release Notes for Shockwave

Shockwave build number:

1) Kerning was not available in Director 11.

Kerning is implemented for the font types supported by Director 11.

2) There were additional spaces at the end of the line when text was justified.

Bug is fixed. Justification of text correctly takes into account spaces at the end of the line.

3) When the sprite width was greater than 1536 pixels, text was not rendered properly. A black patch appeared in the text window\text sprite in some cases.

This issue is fixed for text sprites whose width and the height is greater than 1536 pixels.

4) Director used to crash when the following fonts were applied to the text sprite. (Mac OS 10.5)

  • ApplySymbols
  • Papyrus
  • Papyrus condensed
  • STHeiti( Light)
  • STHeiti( Regular )
  • Hiragino Kaku Gothic Pro
  • Hiragino Mincho Pro
  • STFangSong
  • LiSong Pro
  • STSong
  • STKaiti

This issue has been fixed.

5) Certain custom icons appeared fuzzy on the projector.

This issue has been fixed.

6) Changes to the value for friction and restitution of rigid bodies after collision did not have any effect on the Physics World.

This issue has been fixed.

7) When force was applied to a rigid body in a Physics World, a spin was observed.

This is because the rigid body always has an affinity towards the world axis.

A new rigid body property, called axisAffinity, has been added. The value of the axisAffinity property is true by default. The affinity towards the world axis is compensated by setting the property to false. When you set the property to false, the spin is not observed.

The computations are more when axisAffinity is false; set the property to false only when required.

Sample code snippet

aball = pDynamiks.createRigidBody(,,#sphere,#dynamic)
aball.sleepThreshold = 100
aball.friction= 1
aball.restitution = 0
aball.axisAffinity = false

8 ) The Maintain Proportion option in the Sprite’s scale dialog box, and Transform bitmap dialog box, did not produce the required results in Director on a MAC 10.4 G5 machine.

This issue has been fixed for both the dialog boxes.

9) Externally linked Scripts got deleted when external files had MAC line ending characters.

This problem occurred when a text file created on MAC with MAC line endings was imported to a Windows machine and saved. This issue has been fixed.

10) On a computer running on Windows Vista, Flash and Shockwave content on the same HTML page were not able to communicate.

This issue has been fixed.

11) The value of timestep and substep was not ignored in the Automatic time step mode while initializing the Physics body.

Automatic time step is supposed to take the elapsed time for advancing the Physics World simulation. This was not working properly for all values of time step.

12) Physics Xtra throws an error when the value for the timestep and substep parameters is zero in the Automatic time step mode.

This is a valid value for automatic time step and no error is thrown when you specify a value of zero. However, zero values for timestep and substep are invalid for other modes and the error will be shown.

13) Memory leak when models were cloned using cloneModelFromCastMember() and resetworld()

Models and texture files were not cleaned as intended when cloneModelFromCastMember() and resetworld() were used. This resulted in a small memory leak.

14) Downloading a new version of the custom Xtra did not replace the previous version after the user closed the browser

When a user plays a Shockwave movie that requires the latest version of a custom Xtra, the custom Xtra is downloaded to the user’s computer in the same location as the previous version of the Xtra. The new Xtra is placed in a folder named New. This happens only when a previous version of the custom Xtra exists on the computer.

When the user closes the browser, the new version should replace the previous custom Xtra and the “New” folder should get deleted. This was not happening and has been fixed now.

The new custom Xtra replaces the previous version when:

  • The user closes the browser.
  • The Shockwave player is opened in a new instance of the browser. This happens, if for some reason, the Shockwave player did not unload the new Custom Xtra when the user closed the browser.

Feature Enhancement

rayCastAll method in Physics(Dynamiks xtra) takes an optional parameter for sorting the returned list.


<list> world.rayCastAll(vector origin,vector direction,[[#sorted:#distance]])


This method returns references of all the rigid bodies or terrains that are found along the ray from the specified origin and specified direction. The method also returns the point of contact, contact normal, and the distance from the origin of the ray.


parameter Description

Origin Required. Vector that specifies the origin of the raycast direction Required. Vector that specifies the direction of the raycast.

[#sorted:#distance] Optional list. Specifies that the returned list should be sorted on distance

Return parameter

This method returns a list containing a list having the following information:

  • Rigid body / Terrain reference
  • Contact Point
  • Contact Normal
  • Distance of the rigid body or terrain, from the origin of the ray.


‐‐Lingo Syntax

lstraycast = member(“PhysicsWorld”).rayCastAll (vector(10,0,0),vector(0,0,1))

‐‐Returns an unsorted list containing the above parameters

put lstraycast

lstraycast = member(“PhysicsWorld”).rayCastAll (vector(10,0,0),vector(0,0,1),[#sorted:#distance])

‐‐Returns an sorted list containing the above parameters

put lstraycast

//JavaScript Syntax

var lstraycast = member(“PhysicsWorld”).rayCastAll (vector(10,0,0),vector(0,0,1));

‐‐Returns a unsorted list containing the above parameters


lstraycast = member(“PhysicsWorld”).rayCastAll (vector(10,0,0),vector(0,0,1),


//Returns a sorted list containing the above parameters


1 comment November 10th, 2008

Previous Posts

Director Sites


January 2018
« Feb    


Recent Posts

Recent Comments