The 'Sprite' Panel shows properties for the currently selected Sprite.
Once named, a sprite can be treated as a script object.
|
|
Name
The name of the Sprite appears in the Outline Panel. It can also be used to identify the Sprite when making or inserting a new Instance or in various scripting commands such as isNearTarget(), nextFrameAndPlay() etc.
Instance of
An Instance is a clone of a reference Sprite. Whenever you make a change to either the reference Sprite or the Instance, the other is automatically updated so that they remain the same. The Instance and reference Sprite can have their own independent settings for name, background and so on, and have their own Effects and Events.
Background
This property lets you select how you would like the background image of the Sprite to appear when you expand it for editing. This option reminds you that you are editing the contents of a Sprite, rather than the content of a main Movie Scene. The settings do not affect the appearance of the Sprite when it is not being edited. The default setting for this function is a single color.
Background Color
This lets you change the background color for the Sprite using the Color Selector. If you use an alpha value of less than 100%, you can tint the Movie background color. If you use an alpha value of 0% (the default), the Scene will have the same color as the Movie default.
Track as menu item
Sets whether or not the Sprite can receive mouse release events. This option is typically used when using Sprites as menu items.
Loop
When checked, the Sprite will play continuously as long as it is placed. Otherwise it will play once and stop at the last Frame. The default setting is to have the loop option turned on.
Masked
When checked, the object in the bottom-most layer of the Sprite becomes the mask shape. The rest of the Sprite content will only be visible where the mask shape is filled. Any Sprite content outside the mask shape is invisible. The default setting is to have the masking option turned off.
Note: The masking shape must be a single shape or text object. The masking shape cannot be a Scripting Object. Masking will not work if these conditions are not met. If Scripting is added to the mask object, it will convert that object to a Scripting Object and the mask will no longer work.
Show icon while editing
When checked, an icon is displayed for the Sprite instead of its contents, unless you are playing the Movie. You may want to check this option if the Sprite contents are complicated and this slows down the program while you are editing. The default setting is to have the icon option turned off.
Only show 1st frame if it's closed
When checked, only the child objects shown in the 1st frame of the sprite are displayed, unless the sprite is expanded or the movie is played. You may want to check this option if the Sprite contents are complicated and this slows down the program while you are editing. The default setting is to have the icon option turned off.
Expand Sprite (edit in place)
This option will open the timeline of this sprite allowing you to edit the objects in place and actions placed inside of it. This is also the same as clicking the (+) icon next to the sprite on the 'Outline' panel. Sprites open for editing in place will have a border shown around it.
Open Sprite in Layout
When pressed, this option will open the sprite for editing with it's own background. This is different than editing in place in that the objects outside the sprite are not visible while editing.