got a thing called smartfox server which can be used as a server for flash but i want to know how to be able to use as2 to be able to create a flash game that is capable of being an online multiplayer game
Your college teaches outdated coding then. If the whole multiplayer thing isn't a college assignment (which I suspect since they're teaching you old versions of AS) then learn enough AS2 to get you past your assignments and if you're serious about this (which you'll need to be to make anything even remotely multiplayer) learn AS3 in your spare time.
and i dont know where to start with it.
Well AS2 and AS3 can't be too different. I can understand some AS2 and I've never touched Action Script in my life, but with the slight programming background I have it's understandable. If you're doing something as close as a previous version it shouldn't be difficult, but like I say, never touched Action Script, so I don't know.
Acctually, they are! As in AS3 is a rewrite of ActionScript! The commands are the same like gotoAndStop() or play(); etc. But there is no such thing as on(release){}, or on(enterFrame){}. In AS3 code cannot be on movieclips on the stage. It can only be on frames and external classes. For events (like on(release){}etc.), the entire way of it has been rewritten, with listeners like:
I might have a good link for the multiplayer online thing. Look here: [url=http://specialrelativity.org/blog/2007/08/05/connecting-with-java-over-a-socket-via-actionscript-3/]