Archive for October, 2005

Flash 9 - Official JSFL Wishlist?

Monday, October 31st, 2005

It’s that time again already. Macromedia are actively monitoring the community and looking to their customers for suggestions on what features we still think is missing, or could be improved in the next full release of Flash Authoring, codenamed Blaze.

Tomas van der Haase of Macromedia QA has put out an official request on the [ExtendFlash] mailing list for customers to share their wishlists for Flash Extensibility. Use the comments below or post on the list, the top 3 things you would like to do with JSFL which currently are not possible, or are possible, just not gracefully.

Tomas also notes that soon Development Resources in the engineering team will be spoken for (booked out) and changes will become harder and harder to get into the final product, the longer you wait. So now’s your chance, wish away.

Ill start it off, with my wishlist:

  1. Ability to define our own Filter Effects and have them show up in the Filters panel, a filter can be a jsfl script that is executed when it is added to the list of filters for the selected instance. This would require changes in the player to support custom filters.
  2. Ability to create a new document based on a template .fla programmatically.
  3. JSFL Event Model, that amongst other things, will call a specified function in any jsfl scripts that have registered to be told about events. Lots of events, applicationStart, applicationClose, documentOpen, documentClose, documentFocus, frameRemoved, newFrame, newLayer, layerRemoved, actionsChanged…. the list is endless.

How to increase the frame-rate of your Flash movies

Wednesday, October 26th, 2005

I wrote a pretty darn lengthy article conveniently titled “How to increase the frame rate of your flash movies” and it has been published as the cover story in this months issue of the MX Developers Journal magazine. It is online to read for those of you that do not subscribe to the print version of the magazine. It explains Bitmap Caching, Memory Usage and scrollRect Panning in great depth and also contains some tips & tricks ;) Check it out.

[p.s] 100 * 100 != 1000 - Typo in the article [/p.s]

Actionscript 3 - New Capabilities

Tuesday, October 18th, 2005

Actionscript 3 opens up a whole new range of possibilities for web based applications which you may miss at first glance of the new Language Reference.

I dont blame you, after all there is a tonne of new stuff to play with, learn and read about. My suggestion would be to think of a cool application and build it using Zorn and Actionscript 3 to get up to speed with the new language and its capabilities (Who knows you might even find some bugs and help the Engineering Team while your at it).

Taking my own advice, i have been busy coding a fully Flash based Email & News Client. Using the new Binary Sockets in Actionscript 3 i have successfully implemented four common internet protocols (SMTP, Pop3, IMAP and NNTP) which i will release the source-code for in the very near future. Not only that, but i have also learn’t a tonne about the language and the new capabilities.

(more…)

Introduction to Actionscript 3

Wednesday, October 12th, 2005

Actionscript 3 is the next generation scripting language of the Macromedia Flash Platform. In my session at Spark Europe in Amsterdam i will explore the new features and changes of the language from the point of view of an Actionscript 2 programmer. I will discuss native support for Regular Expressions and XML with E4X, analyzing sounds, the new and improved event model, binary sockets and other significant enhancements such as the new ‘DisplayList’, a fundamental part of Actionscript 3 programming. Finally i will take a hard, high, look at what has changed to make the new AVM so much faster than its predecessors.

Spark Europe is going to be a great event, get yourself over to Amsterdam for the first installement of the premier european flash conference.

Actionscript 3 - Yeah Baby!

Thursday, October 6th, 2005

Woooohooo!! See, Macromedia didnt forget about the Flash Developers. Flash Player 8 was mostly a release that was aimed towards Flash Designers with all the new expressiveness features, the BitmapData API is probably the biggest new feature for developers in Flash Player 8. People have wondered for a while where E4X and Actionscript 3 dissapeared to.

Well…. Macromedia revealed some great news today (as you have probably ready by now). A public preview of Flash Player 8.5 which includes Actionscript 3 is expected to be available on October 17th (11 days from now) to coincide with the Macromedia MAX Developers Conference.

The engineers at Macromedia have re-written the Actionscript Virtual Machine (AVM) from the ground up for Flash Player 8.5 with speed of actionscript execution in mind, the player is now highly optimized and the language itself now includes alot of functionality that developers have been crying out for:

  • Performance, performance, performance!
  • Regular Expressions - Pattern Matching
  • E4X - Native XML Datatype
  • Binary Sockets - Make Flash talk many protocols
  • Runtime Error Reporting
  • Updated Event Model
  • Much much more….

Flash Player 8.5, contains both the old AVM and the new AVM for backwards compatibility purposes.

Expect more news in the near future. In the meantime, try to stay calm and read up on E4X and Regular Expressions.