**Error** Scene=Scene 1, layer={ code }, frame=9:Line 60: The class or interface 'SmartFoxClient' could not be loaded.
var smartfox:SmartFoxClient = new SmartFoxClient()
**Error** Scene=Scene 1, layer={ code }, frame=16:Line 136: The class or interface 'User' could not be loaded.
var user:User = userList[i]
**Error** Scene=Scene 1, layer={ code }, frame=16:Line 235: The class or interface 'User' could not be loaded.
smartfox.onUserVariablesUpdate = function(user:User)
**Error** Scene=Scene 1, layer={ code }, frame=16:Line 264: The class or interface 'Room' could not be loaded.
smartfox.onUserCountChange = function(roomObj:Room)
**Error** Scene=Scene 1, layer={ code }, frame=16:Line 274: The class or interface 'User' could not be loaded.
smartfox.onPublicMessage = function(msg:String, user:User)
**Error** Scene=Scene 1, layer={ code }, frame=16:Line 294: The class or interface 'User' could not be loaded.
smartfox.onAdminMessage = function(msg:String, user:User)
**Error** Scene=Scene 1, layer={ code }, frame=16:Line 483: The class or interface 'Room' could not be loaded.
var room:Room = smartfox.roomList[roomId]
Total ActionScript Errors: 7 Reported Errors: 7
how do i fix all this.
problem in all the Examples
bax wrote:As the error shows, Flash is not able to recognize the SmartFoxClient, User, etc. classes. You have to add the SmartFoxServer API classes to the classpath of your .fla file.
Read chapter 4.1 of the online documentation.
I have the same problem here, but error still generates.
Added the API trough Adobe Extensions, and added the classpath to the file.
But it claims: Tha class or interface 'SmartFoxClien' could not be loaded.
What now?
Just simply opened the simpleConnect.fla and hit Test Movie (CS4, AS2, Win 7).
Could be something around idiot Windows 7 restrictions on accessing stuff in Program Files?
Who is online
Users browsing this forum: No registered users and 13 guests