User Guide
291
Example
This frame script checks to see if the mouse is currently located over a button in a Flash movie
sprite in channel 5 and, if it is, the script sets a text field used to display a status message:
on exitFrame
if sprite(5).hitTest(the mouseLoc) = #button then
member("Message Line").text = "Click here to play the movie."
updateStage
else
member("Message Line").text = ""
end if
go the frame
end
hither
Syntax
member(whichCastmember).camera(whichCamera).hither
sprite(whichSprite).camera{(index)}.hither
Description
3D camera property; indicates the distance in world units from the camera beyond which models
are drawn. Objects closer to the camera than
hither are not drawn.
The value of this property must be greater than or equal to 1.0 and has a default value of 5.0.
Example
The following statement sets the hither property of camera 1 to 1000. Models closer than 1000
world units from the camera will not be visible.
member("SolarSystem").camera[1].hither = 1000
See also
yon
HMStoFrames()
Syntax
HMStoFrames(hms, tempo, dropFrame, fractionalSeconds)
Description
Function; converts movies measured in hours, minutes, and seconds to the equivalent number of
frames or converts a number of hours, minutes, and seconds into time if you set the
tempo
argument to 1 (1 frame = 1 second).