|
LiveScratcher.PlusCom
|
|
07-17-2009, 08:15 PM
Post: #1
|
|||
|
|||
|
LiveScratcher.PlusCom
Used to lay a (string-only) bridge between Plus! and LiveScratcher scripts.
in LiveScratcher call: JAVASCRIPT Code
With a callback function taking one argument (the created channel object). Then in Plus! call: JAVASCRIPT Code
This will call the "onConnect" callback with a newly created channel object. The channel object has 2 methods:
Events from Plus! should be set before Connect call (so that send from the LS callback works), Events from LiveScratcher should be set as soon as possible in the callback function. Events can be changed later on. Note: the return value from onReceive or OnReceive will be converted to a string and returned from send or Send on the other side. |
|||
|
« Next Oldest | Next Newest »
|

Search
Member List
Calendar
Help


