PDA

View Full Version : Help with learning Actionscript and Flex


fishfin
08-05-2008, 04:47 PM
I've decided that I want to try to learn some Flex/Actionscript (I understand how to use flex to make forms and stuff like that, but I want to learn how to make things that are a little more interactive, like a game). My previous programming experience is limited to PHP and some simple python.

First, if anyone knows of any good Actionscript tutorials that deal with Flex and not Flash could you please point them out to me, so far I haven't been able to find any.

Second, this is a rough plan for how I want to go about learning (but it can always be subject to change if anyone has any good suggestions). I want to start out with a simple script and slowly tack code onto that, my idea of a base script is something that just displays an image at x and y coordinates. After I've got that working and understand how and why it works I would like to move on to adding something that makes that image move around by excepting keyboard input. After that I'm hoping to have the generals on how both user input and graphics stuff work and I'll decide what to add on next when I get there.

So, what would the easiest way be to make a .swf using flex 3 and action script 3 that will display a 32x32 picture at some set coordinates?

pj-co
08-05-2008, 05:27 PM
I really liked Colin moock's book Essential ActionScript 3.0. It was the first thing I bought when making the transition from AS 2. His writing is pretty good and the examples clear and easy to follow for the most part. It's not flex specific but neither is it flash specific. So you should be able to apply the knowledge to both.

Good luck!

sixtyfootersdude
08-05-2008, 08:00 PM
Welcome Fishfin,

It is not actionscript intensive but I looked at some of the adobe video tutorials. It will help you find your way around the timeline and general flash tools. I never touch any of the tools now, and do everything dynamically with code (curious is this standard anyone?) but I defiantly think that they have some interesting info. The other thing that I did to get started was just some googling of "flash tutorial". Made the classic bouncing ball etc.

Could also be a good idea to get a basic java books so that you can get a good grasp of inheritance, objects, and just object oriented stuff in general.

The flash help is helpful if you have some knowledge of programing. When I started out I read most of the using flash and the programming in actionscript 3 sections in the flash. Also all of the classes and their methods are listed under ActionScript 3.0 classes and components. Brilliant reference.

Good luck to you!