help in openspace_tester example

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

Moderators: Lapo, Bax

bamboosam
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
Bax
Site Admin
Posts: 4386
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

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 2 guests