Can you use AS2 basic SmartFoxServer coding in AS3?

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
Buffy1011
Posts: 48
Joined: 18 Sep 2011, 17:45
Location: Wisconsin
Contact:

Can you use AS2 basic SmartFoxServer coding in AS3?

Post by Buffy1011 »

Hiya.
I'm working on making my game in AS3 instead of AS2 now, and I'm wondering if I can use some of the same coding techniques in AS3 as AS2? Or is there a big difference?
Thanks!
~Buffy
reecedogcp78
Posts: 71
Joined: 12 Dec 2010, 18:16

Re: Can you use AS2 basic SmartFoxServer coding in AS3?

Post by reecedogcp78 »

Buffy1011 wrote:Hiya.
I'm working on making my game in AS3 instead of AS2 now, and I'm wondering if I can use some of the same coding techniques in AS3 as AS2? Or is there a big difference?
Thanks!
AS3 Is generally better than AS2, As for using AS2 Code in AS3 Im not sure.
~Reecedog,

Experienced blogger with 100 thousand hits gathered.

New to SFS But also very good with it :)
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Post by rjgtav »

Hi.

Regarding the SFS API, it is mostly the same in either AS2 or AS3. Regarding the rest of the code, AS3 is a more OO (Object Oriented) language than AS2, and there are much more better techniques in AS3 than the ones used in AS2.
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.
Post Reply