I don't understand why there is no equivalent to the com.smartfoxserver.v2.core.SFSEventParam class/enum in the AS3-lib.
It would make using the API so much easier.
You can see this as a feature-request.
karfau
No equivalent to SFSEventParam on clientside?
Re: No equivalent to SFSEventParam on clientside?
Hi.
The SFSEvent class already has those event constants you find on the SFSEventParam.
Note: the events you get on the client-side are much different from the ones you get on the server-side.
The SFSEvent class already has those event constants you find on the SFSEventParam.
Note: the events you get on the client-side are much different from the ones you get on the server-side.
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Re: No equivalent to SFSEventParam on clientside?
I think you misunderstood me:
the equivalent to the constants in SFSEvent can be found in SFSEventType for the serverside.
But I was talking about constants for the properties of the params object the SFSEvent contains.
(How could they be different, if the server sends data to the client it is not modified.)
the equivalent to the constants in SFSEvent can be found in SFSEventType for the serverside.
But I was talking about constants for the properties of the params object the SFSEvent contains.
(How could they be different, if the server sends data to the client it is not modified.)
Re: No equivalent to SFSEventParam on clientside?
Oh I understand now. Good I idea
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Re: No equivalent to SFSEventParam on clientside?
I agree, you would still need the docs to check which params are actually passed by the event but it would probably make the selection more intuitive.
Noted, thanks
Noted, thanks
Return to “SFS2X ActionScript 3 API”
Who is online
Users browsing this forum: No registered users and 32 guests