Accessibility

TechNote (Archived)

MoviePath does not display when in safe player mode

Issue


Displaying the value of the moviePath or_movie.path in Shockwave movies or in projectors that are set to safePlayer results in an empty string (œ).

Reason


If a Director movie is published as a Shockwave movie or as a projector with safePlayer enabled, there are some restrictions because of Internet security reasons.

Shockwave content is played in what is called 'safe player mode,' which is a feature specific to Director movies. Projectors can also be set to be in safe player mode, by setting thesafePlayer property. When a movie is played in safe player mode, it is restricted and some safety features are in effect.

One of these restrictions prevents the value of the property themoviePath or _movie.Path from being displayed. Therefore, trying to display this property in a Shockwave movie or a safePlayer projector results in an empty string.

This property can still be assigned to other variables and manipulated in order to get the path of other files (for example, this line of code would still function: mypath = _movie.path& œmyFile.txt). The only restriction is displaying its value on the Director stage.

Additional Information


For more information about Director's safe player mode and security features, see:

AlertThis content requires Flash

To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.

Download the free Flash Player now!

Get Adobe Flash Player

Creative Commons License

Search Support

Document Details

ID:634d9f9a

Products Affected:

director
shockwaveplayer