Lingo Dictionary > A-C > bufferSize |  |

bufferSize

Syntax

    member(whichFlashMember).bufferSize
    the bufferSize of member whichFlashMember

Description

Flash cast member property; controls how many bytes of a linked Flash movie are streamed into memory at one time. The `bufferSize` member property can have only integer values. This property has an effect only when the cast member's `preload` property is set to `FALSE`.

This property can be tested and set. The default value is 32,768 bytes.

Example

This `startMovie` handler sets up a Flash movie cast member for streaming and then sets its `bufferSize` property.

Dot syntax:

    on startMovie
    	member.("Flash Demo").preload = FALSE
    	member.("Flash Demo").bufferSize = 65536
    end

Verbose syntax:

    on startMovie
    	set the preload of member "Flash Demo" = FALSE
    	set the bufferSize of member "Flash Demo" = 65536
    end

See also

`bytesStreamed`, `preLoadRAM`, `stream`, `streamMode`