EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 754

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
754 Chapter 14: Properties
enableFlashLingo
Usage
-- Lingo syntax
_movie.enableFlashLingo
// JavaScript syntax
_movie.enableFlashLingo;
Description
Movie property; determines whether a sprite with Flash content can make any direct scripting
callbacks when using the Flash
getURL() method. Read/write.
The Flash
getURL() method loads a new URL into a blank browser window.
If
enableFlashLingo is set to TRUE, a sprite with Flash content can execute any valid script
command (subject to standard Shockwave Player-safe rules) when
getURL() is called.
If
enableFlashLingo is set to FALSE, a sprite with Flash content is prevented from executing
script commands when
getURL() is called. The default value of this property is FALSE.
This property is useful when creating a movie that displays Flash content of unknown origin,
such as in a projector that browses a system folder for SWF files, or a movie with Shockwave
content that accepts a URL for a SWF file from an end user.
Example
This statement sets the enableFlashLingo property to TRUE:
-- Lingo syntax
_movie.enableFlashLingo = TRUE
// JavaScript syntax
_movie.enableFlashLingo = true;
See also
Movie
endAngle
Usage
member(whichCastmember).modelResource(whichModelResource).\
endAngle
Description
3D #cylinder or #sphere model resource property; indicates how much of the sphere or
cylinder is drawn.
The surface of a sphere is generated by sweeping a 2D half circle arc around the sphere’s Y axis
from
startAngle to endAngle. If startAngle is set to 0 and endAngle is set to 360, the result is
a complete sphere. To draw a section of a sphere, set
endAngle to a value less than 360.
The surface of a cylinder is generated by sweeping a 2D line around the sphere’s Y axis from
startAngle to endAngle. If startAngle is set to 0 and endAngle is set to 360, the result is a
complete cylinder. To draw a section of a cylinder, set endAngle to a value less than 360.
The default setting for this property is 360.