|
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. |
|
: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. |
|
:Used to unload the movie from the client. |
|
:Used to unload the movie from the ThereClient. |
|
: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) |
|
getURL("FSCommand:PlayUISound?", "uiSoundSelector?="); [Not tested] |
|
getURL("FSCommand:PlayUISound?", "uiSoundSelector?="); |
|
: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 |
|
:Dont get any ideas, im pretty sure this is client side ONLY :) |
|
:Dont get any ideas, im pretty sure this is ThereClient side ONLY :) |
|
getURL("FSCommand:guiCommand", "action="); [Not tested] :Various arguments, depending on its context (action perameter). Examples below: |
|
getURL("FSCommand:guiCommand", "action="); |
|
: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. |
|
: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? |
|
: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). |
|
: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. |
|
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, |
|
: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 |
|
: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) |
|
getURL("FSCommand:messageBarResponse?", "id=&button="); [Not tested] :Used to return a message bar response. |
Description,
In our case, the ThereClient.
FSCommands can be called in one of two ways:
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.
FSCommands found are listed below. (written as actionscript getURL calls)
getURL("FSCommand:setStageWidthHeight?", "width=&height=");
getURL("FSCommand:setWidthHeight?", "width=&height=");
getURL("FSCommand:beginDragWindow?", "");
getURL("FSCommand:setTextureBitDepth?", "depth=32");
getURL("FSCommand:closeWindow", "");
getURL("FSCommand:browser", "");
getURL("FSCommand:PlayUISound?", "uiSoundSelector?=");
getURL("FSCommand:Log", "level=&msg=\n"); [Not tested]
getURL("FSCommand:removeObject", "Object="); [Not tested]
getURL("FSCommand:setTherebucks", "Amount="); [Not tested]
getURL("FSCommand:changeState", "AvatarState?="); [Not tested]
getURL("FSCommand:guiCommand", "action=");
getURL("FSCommand:copyToClipboard?", "text="); [Not tested]
getURL("FSCommand:getKeyboardFocus?", "");
getURL("FSCommand:getWindowFocus?", "");
getURL("FSCommand:requestDefaultFocus?", ""); [Not tested]
getURL("FSCommand:requestNextFocus?", ""); [Not tested]
getURL("FSCommand:tab", ""); [Not tested]
getURL("FSCommand:NewMessage?", ""); [Not tested]
getURL("FSCommand:GrabKey?", "Release=&Code=");
getURL("FSCommand:IMSummon", ""); [Not tested]
getURL("FSCommand:IMAddBuddy?", ""); [Not tested]
getURL("FSCommand:IMAddIgnore?", ""); [Not tested]
getURL("FSCommand:IMRemove", ""); [Not tested]
getURL("FSCommand:IMAdd", ""); [Not tested]
getURL("FSCommand:addChatText?", "text=");
getURL("FSCommand:beginChangingAvatarLooks?", ""); [Not tested]
getURL("FSCommand:setSiblingWeight?", "name=&weight=&bodyChangeCategory?="); [Not tested]
getURL("FSCommand:setPhenomorphWeight?", "name=&weight=&bodyChangeCategory?="); [Not tested]
getURL("FSCommand:setFeatureColorIndex?", "index=&bodyChangeCategory?="); [Not tested]
getURL("FSCommand:endChangingAvatarLooks?", ""); [Not tested]
getURL("FSCommand:registerFlashProp?", "var=&val="); [Not tested]
getURL("FSCommand:setFlashProp?", "var=&val="); [Not tested]
getURL("FSCommand:newChildPluginWindow?", "id=&url=&type=");
getURL("FSCommand:closeChildPluginWindow?", "id=");
getURL("FSCommand:requestChangeMeLeave?", ""); [Not tested]
getURL("FSCommand:activePobAction?", "poid=&action="); [Not tested]
getURL("FSCommand:doNotShow?", ""); [Not tested]
getURL("FSCommand:messageBarResponse?", "id=&button="); [Not tested]