### preload

Syntax: | `the preload of member` `whichFlashMember`
Type: | Cast member property
Description: | This property controls whether a Flash movie must load entirely into RAM before the first frame of a sprite is displayed or whether the movie can stream into memory as it plays. This property works only for linked Flash movies whose assets are stored in an external file; it has no effect on members whose assets are stored in the cast. The `streamMode` and `bufferSize` properties determine how the cast member is streamed into memory. The `preload of member` property can have these values:
| `TRUE` The entire movie must load into RAM before the first frame plays.
| `FALSE` The movie can stream into RAM while it is playing.

The `preload of member` property can be tested and set. The default setting is `FALSE`.

Example: | This `startMovie` handler sets up a Flash movie cast member for streaming and then sets its `bufferSize` property.
on startMovie set the preload of member "Flash Demo" = FALSE set the bufferSize of member "Flash Demo" = 65536 end
Related Lingo: | `streamMode of member` property, `bufferSize of member` property

Previous | Next