Lingo Dictionary > O-R > obeyScoreRotation |  |

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 degrees.

    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`