Launching interface from OpenSpace

Post here your questions about the OpenSpace 2.x or notify bugs and suggestions.

Moderators: Bax, Lapo

Launching interface from OpenSpace

Postby mmancuso » 19 Mar 2012, 18:26

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,
mmancuso
 
Posts: 19
Joined: 04 Feb 2012, 23:01

Re: Launching interface from OpenSpace

Postby Bax » 20 Mar 2012, 09:12

As you are hiding the map I would also use the IOpenSpaceAPI.unloadMap method, to release the resources used by OpenSpace.
Paolo Bax
The SmartFoxServer Team
User avatar
Bax
Site Admin
 
Posts: 3852
Joined: 29 Mar 2005, 09:50
Location: Italy

Re: Launching interface from OpenSpace

Postby mmancuso » 20 Mar 2012, 13:28

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.
mmancuso
 
Posts: 19
Joined: 04 Feb 2012, 23:01


Return to OpenSpace v2 discussions and help

Who is online

Users browsing this forum: No registered users and 2 guests