nickarthur
11/20/2013 - 3:42 AM

CLOSING CLOUDPARTY HTML CONTROLLERS via script cloudparty

CLOSING CLOUDPARTY HTML CONTROLLERS via script cloudparty

Closing Controllers
 
How do you close a controller under script control? I thought I had that figured out at one point, but I guess not.


Yeah, that one is definitely a little subtle. Look at the 'command' section under listeners on controllerHTMLCreate:

http://wiki.cloudparty.com/wiki/ControllerHTMLCreate#listeners_Element_Keys

Basically you want to create a listener that has command: 'close', and then send a message (controllerMessage) corresponding to that listener.

That worked great. Thank you both much.
 Flag   

- See more at: http://forums.cloudparty.com/discussion/comment/3892/#sthash.Fv3a4gPy.dpuf