-- xtra CastXtra -- CastXtra v1.3 (c) 2009 Valentin Schmidt -- Instance version new object me AttachCastLib object me, string castLibName, string path DetachCastLib object me, any castLibNameOrNum NewCastLib object me, string castLibName, *externalFlag AttachCastLib (string castLibName, string path) Specify a CastLib Name, and the path of the castlib to attach an External castlib to the current movie. Returns: index of attached castLib DetachCastLib (any castLibNameOrNum) Specify a Castlib Name or Reference Number to Detach an (external or internal) Castlib from the current movie. Returns: 1 (succesfull) or 0 (error) NewCastLib (string castLibName, *externalFlag) Create a new castLib, either internal (=default) or external (if externalFlag=TRUE). Returns: index of new castLib Usage: cx = xtra("CastXtra").new() -- create new internal castLib "foo" cx.NewCastLib("foo") -- create new external castLib "bar" and save it as "bar.cst" n = cx.NewCastLib("bar", true) castLib(n).save(_movie.path&"bar.cst")