User Guide

916 Chapter 14: Properties
pattern
Usage
member(whichCastMember).pattern
the pattern of member whichCastMember
Description
Cast member property; determines the pattern associated with the specified shape. Possible values
are the numbers that correspond to the swatches in the Tools window’s patterns palette. If the
shape cast member is unfilled, the pattern is applied to the cast members outer edge.
This property can be useful in movies with Shockwave content to change images by changing the
tiling applied to a shape, allowing you to save memory required by larger bitmaps.
This property can be tested and set.
Example
The following statements make the shape cast member Target Area a filled shape and assign it
pattern 1, which is a solid color:
member("Target Area").filled = TRUE
member("Target Area").pattern = 1
This handler cycles through eight tiles, with each tiles number offset from the previous one,
enabling you to create animation using smaller bitmaps:
on exitFrame
currentPat = member("Background Shape").pattern
nextPat = 57 + ((currentPat - 56) mod 8)
member("Background Shape").pattern = nextPat
go the frame
end
pausedAtStart (Flash, Digital video)
Usage
member(whichFlashOrDigitalVideoMember).pausedAtStart
the pausedAtStart of member whichFlashOrDigitalVideoMember
Description
Cast member property; controls whether the digital video or Flash movie plays when it appears on
the Stage. If this property is TRUE, the digital video or Flash movie does not play when it appears.
If this property is
FALSE, it plays immediately when it appears.
For a digital video cast member, the property specifies whether the Paused at Start check box in
the Digital Video Cast Member Properties dialog box is selected or not.
This property can be tested and set.
Example
This statement turns on the Paused at Start check box in the Digital Video Cast Member Info
dialog box for the QuickTime movie Rotating Chair:
member("Rotating Chair").pausedAtStart = TRUE