Back in November, Danny
Dura and I did a small world tour to talk to our
international communities about ActionScript 3.0. Danny did
Europe, and I did Asia. We put together a PowerPoint presentation
(which you can view
here), and several good code examples (which you can download
here). The presentation covers:
- Regular Expressions.
- E4X. The new and very simple way to create, parse, and
query XML in ActionScript 3. - ExternalInterface API. Allows your Flash content to
communicate with its container (usually the HTML page via JavaScript)
without any additional libraries. - File upload. Shows how to upload a file using Flex and save
it on the server using ColdFusion. (File upload is actually already
available in Flash 8.0, but this is a Flex 2 example). - Data types. Lists all the ActionScript 3.0 data types and
their default values. - Operators. Demonstrates some of the ActionScript 3.0
operators. - Packages. Demonstrates how packages work in ActionScript
3.0. - Rest arguments. ActionScript 3.0 supports a concept of
“rest arguments” which you allows you to make some argument required,
and also handle an arbitrary number of additional arguments. - Proxy. The flash.util.Proxy object is a more powerful
version of __resolve. - Reflection. Shows how to introspect ActionScript 3.0
classes. - Timer. Shows how to execute code at a specified interval.
- The new display list API.
To run these examples and build your own Flex 2.0
applications, you’ll need to grab the Flex
Builder 2 alpha from Adobe
Labs.
