User Guide
Chapter 3108
breakLoop()
Syntax
sound(channelNum).breakLoop()
Description
This function causes the currently looping sound in channel channelNum to stop looping and
play through to its endTime. If there is no current loop, this function has no effect.
Example
This handler causes the background music looping in sound channel 2 to stop looping and play
through to its end:
on continueBackgroundMusic
sound(2).breakLoop()
end
See also
end, loopCount, loopEndTime, loopsRemaining, loopStartTime
brightness
Syntax
member(whichCastmember).shader(whichShader).brightness
member(whichCastmember).model(whichModel).shader.brightness
member(whichCastmember).model(whichModel).shaderList{[index]}.\
brightness
Description
3D #newsprint and #engraver shader property; indicates the amount of white blended into
the shader.
The range of this property is 1 to 100; the default value is 0.
Example
This statement sets the brightness of the shader used by the model named gbCyl2 to half of its
maximum value.
member("scene").model("gbCyl2").shader.brightness = 50
See also
newShader
broadcastProps
Syntax
member(whichVectorOrFlashMember).broadcastProps
the broadcastProps of member whichVectorOrFlashMember
Description
Cast member property; controls whether changes made to a Flash or Vector shape cast member
are immediately broadcast to all of its sprites currently on the Stage (
TRUE) or not (FALSE).
When this property is set to
FALSE, changes made to the cast member are used only as defaults for
new sprites and don’t affect sprites on the Stage.
The default value for this property is
TRUE, and it can be both tested and set.