Tutorials on Flash Player 10 Roundup part 1

1.Flash Player 10 Drawing API

Flash Player 10 expands greatly on the drawing API in ActionScript, more so than any other version of the Flash Player since the initial introduction of the drawing API in Flash Player 6. New features include:

  • Support for Pixel Bender (Hydra) filters
  • Use of vectors (typed arrays) for improved throughput and use of memory
  • Support for non-zero winding rules
  • An API for drawing triangles with support for 3D perspective rendering
  • Drawing API data objects

Though the older APIs still exist, and to much of an extent work with the newer APIs, these new enhancements mostly render those old APIs obsolete. This is especially the case with the IGraphicsData objects which serve as data representations of all the available APIs.

drawtriangles_rotating_bridge

Read more

2.Using Flash Player 10 within Flex Builder

Here is a step by step tutorial for setting up Flex Buillder 3 to compile for the new Flash Player 10 beta. This setup will also get you code insight for the new Flash Player 10 APIs.

2507574745_e2a423d644

3.Create a Card Flip Effect For Flash Player 10 using ActionScript 3

It surprises me that one of the most commented upon and downloaded classes from my blog is a card flipping effect. With that in mind, I thought it might be an interesting exercise to recreate this effect targeting Flash Player 10. As of the writing of this article, Flash Player 10 Beta (Astro) and the corresponding API documentation have been released. This article will step you through the classes used to achieve a card flipping effect using the new rotationY property that exists in Flash Player 10.

8-20-2008 10-11-03 AM

Read more

5.Getting Started with 3D Methods in Flash Player 10

In mid May, Adobe Labs released the beta version of Flash Player 10 (code name ‘Astro’) and a nightly build of Flex 3 SDK that can compile content for Player 10. The new version of the Player has caused great excitement in the Flash community and for a good reason: Player 10 is loaded with new features, including native 3D support. Player 10 uses ActionScript 3 just like Player 9, but it supports new AS3 classes and methods. In this tutorial, we use the most basic of the new AS3 3D methods. These most basic methods allow for creating great 3D effects with just a few lines of code.

rotate

Read more

6.Using Vectors in ActionScript 3 and Flash Player 10

One of the new ActionScript features included in the Flash Player 10 Public Beta is the inclusion of a Vector class. Essentially, the Vector class is a typed Array, and in addition to ensuring your collection is type safe, can also provide (sometimes significant) performance improvements over using an Array.

Using the Vector class is pretty simple, and very similar to using an Array. In fact, the Vector class contains all of the same methods as the Array class. The main difference is how you instantiate it.

Read more

7.The drawTriangles Method in Flash Player 10 for 2D Image Transformations

In this experiment, we continue examining new ActionScript 3 methods that will be available in Flash Player 10. If you need help installing the beta version of FP10 and the authoring tool, consult our first Flash Player 10 tutorial: Getting Started with 3D Methods in Flash Player 10.

To open the live version of the ‘free transform of a bitmap’ applet, click on the appropriate link below the picture. If you have Flash Player 10 Beta 1 (relased May 15), click on the first link. If you have Flash Player 10 Beta 2 (released July 2), click on the second link.

8-20-2008 10-36-20 AM

Read more

10.Interactive, Open-Sided Bitmap Cube in Flash Player 10

In this experiment, we continue examining the native 3D support provided by Flash Player 10. If you need help installing the player and the authoring tool, consult our previous Flash Player 10 tutorial: ‘Getting Started with 3D Methods in Flash Player 10′

To open the appplet, click on the appropriate link below the picture. If you have Flash Player 10 Beta 1 (relased May 15), click on the first link. If you have Flash Player 10 Beta 2 (released July 2), click on the second link.

cube10

Read more

Share/Save/Bookmark