I've got the api all set up at it.gotoandplay.smartfoxserver
and my flash class goes something like this...
Code: Select all
package
{
import it.gotoandplay.smartfoxserver.SmartFoxClient;
import flash.display.MovieClip;
public class Test1 extends MovieClip
{
public function Test1()
{
var sfs:SmartFoxClient = new SmartFoxClient();
}
}
}occuring in it.gotoandplay.smartfoxserver.util.Entities1172: Definition mx.charts:AreaChart could not be found.
I've run into this sort of thing before, and it is usually that the library api is designed for Flex, which seems to use a lot of mx... classes.
Has anybody had better luck? Any inkling at all? AS3 documentation is sparse as hell!