help in openspace_tester example

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

Moderators: Lapo, Bax

Posts: 2
Joined: 23 Apr 2010, 16:53

help in openspace_tester example

Postby bamboosam » 23 Apr 2010, 18:25

hi, I can not understand how openspace_tester create the "OpenSpace" object, I saw "os.addEventListener" in ActionScript, but where is the "var os = new OpenSpace()" ? where is the os come from?
User avatar
Site Admin
Posts: 4433
Joined: 29 Mar 2005, 09:50
Location: Italy

Postby Bax » 24 Apr 2010, 11:49

The example you are referring to is related to OpenSpace 1, so please use the appropriate forum, thank you.

There is no

Code: Select all

var os = new OpenSpace()
because Flash automatically declares that variable using the OpenSpace instance you have on the stage, which has the name "os".
Paolo Bax
The SmartFoxServer Team

Return to “OpenSpace v1 discussions and help”

Who is online

Users browsing this forum: No registered users and 1 guest