Changeset 215 for trunk/lingosource/castlib1/doCommandMovieScript.ls
- Timestamp:
- 12/15/08 13:00:15 (3 years ago)
- File:
-
- 1 edited
-
trunk/lingosource/castlib1/doCommandMovieScript.ls (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lingosource/castlib1/doCommandMovieScript.ls
r188 r215 1 -- doCommandMovieScript 2 ----------------------------------- 3 -- DESCRIPTION: 4 -- process the command, which was chosen 5 -- at this point the command string is stored in the globallist, 6 -- as we come here in an asynch process -> MUI dialog 7 -- the command and the paramaters are stored in the global list which we get with: 8 -- call(#mGetGlobalList, mGetXScript()) 9 -- the command string is glob.getaprop(#cmd) 10 -- the parameters are in glob.getaprop(#theParams) 11 -- 12 -- REQUIRES: 13 -- script "aleXtrasMovieScript" as provider for library scripts -> xscr() 14 -- script "commonMovieScript" -- standard handlers -> here to get the globallist -> mGetGlobalList() 15 -- USAGE: 16 -- 17 -- NOTES: 18 -- This handler used to be in "thisMovieScript", but due to a scope bug with calling handlers 19 -- in other movies -> tell the stage unfortunately this doesn't fix the problem. 20 -- I have to investigate later WHY... so calling handlers, which are in this movie will fail 21 ----------------------------------- 22 1 23 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 2 24 on _____________________PROCESS_COMMAND 3 25 end 4 26 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 5 -- process the command, which was chosen6 -- at this point the command string is stored in the globallist, as we come here in an asynch process -> MUI dialog7 -- the command and the paramaters are stored in the global list which we get with: call(#mGetGlobalList, mGetXScript())8 -------- the command string is glob.getaprop(#cmd)9 -------- the parameters are in glob.getaprop(#theParams)10 11 12 ---- This handler used to be in "thisMovieScript", but due to a scope bug with calling handlers in other movies -> tell the stage13 -- unfortunately this doesn't fix the problem. I have to investigate later WHY... so calling handlers, which are in this movie will fail14 15 27 16 28 on mDoCmd dto, dto2
Note: See TracChangeset
for help on using the changeset viewer.
