I write this code
Code: Select all
private function exitRoom(evt:Event):void {
sfs.send(new LeaveRoomRequest());
}
1180: Call to a possibly undefined method LeaveRoomRequest.
I tried to import the class alone
Code: Select all
import com.smartfoxserver.v2.requests.LeaveRoomRequest;
Code: Select all
import com.smartfoxserver.v2.requests.*;
1172: Definition com.smartfoxserver.v2.requests:LeaveRoomRequest could not be found.
Am I really missing it? If yes, how to get it?
Thanks