View Full Version : Quick Question...
dizz
January 21st, 2003, 11:04 PM
Okay I have read a lot on actionscript and done a few tutorials from here and other places, I have come to notice that it is pretty much the same as C++.
My question is: Can you use functions and/or classes, and if you can how would you go about doing so?
Thanks in advanced.
BTW Awesome site you have here!
Scootman
January 21st, 2003, 11:43 PM
i am learning c++ and yeah ive noticed its very similar... you can do functions and classes... and even switch statements... its really cool... i unfortunately never got really into it... i think there are prototypes too... you might want to check on the actionscript tricks page... i think it has somthing about prototypes and functions... classes you will have to ask someone else... i know there are some people who can help you here... and switch statements are the same as c++ as far as i know... so check out the actionscript tricks... heres the link
http://www.kirupa.com/developer/actionscript/as_tricks.asp
look at
dynamic event handlers with Flash MX
using prototypes instead of functions
i think those will give you a little insight...
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.