I have a chat program that works perfectly using the SFS2X_API_AS3.swc I wanted to add a video chat option to this system and have Redbox and everything working with the SmartFox server, ran the examples, everything is working fine. When I remove that from my Library paths and add the SFS2X_Redbox.swc I get the following error :
"Call to a possibly undefined method PublicMessageRequest".
This is the only error I get, everything else works with the system. I'm assuming I am supposed to remove the SFS2X_API_AS3.swc from the publish settings library since when I don't absolutely nothing works and I get a bunch of reference errors, as if the two swc's are conflicting.
undefined method PublicMessageRequest when using Redbox SWC
-
geekedatbirth
- Posts: 20
- Joined: 19 May 2011, 22:23
undefined method PublicMessageRequest when using Redbox SWC
Last edited by geekedatbirth on 28 May 2011, 02:04, edited 1 time in total.
-
GameIslandz
- Posts: 20
- Joined: 18 May 2011, 15:07
- Contact:
Re: undefined method PublicMessageRequest when using Redbox
Funny because I just posted a post about the same exact errorgeekedatbirth wrote: "Call to a possibly undefined method PublicMessageRequest".
Join Game Islandz Today:
http://groups.google.com/group/gameislandz
http://groups.google.com/group/gameislandz
-
geekedatbirth
- Posts: 20
- Joined: 19 May 2011, 22:23
Re: undefined method PublicMessageRequest when using Redbox
Same error but for a different reason... I just posted a reply to help you find the Library Paths section in FlashGameIslandz wrote:Funny because I just posted a post about the same exact errorgeekedatbirth wrote: "Call to a possibly undefined method PublicMessageRequest".
-
geekedatbirth
- Posts: 20
- Joined: 19 May 2011, 22:23
Re: undefined method PublicMessageRequest when using Redbox
Quick update : still same issue. The following code still throws an error when I use the redbox SWC instead of the standard SFS API SWC. It's the only error that is thrown.
I have since imported all the classes I need for the AV system and everything works perfect... just that strange bug that is throwing an error.
Since I'm not sure whether I should be using both SWC's or not, I figured I'd add what I get when I have both loaded in the libraries section for my publish settings :
Code: Select all
sfs.send(new PublicMessageRequest(msg, null, curSFSRoom));Since I'm not sure whether I should be using both SWC's or not, I figured I'd add what I get when I have both loaded in the libraries section for my publish settings :
and so on and so on it goes....VerifyError: Error #1111: de.polygonal.ds::HashSet cannot implement de.polygonal.ds.Set.
ReferenceError: Error #1065: Variable ConnectorCover_9 is not defined.
ReferenceError: Error #1065: Variable UserProfileHeader_7 is not defined.
ReferenceError: Error #1065: Variable SFS2XConnector is not defined.