On the server side actionscript of my application can I use OO actionscript 2.0? like in my main.asc can I use my defined objects in functions like application.onAppStart() ? If so .. is there a drawback to this? ... I'm relatively new to flash .. and coming from a good knowledge of OOP so that would make it easier for me than using traditional action script .. I hope I didn't say to many dumb things Thank you in advance
Server side AS is actually AS1 with a limited set of methods (and a few additional methods that don't exist in client side AS. You can use OO to the application just like you would have in AS1, but you can't use all of the AS2 syntax like you can in the Flash authoring environment. As for using application.function(), that's perfectly valid, but just using function() will garner the same results. There are a few syntactical differences between client side and server side AS, and they're all (well.. most of them anyway) defined in the help docs that ship with FMS/FCS.
As a note: SSAS is the same as Javascript 1.5. Cheers, FlashTastic
Don't see what you're looking for? Try a search.
|