User Guide

676 Chapter 14: Properties
-- Lingo syntax
on fetchMovie(whichFlashMovie)
repeat while member(whichFlashMovie).percentStreamed < 100
stream(member(whichFlashMovie))
put("Number of bytes streamed:" && member(whichFlashMovie).bytesStreamed)
end repeat
end
// JavaScript syntax
function fetchMovie(whichFlashMovie)
var i = member(whichFlashMovie).percentStreamed;
while(i < 100) {
stream(member(whichFlashMovie));
trace( "Number of bytes streamed: " +
member(whichFlashMovie).bytesStreamed);
}
}
See also
bufferSize, percentStreamed (Member), stream()
bytesStreamed (3D)
Usage
member(whichCastMember).bytesStreamed
Description
3D cast member property; indicates how much of the initial file import or the last requested file
load has loaded.
Example
This statement shows that 325,300 bytes of the cast member named Scene have been loaded.
put member("Scene").bytesStreamed
-- 325300
See also
streamSize (3D), state (3D)
camera
Usage
member(whichCastMember).camera(whichCamera)
member(whichCastMember).camera[index]
member(whichCastMember).camera(whichCamera).whichCameraProperty
member(whichCastMember).camera[index].whichCameraProperty
sprite(whichSprite).camera{(index)}
sprite(whichSprite).camera{(index)}.whichCameraProperty
Description
3D element; an object at a vector position from which the 3D world is viewed.
Each sprite has a list of cameras. The view from each camera in the list is displayed on top of the
view from camera with lower
index positions. You can set the rect (camera) property of each
camera to display multiple views within the sprite.