699
Example
This statement instructs Director to save changes to the current movie whenever the movie
branches to another movie:
the updateMovieEnabled = TRUE
updateStage
Syntax
updateStage
Description
Command; redraws the Stage immediately instead of only between frames.
The
updateStage
command redraws sprites, performs transitions, plays sounds, sends a
prepareFrame
message (affecting movie and behavior scripts), and sends a
stepFrame
message
(which affects
actorList
).
Example
This handler changes the sprite’s horizontal and vertical locations and redraws the Stage so that
the sprite appears in the new location without having to wait for the playhead to move:
on moveRight whichSprite, howFar
sprite(whichSprite).locH = sprite(whichSprite).locH + howFar
updateStage
end moveRight
URL
Syntax
member(
whichCastMember
).URL
the URL of member
whichCastMember
Description
Cast member property; specifies the URL for Shockwave Audio (SWA) and Flash movie
cast members.
For Flash movie members, this property is synonymous with the
pathName
member property.
The
URL
property can be tested and set. For SWA members, it can be set only when the SWA
streaming cast member is stopped.
Example
This statement makes a file on an Internet server the URL for SWA cast member Benny Goodman:
on mouseDown
member("Benny Goodman").URL = "http://audio.macromedia.com/samples/
classic.swa"
end
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...