PlaceObject2
tag in a SWF file. The {@code PlaceObject2} tag extends the functionality of the{@code PlaceObject} tag. The {@code PlaceObject2} tag can both add acharacter to the display list, and modify the attributes of a character that is already on the display list. {@code The PlaceObject2} tag changed slightlyfrom SWF 4 to SWF 5. In SWF 5, clip actions were added.
The tag begins with a group of flags that indicate which fields are present in the tag. The optional fields are CharacterId, Matrix, ColorTransform, Ratio, ClipDepth, Name, ClipActions
. The Depth field is the only field that is always required.
The depth value determines the stacking order of the character. Characters with lower depth values are displayed underneath characters with higher depth values. A depth value of 1 means the character is displayed at the bottom of the stack. Any given depth can have only one character. This means a character that is already on the display list can be identified by its depth alone (that is, a CharacterId is not required).
The PlaceFlagMove and PlaceFlagHasCharacter tags indicate whether a new character is being added to the display list, or a character already on the display list is being modified.
|
|
|
|
|
|
|
|