class
AS2 vs AS3 when it comes to classes and packages
I’m doing some research into what other people use as their desired AS3 package/class structure.
In reading a handful of articles and reviewing some code, I ran into the following post:
Moving From Flash AS2 To Flash AS3: Packages on 8-bit Rocket
Quick Summary:
- AS2 has a flexible approach to packages
- AS2 package names are more closely associated with the location of the FLA
- AS3 requires full use of packages if you want to use classes or objects
- AS3 requires the use of “public” as a definition of scope
Check out the article — it has some good examples of building out an example package and class structure. It’s a bit basic, but it’s done well.
Please share, it makes me happy:
Subscribe to Email Alerts
Make a Donation
Popular Posts
Follow Me
Recent Posts
Archives
Tags
3g Actionscript Adobe AJAX Android Apple AT&T Blog Browsers Chrome CSS css3 Facebook Firefox Flash Google help HTML HTML5 ie6 IE7 IE8 Internet Explorer iOS iOS 4 iOS 5 iPad iPhone iPhone 4 iPhone 4S iTunes Javascript jQuery Microsoft PHP Safari SEO Steve Jobs Tutorial Twitter Verizon Video web developer WordPress Youtube
Blogroll
- 456 Berea St
- ActionScript 3 Design Patterns
- adactio – home of Jeremy Keith
- ajaxian
- Boxes and Arrows
- Chris Brogan
- CSS Globe
- InsideRIA
- Jarrod Michael Studios
- Johan Brook: Designer and Developer
- Mad Vertices
- NETTUTS
- Portsmouth Community Calendar
- Roomware Blog
- Signal vs. Noise
- Six Revisions
- Snook
- Style Grind
- Tiago’s Weblog
- Viget Extend
- Vitamin
- Whats the latest
- Woork
- zupko.info
