Page 1 of 1

Flash API ( AC3 ) warning

Posted: 01 Sep 2010, 06:48
by shlomi
hi,

after i updated the Flash API ( AC3 ) in my project the following message started appear:
Description Resource Path Location Type
1008: variable 'theRoom' has no type declaration. SysHandler.as /XXX/[source path] AS3/it/gotoandplay/smartfoxserver/handlers line 406 Flex Problem
i think you just need to chage the line 406 in file SysHandler.as from:

Code: Select all

var theRoom = sfs.getRoom(roomId)
to

Code: Select all

var theRoom:Room = sfs.getRoom(roomId)