Appearance
hm5-types (source format) / SymbolInstanceElement
Interface: SymbolInstanceElement
Extends
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
blendMode? | | "color" | "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "add" | "difference" | "color-burn" | "color-dodge" | "linear-burn" | "hard-light" | "soft-light" | "exclusion" | "linear-light" | "pin-light" | "vivid-light" | "hard-mix" | "subtract" | "divide" | "saturation" | "luminosity" | "invert" | "layer" | "alpha" | "erase" | blend mode with what is under it; absent = normal. Switches at the next key of a classic tween. | ElementBase.blendMode |
bones? | OuterBones | BONES MOVED FROM OUTSIDE (owner 2026-11-22, "內外相加"): offsets this instance adds to the bones of its symbol's bone layers — bone id → channel → offset on top of the symbol's own keys (rotation / x / y / length add, scales multiply); an IK constraint's id → mix = its mix here instead of the symbol's. Absent = exactly as inside. In a motion tween its curves are the channels bone.<id>.<channel> (THE meaning: document bones.ts poseBoneRig(…, outer)). | - |
colorEffect? | ColorEffect | Look (symbol instances, bitmaps, text, meshes, groups, video objects: hasLook; loose shapes ignore it). Flash Color Effect (alpha stays opacity); absent = none. Classic tweens interpolate it. | ElementBase.colorEffect |
drawnSwap? | SlotSwap | set ONLY in the document as drawn (document resolveSlots): the matrix / look of a swap in force here, applied after tweens by resolveElementsAt (applyDrawnSwaps). Never saved. | - |
filters? | InstanceFilter[] | Filters (drop shadow, blur, glow, …), drawn in order on top of the instance; absent = none. Classic tweens interpolate them (see filter/catalog.ts). | ElementBase.filters |
firstFrame | number | - | - |
firstScene? | string | - | - |
hidden? | boolean | Properties "Visible" off: not drawn in exports / publish (faint in the editor); a show action can still show it. Absent = drawn. | ElementBase.hidden |
id | string | - | ElementBase.id |
innerPersp? | object | this instance's perspective for the 3D objects INSIDE it (owner 2026-10-30: per instance), vanishing point = its pivot (the transform point); absent = the symbol's perspective, else the scene's | - |
innerPersp.fov | number | - | - |
loop | "loop" | "playOnce" | "singleFrame" | - | - |
opacity | number | - | ElementBase.opacity |
pivot? | object | Free Transform's centre point, in the symbol's own space. Editor memory only (rotation/scale pivot); absent = the bounds centre. | - |
pivot.x | number | - | - |
pivot.y | number | - | - |
playback? | object | per-instance playback options (set in Properties / timeline) | - |
playback.independentClock? | boolean | true = keeps its own clock (movieclip-like: ignores parent stop); false = synced to parent frames (graphic-like); absent = the symbol's default (LibrarySymbol.independentClock) | - |
playback.reverse? | boolean | play the inner timeline backwards | - |
playback.speed? | number | rate multiplier, 1 = normal | - |
playback.stopAtEnd? | boolean | play once and hold the last frame; absent = the symbol's default | - |
plugins? | PluginData | data for plugins (owner 2026-11-16): plugin name → its own data (PluginData), e.g. { box2d: { mass: 2 } }. Belongs to this keyframe's instance (never tweened). Absent = none. | - |
slot? | SlotRef | SLOT ITEM (owner 2026-11-20, plan 2026-11-19-mesh-slot-bone-puppet-plan 流程二): this object shows item item (an element id) of the slot profile profile (a LibrarySymbol with slotProfile). Its content (everything but ElementBase fields and a mesh object's deform) is a copy of the item, kept current by document syncSlotItems; its transform, look and pulls are its own. Absent = an ordinary object. | ElementBase.slot |
slots? | SlotRule[] | DRESS-UP RULES (owner 2026-11-20 "整套換"): for this object and everything inside it; later rules win, an outer object's rules win over an inner one's. THE meaning: document slotRules.ts. Absent = none. | ElementBase.slots |
swaps? | Record<string, SlotSwap> | SLOT SWAPS (owner 2026-11-26, "單獨換一個 slot"): slot object layer id (LayerObject.slot, inside this instance's symbol at any depth) → what this instance shows there instead. An outer instance's swap of the same layer wins. THE meaning: document slotSwaps.ts. Absent = as the symbol draws it. | - |
symbolId | string | - | - |
t3d? | Transform3D | 3D rotation / depth (owner 2026-10-30, Flash CS4 style): symbol instances, bitmaps, text and groups (loose shapes ignore it). The object is drawn as a flat card turned about its own X / Y axes and seen through a perspective (t3d.ts). Absent = flat. | ElementBase.t3d |
timeRemap? | number | TIME REMAP (owner 2026-11-23, After Effects): the inner position this instance shows — a stored frame of its symbol (0-based, all scenes in a row), fractions = between frames (frame shown rounded half up, its tweens drawn there). Set = firstFrame / loop / playback speed, reverse and clock are ignored (synced, never its own clock); past the end it wraps (holds the last frame with "playOnce" / stop at end). Normally not stored: a motion tween's "frame" curve gives it on every frame of the span (document tween/curve.ts REMAP_CHANNEL). | - |
transform | Mat2D | 2D affine matrix [a,b,c,d,tx,ty] | ElementBase.transform |
type | "symbol" | - | - |
vars? | Record<string, | string | number | boolean | { x: number; y: number; }> | INSTANCE VARIABLES (owner todo 2026-11-07; Flash on(initialize) / an initObject): values put into the instance's script variables before its first frame's scripts run (player clip.initVars; the pixi-hm05/as2 vars() bag starts with them). Absent = none. Also where the values given to the symbol's INPUTS live (Values panel, by input name; a point = {x, y}, a colour = "rrggbbaa"). | - |