History of FSCommand

ThereWiki | RecentChanges | Preferences


Revision 32 . . (edit) April 28, 2004 3:14 pm by Bedicus
Revision 31 . . (edit) April 28, 2004 2:27 pm by Bedicus
Revision 30 . . (edit) April 21, 2004 11:21 am by Bedicus
Revision 29 . . (edit) April 21, 2004 10:45 am by Bedicus
Revision 28 . . (edit) April 21, 2004 4:40 am by Bedicus
Revision 27 . . (edit) April 21, 2004 4:39 am by Bedicus
Revision 26 . . (edit) April 21, 2004 2:00 am by Bedicus
Revision 25 . . (edit) April 21, 2004 1:52 am by Bedicus
Revision 24 . . (edit) April 21, 2004 12:46 am by Bedicus
Revision 23 . . (edit) April 20, 2004 3:34 pm by Bedicus
Revision 22 . . April 20, 2004 9:56 am by Bedicus
Revision 21 . . April 16, 2004 11:02 am by Bedicus
Revision 20 . . April 13, 2004 8:09 am by Bedicus
  

Difference (from prior major revision) (minor diff)

Changed: 7c7,23
In our case, the There client.
In our case, the ThereClient.

FSCommands can be called in one of two ways:

#Using ClientServices, GuiService? to simulate FSCommand (http://127.0.0.1:9999/GuiService/simulateFsCommand).
#Using the actionscript getURL function within a flash movie.

When using FSCommand within a movie, the ThereClient will know the name of the calling
movie. However when using ClientServices to simulate the FSCommand the movie
name must be provided.

A list of running movies and their names can be retrieved from http://127.0.0.1:9999/GuiService/listFlashMovies

This creates the advantage that one movie can simulate an FSCommand on behalf of
another.




Changed: 17c33
:Sets the movie width and height. If this is set beyond the stage, the movie will appear cropped. The movie size cannot be dragged beyond the boundaries of the client window, i.e. if the movie width and height is the same as the client itself, it cannot be dragged.
:Sets the movie width and height. If this is set beyond the stage, the movie will appear cropped. The movie size cannot be dragged beyond the boundaries of the ThereClient window, i.e. if the movie width and height is the same as the ThereClient itself, it cannot be dragged.

Changed: 29c45
:Used to unload the movie from the client.
:Used to unload the movie from the ThereClient.

Changed: 33c49
:Opens an client browser window, perameter is url (inside or outside the client depending on user prefs)
:Opens a ThereClient browser window, perameter is url (inside or outside the ThereClient depending on user prefs)

Changed: 35c51
getURL("FSCommand:PlayUISound?", "uiSoundSelector?="); [Not tested]
getURL("FSCommand:PlayUISound?", "uiSoundSelector?=");

Changed: 37c53,75
:Plays sound depending on the sound ID argument.
:Plays a sound, uiSoundSelector? is an integer and some of the values are as follows,

:0 - Dialog appear
:1 - Open menu
:2 - Close menu
:3 - Enabled menu item rollover
:4 - Disabled menu item rollover
:5 - Menu item activate
:6 - Control rollover
:7 - Control down
:8 - Control up
:9 - Control change
:4096 - Permission denied
:4101 - Save button
:4102 - Undo button
:4103 - Message recieved
:4104 - System message
:4105 - Avatar message
:4108 - System message one
:4109 - Avatar message one
:8192 - Typing backspace
:8193 - Typing crlf
:8194 - Typing any character

Changed: 49c87
:Dont get any ideas, im pretty sure this is client side ONLY :)
:Dont get any ideas, im pretty sure this is ThereClient side ONLY :)

Changed: 55,57c93
getURL("FSCommand:guiCommand", "action="); [Not tested]

:Various arguments, depending on its context (action perameter). Examples below:
getURL("FSCommand:guiCommand", "action=");

Changed: 59,80c95
:getURL("FSCommand:guiCommand", "action=togglepreference&pref=MuteAllSound?"); [Not tested]
:getURL("FSCommand:guiCommand", "action=setpreference&pref=VoiceHandsFree?&value=0");
:getURL("FSCommand:guiCommand", "action=voiceTalk&toggle=0"); [Not tested]
:getURL("FSCommand:guiCommand", "action=outThereWindow?&urlTag=VoiceTrainerUrl?&targetName=There_Central"); [Not tested]
:getURL("FSCommand:guiCommand", "action=map"); [Not tested]
:getURL("FSCommand:guiCommand", "action=places"); [Not tested]
:getURL("FSCommand:guiCommand", "action=activities"); [Not tested]
:getURL("FSCommand:guiCommand", "action=happeningNow"); [Not tested]
:getURL("FSCommand:guiCommand", "action=thisPlaceInfo?"); [Not tested]
:getURL("FSCommand:guiCommand", "action=thisPlaceExit?"); [Not tested]
:getURL("FSCommand:guiCommand", "action=shop"); [Not tested]
:getURL("FSCommand:guiCommand", "action=auctions"); [Not tested]
:getURL("FSCommand:guiCommand", "action=changeMe"); [Not tested]
:getURL("FSCommand:guiCommand", "action=organizer&folder=gear"); [Not tested]
:getURL("FSCommand:guiCommand", "action=help"); [Not tested]
:getURL("FSCommand:guiCommand", "action=guide"); [Not tested]
:getURL("FSCommand:guiCommand", "action=restoreLastWindow?"); [Not tested]
:getURL("FSCommand:guiCommand", "action=thereCentral"); [Not tested]
:getURL("FSCommand:guiCommand", "action=browse"); [Not tested]
:getURL("FSCommand:guiCommand", "action=im"); [Not tested]
:getURL("FSCommand:guiCommand", "action=emotions"); [Not tested]
:getURL("FSCommand:guiCommand", "av=&action=im"); [Not tested] (av = doid)
:Used to issue a GuiCommand.

Changed: 89c104
:OpenQuestion: How to return focus to the main window without the user having the click it?
:OpenQuestion: How to return focus to the main window without the user having to click it?

Changed: 97c112
:Used to request default focus, (Speculation: perhaps when the client window has been focused, this item gets focus).
:Used to request default focus, (Speculation: perhaps when the ThereClient window has been focused, this item gets focus).

Changed: 105c120
:Used to simulate "tab" pressed in the client window. Forces focus to change to the next item.
:Used to simulate "tab" pressed in the ThereClient window. Forces focus to change to the next item.

Changed: 111c126,128
getURL("FSCommand:GrabKey?", "Release=&Code="); [Not tested]
getURL("FSCommand:GrabKey?", "Release=&Code=");

:Used to redirect keys from the ThereClient window into the flash movie, (e.g. arrow keys). Release=0, grabs the key, Release=1, releases the key back to the main window. This only works when the flash movie is in focus. This enables alternative functionality of the arrow keys when the movie is in focus. The values of Code are as follows,

Changed: 113c130,133
:Unsure of usage, but Release is either 0 or 1 (perhaps to indicate on key down or key up).
:165 - Left Arrow
:166 - Up Arrow
:167 - Right Arrow
:168 - Down Arrow

Changed: 137c157
:Used to send text to the client window. (Recent tests proves this isnt the case, I may have done this wrong though, ideas welcome)
:Used to send text to the ThereClient window. (Recent tests proves this isnt the case, I may have done this wrong though, ideas welcome -- Bedicus)

Added: 185a206,209

getURL("FSCommand:messageBarResponse?", "id=&button="); [Not tested]

:Used to return a message bar response.

ThereWiki | RecentChanges | Preferences
Search: