Page 1 of 1

Launching interface from OpenSpace

Posted: 19 Mar 2012, 18:26
by mmancuso
How would one go about launching a flash interface from OpenSpace?
I'm using Flex and initially I have OpenSpace and my interface in a Vbox, with the interface initially hidden. When a user steps on a tile, I have a trigger set so that the OpenSpace instance will hide, the user will be removed from the OpenSpace room, added to the interface via SmartFox, and I set the interface to visible.
Just wondering if this is the right / wrong way (if there is one!).

Thanks,

Re: Launching interface from OpenSpace

Posted: 20 Mar 2012, 09:12
by Bax
As you are hiding the map I would also use the IOpenSpaceAPI.unloadMap method, to release the resources used by OpenSpace.

Re: Launching interface from OpenSpace

Posted: 20 Mar 2012, 13:28
by mmancuso
Ah perfect, that's what I was concerned about, that setVisible(false) was leaving open space running, thus using more resources.

Thanks a tonne, your help is much appreciated.