Peter Elst

Flash Platform Consultant
  • Home
  • About me
  • Articles
  • Downloads
  • Contact me

Spark Europe - Guy Watson

18 11 2005

Despite his cold, Guy gave an excellent overview of the new AS3 features. I’ll run through some of the most notable things he mentioned:

- Flash Player 8.5 has two AVM’s (ActionScript Virtual Machine), old SWF content runs using AVM and AS3 using the new highly optimized AVM+
- AS3 classes need you to define a package, no more long class names
- you can have multiple classes in the same file as long as they are contained in the same package identifier
- you still need the folder structure to reflect the package
- trace() is now flash.utils.trace()
- empty variables now return null instead of undefined
- no more attachMovie etc. you can simply do new MovieClip() and it actually created a new movieclip instance *hoorah!*

var m:MovieClip = new MovieClip();
m.x = 100;

- this.addChild(new MovieClip()); vs this.createEmptyMovieClip(”test_mc”,1);
- underscore properties are no morein AS3 (x vs _x, y vs _y, alpha vs _alpha)
- drawing API is now in flash.display.Graphics
- all instances of MovieClip and Sprite have a graphics property

var s:Sprite = new Sprite();
var g:Graphics = s.graphics;

- no more mx.utils.Delegate needed, ‘this’ now always references the instance in which method was defined
- getURL is now navigateToUrl(new URLRequest(”http://www.flashguru.co.uk”));
- URLRequest class can specify HTTP headers etc.
- LoadVars and LoadVariables now all handled through flash.net.URLLoader
- EventType class with constants (e.g. EventType.COMPLETE = “complete”), compiler can handle this versus using a string
- no more loadMovie in AS3 this becomes flash.display.Loader (for loading in gif, jpg, png, swf)
- you can load external stuff off-stage (in memory) and add them to a DisplayList later when you want it to show

var l:Loader = new Loader();
l.load(new URLRequest(”somemovie.swf”));
this.addChild(l);

- everything except object subclasses EventDispatcher, no more nasty mix-ins
- some other new features: DisplayList API, regular expressions, runtime error checking, sound spectrum analysis, retrieve full class info at runtime, new keywords and statements, more drawing API methods (drawRect), Timer class, create visual objects from binary data, E4X, low-level data access

« Spark Europe - Erik Natzke Spark Europe - Mike Chambers »



Actions

Informations

  • Date : 18 November 2005
  • Categories : Events, Flash, Flex

3 responses to “Spark Europe - Guy Watson”

21 11 2005
bill (19:26:18) :

I thought Guy Watson gave the most uninspiring session till now.

22 11 2005
Peter (01:51:47) :

well I’d give the guy a break (no pun intended) since he had quite a cold when he was presenting. Content wise I think he did a good job presenting the new feature set of AS3.

What I would have liked to see in the session was some more demo’s to help illustrate his more technical slides.

28 11 2005
Martijn de Visser (10:01:50) :

Hey Peter, I put an example of Sound.computeSpectrum online lately which you may want to check out:

http://www.martijndevisser.com/2005/11/as3_computespectrum_bitmapdata.html





Conferences

Flash on the Beach Speaker

Training Partners

multimediacollege

SkillsMatter

  • Categories

    • AIR RSS category feed
    • Ajax RSS category feed
    • CSS RSS category feed
    • Eclipse RSS category feed
    • Events RSS category feed
    • Flash RSS category feed
    • Flash Lite RSS category feed
    • Flex RSS category feed
    • Gadgets RSS category feed
    • General RSS category feed
    • JSFL RSS category feed
    • Mac RSS category feed
    • Open Source RSS category feed
    • PHP RSS category feed
    • Podcasts RSS category feed
    • Publications RSS category feed
    • Rants RSS category feed
    • Reviews RSS category feed
    • Thought of the Day RSS category feed
    • Training RSS category feed
    • Twitter RSS category feed
    • Video RSS category feed
  • Resources

    • LordAlex Leon
    • Patrick Mineault
    • André Michelle
    • Richard Leggett
    • Darron Schall
    • Simon Barber
    • Jonathan Kaye
    • Serge Jespers
    • Josh Tynjala
    • Chafic Kazoun
    • Scott Barnes
    • Jon Williams
    • Lee Brimelow
    • Burak Kalayci
    • Stephen Downs
    • Matt Voerman
    • Brajeshwar Oinam
    • Sas Jacobs
    • Branden Hall
    • Peldi Guilizzoni

     
     

    Adobe Community Expert

    See my profile on LinkedIn



    Harz Ferienwohnung Suchmaschinenoptimierung Geschenkideen Harz Ferienwohnung Pagerank Webkatalog Webhosting