User Guide

445
This handler removes any nonalphabetic characters from any arbitrary string and returns only
capital letters:
on ForceUppercase input
output = EMPTY
num = length(input)
repeat with i = 1 to num
theASCII = charToNum(input.char[i])
if theASCII = min(max(96, theASCII), 123) then
theASCII = theASCII - 32
if theASCII = min(max(63, theASCII), 91) then
put numToChar(theASCII) after output
end if
end if
end repeat
return output
end
See also
charToNum()
obeyScoreRotation
Syntax
member(flashMember).obeyScoreRotation
Description
Flash cast member property; set to TRUE or FALSE to determine if a Flash movie sprite uses the
rotation information from the Score, or the older rotation property of Flash assets.
This property is automatically set to
FALSE for all movies created in Director prior to version 7 in
order to preserve old functionality of using the member rotation property for all sprites
containing that Flash member.
New assets created in version 7 or later will have this property automatically set to
TRUE.
If set to TRUE, the rotation property of the member is ignored and the Score rotation settings are
obeyed instead.
Example
The following sprite script sets the obeyScoreRotation property of cast member "dalmation" to 1
(TRUE), then rotates the sprite which contains the cast member 180°.
on mouseUp me
member("dalmation").obeyScoreRotation = 1
sprite(1).rotation = sprite(1).rotation + 180
end
This property can be tested and set.
See also
rotation