Appearance
pixi-hm05 (player) / pixi-hm05/as2 / attach
Function: attach()
ts
function attach(
parent,
id,
name,
depth,
init?
): SymbolInstance;parent.attachMovie(id, name, depth[, init]): a new clip of the Library symbol with that Linkage id (Script ID / name / key), named in vars(parent) (a clip already at that depth is replaced, as in Flash). init = the initObject (_x, _y … and variables), set before its first frame's scripts run.
Parameters
| Parameter | Type |
|---|---|
parent | ClipLike |
id | string |
name | string |
depth | number |
init? | Vars |