Index of /xtras/cast_xtra

Icon  Name                    Last modified      Size  Description
[PARENTDIR] Parent Directory - [DIR] mac/ 2010-02-19 18:48 - [DIR] win/ 2015-09-10 15:37 - [TXT] readme.txt 2016-07-18 21:55 1.0K
-- 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")