defaultRectMode
Syntax | `SetIconProperty(@"`IconTitle`", #defaultRectMode,` rect`)`
Type | Icon property
Description | This property controls how the default size is set for all new sprites created from a Flash sprite icon. You specify the property value as a `Rect`; for example, `Rect(0,0,32,32)`. The `defaultRectMode` property doesn't set the actual size of a Flash movie's default rect; it only determines how the default rect is set. The `defaultRectMode` property can have these values:

| `#Flash` Set the default rect using the size of the movie as it was originally created in Flash.
| `#fixed` Set the default rect using the fixed size specified by the `defaultRect` property.

The `defaultRect` property is affected by the icon's `defaultRectMode` property. The `defaultRectMode` property is always set to `#Flash` when a sprite icon is inserted, which means the original `defaultRect` setting is always the size of the movie as it was originally created in Flash. Setting the `defaultRect` property after that implicitly changes the sprite icon's `defaultRectMode` property to `#fixed`.

You can get and set the value of the `defaultRectMode` property. The default setting is `#Flash`.

Example | This statement sets the `defaultRectMode` property to the original size of the imported Flash movie.
    SetIconProperty(@"Flash Icon", #defaultRectMode, #Flash)
Related Functions | `FlashRect` property, `defaultRect` property