### FlashRect

Syntax: | `the FlashRect of member` `whichFlashMember`
Type: | Cast member property
Description: | This property indicates the size of a Flash movie cast member as it was originally created in Flash. The property values are indicated as a Director rect; for example, rect(0,0,32,32).
| For linked Flash cast members, the `FlashRect of member` property returns a valid value only when the cast member's header has finished loading into memory.
| The `FlashRect of member` property can be tested but not set.

    This sprite script resizes a Flash movie sprite so that it is equal to the original size of its Flash movie cast member.
    on beginSprite me
    	set the rect of sprite the spriteNum of me = ¬
    		the FlashRect of member the memberNum of me
    end

Related Lingo: | `defaultRect of member` property, `defaultRectMode of member` property

Previous | Next