I have always had a habit of doing all my init stuff in the class constructor as do most other people. But today I found a GOTCHA in Flash CS4 when publishing an AIR file. I was trying to use a ProgressBar and set it’s value manually. I could not see the bar change it’s value even though there was no errors. Nothing I did made it work. This was a problem since there was no errors letting me know that there was a problem, the progress bar just did not work and that’s all I had to go off of. Later I tried to place my document class code on the timeline which made the progress bar work, leaving me even more confused and fustrated as to the problem.
In the End I found this had to do with the document class trying to set properties of the ProgressBar before the document class had a chance to be added to the stage.
Aside from my story, this may or may not ever be a problem for you , but it begs the question should this be a standered and would you follow it?
This is just a reminder that today Joey Lott will be presenting for AS3 Apex and the Flex and Fuse the arch user group at 3pm. You can get more info on this at http://www.as3apex.com/as3/joey-lott-is-coming-to-stlouis-on-october-4th/
Hope to see you there.
- Josh Chernoff.
Date:
07-12-08
location:
kayaks coffee house
http://www.kayakscoffee.com/home.html
276 North Skinker Blvd.
st.Loius MO, 63130 Map
Time:
6pm
Come and join us for our first meeting about the tools of the trade. I will be presenting about the different ways you can make and use AS3 and as well why each different way is best in their own way. This will be a perfect time for any one who is new to Action script to come and learn as well if you have been using flash for years I will be showing a few things that you may have never seen before. I will also be showcasing Arthropod which is a great new AIR application for debug tracing.
Also if you didn’t know I will be broadcasting this meeting live on the front page.
the bad news is this time around I can only support 30 people at a time since flash media servers needed to broadcast are not cheep. If you would like to donate some money to upgrade our flash media server to support more live connections please paypal it to josh@gfxcomplex.com. Even Then the meeting will be recorded for later viewing available to all.

As a action script coder you have some choices you may not have known about. One of which is my personal favorite named FlashDevelop found at http://www.flashdevelop.org. One of the great things about this coder IDE is that you can easly create a flash, flex or Air project complete with code hinting of custom classes. the other really cool function of this IDE is how it can make getters and setters as well as Event Listener methods just by selecting the var or eventlistener and using Ctrl+Shift+1. The other really great thing about this IDE it’s completely free. There is also a great snipit and template system.
Now as you may already can tell this IDE is a stronger alternative for the Flash IDE where as people who use Flex my feel they can already do most of the things that FlashDevelop provides in the flex builder. Even then you can’t go wrong with FlashDevelop since you can compile with the flex SDK or the Flash IDE from with in one place.