Changeset 150 for trunk/lingosource/castlib2/aleXtrasMovieScript.ls
- Timestamp:
- 02/18/08 06:02:53 (4 years ago)
- File:
-
- 1 edited
-
trunk/lingosource/castlib2/aleXtrasMovieScript.ls (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lingosource/castlib2/aleXtrasMovieScript.ls
r63 r150 1 1 -- LDM Xtras Moviescript -- ©05 Alex da Franca -- alex@farbflash.de 2 2 --------------------------------------------------------------------- 3 4 -- Requires: 5 -- nothing 6 7 -- Purpose: 3 -- CREATED: 4 -- 2005 5 -- 6 -- DESCRIPTION: 8 7 -- store instances of scripts and bitmaps in a 'global' list (-> property pAleXtras) 9 8 -- and provide access to them for all scripts 10 11 -- Usage: 9 -- 10 -- REQUIRES: 11 -- NONE 12 -- 13 -- USAGE: 12 14 -- put it in one of your castlib, DON'T RENAME MEMBER !! 15 -- 16 -- TODO: 17 -- - 18 ----------------------------------- 19 13 20 14 21 property pAleXtras 15 22 16 23 on mGetAleXtras 24 25 17 26 alextras = (script "aleXtrasMovieScript").pAleXtras 18 27 if voidP(alextras) then … … 26 35 27 36 on xscr scrName 37 ----------------------------------- 38 -- CREATED: 11.02.2008 39 -- ACTION: Description 40 -- INPUT: - 41 -- RETURNS: - 42 -- CALLER: - 43 -- DEBUG: - 44 -- TODO: - 45 ----------------------------------- 46 28 47 return mGetXScript(scrName) 29 48 end … … 32 51 33 52 on mGetXScript scrName 53 ----------------------------------- 54 -- CREATED: 11.02.2008 55 -- ACTION: Description 56 -- INPUT: - 57 -- RETURNS: - 58 -- CALLER: - 59 -- DEBUG: - 60 -- TODO: - 61 ----------------------------------- 62 34 63 scrName = symbol(scrName) 35 64 if ilk(scrName) <> #symbol then scrName = #commonmoviescript … … 54 83 on mCallDestroy 55 84 call(#mCallDestroy, mGetXScript()) 56 -- call(#mDestroy, the actorlist)85 -- call(#mDestroy, the actorlist) 57 86 end 58 87 … … 61 90 62 91 on mLoadScripts cls 92 ----------------------------------- 93 -- CREATED: 11.02.2008 94 -- ACTION: Description 95 -- INPUT: - 96 -- RETURNS: - 97 -- CALLER: - 98 -- DEBUG: - 99 -- TODO: - 100 ----------------------------------- 63 101 64 102 mediaList = mGetAleXtras()
Note: See TracChangeset
for help on using the changeset viewer.
