Home > AS3.0, Flash > Flash Forward: Learning AS3 for designers

Flash Forward: Learning AS3 for designers

September 23rd, 2007

Lately a lot of designers have been asking me the what they can expect to be different in CS3 and AS3 where they are concerned. I took notes of the recent Flash Forward conference in wordpress, so I’ve decided to post this summation of Rich Shupe’s “Learning AS3 for designers” Panel.

I’m sititing in on the Flash forward panel AS3 for designers. I’m curious to see some of the new features in the Flash CS3 IDE where AS3 and designers are concerned, more specifically how designers can animate and bounce things down to AS3 for hand-off to a developer like myself.

Rich Shupe is the speaker for this panel.

General changes

Right now hes summarizing general things that have changed for designers in CS3, primarily the lack of the old onRelease and attachMovieClip/duplicateMovieClip methods.

Now he’s going over changes in scaling. _xscale and _yscale are depreciated in favor of scaleX and scaleY. Values are now 0 to 1 instead of 0 to 100.

Now he’s explaining that actionscript directly on stage objects is gone, and that this is a good thing. All stage objects in flash, if they are to have their own behavior, need to be tied to a MovieClip based class.

Now on to the document class. He’s creating and displaying a custom sprite based class for use on a library item.

Now he’s going over mandatory datatyping in AS3. Datatyping, where is a virtual machine or a compiler is concerned, is really going to work wonders for the performance of the binary applications you’re building.

Display list

He’s explaining how addChild adds items to the top of the display list stack, and thast removeChildAt(number) will remove anything at a specified depth.

Rich is also showing us how to:

Heres an awesome feature of AS3: Reparenting movie clips.
Dynamically creating shapes (although, we could do this in as2.0).

Events

Loading

Now Rich is going over the new URL Request loader in favor of the old loadMovie/MovieClipLoader or the old XML.load method.
He’s now touting a new feature where you can now stop the load process in AS3, and gain access to raw data while the load is in progress.

Sound

Rich is going over the additions to the sound API, primarily that you can now have a new sound channel for each sound object, which effectively gives you a lot more control over sounds Loading can be buffered via the SoundLoaderContext class. You can also access the global sound with the SoundMixer class. You can also compute waveform spectrums with the computeSpectrum method.

Rich had built a quick example of computeSpectrum and using a custoom visualization class to draw and is now showing a waveform analysis swf that he built which is quite impressive looking. He just swapped out the visualization class with something that makes use of the graphics API for a more complex visualization. that uses lines instead of dot sprites.

He’s closing with some books he’s authored, and were done

ian AS3.0, Flash

  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.