Page 1 of 1

Where is com.smartfoxserver.openspace.events.*?

Posted: 08 Sep 2010, 12:17
by frcol
Talking about Slope and FarWest_Ranch, Where (in my HD) the Flash is finding these libraries?

it.gotoandplay.smartfoxserver.
com.smartfoxserver.openspace.

I must put these libraries in my root project?

thanks.

Posted: 09 Sep 2010, 07:02
by Bax
I don't understand your question. First of all, are you talking about OpenSpace v1 or v2? This is the forum dedicated to v2, but you mentioned the examples coming with v1.
Also, all the classes you need are contained in the OpenSpace component you drag on the stage of your Flash project. No external files.

Posted: 09 Sep 2010, 11:15
by frcol
Thanks bax,

I don´t know wich version (v1 or v2) the examples were written at all, because they are in the SFS 1.6.6 folder.

But I found my answer in SFS Docs - chapter 4.1

Posted: 10 Sep 2010, 09:06
by Bax
OpenSpace v1 then.

Posted: 10 Sep 2010, 12:41
by frcol
About packages, I realized that exists:

1) it.gotoandplay.smartfoxserver. - Classes related to use AS3 with SFS. To use in flash I must put:

import it.gotoandplay.smartfoxserver.

2) com.smartfoxserver.openspace. - Classes related with OpenSpace to be used with AS3 and SFS, server and client side.

To use it, I must drag and drop the opensapce component into flash workspace.

3) com.adobe. - what is it? In the FLash API folder I found it.

Posted: 13 Sep 2010, 08:20
by Bax
3) Those are additional classes from Adobe used in some of the SmartFoxServer examples.