Flash tuorials | Tutorials on Flash Player 10 Roundup part 2
1.Texture Mapping in ActionScript 3 and Flash CS3: a Bitmap Sphere
In this tutorial, we deal with the important subject of texture mapping in AS3. We use our custom AS3 classes, BitmapTransformer and BitmapSphere, to put a bitmap image on a sphere and to create a textured surface. The sphere can be rotated in 3D. Below, our first example. On the next page, we show a wood-textured sphere.
2.Dynamically changing Pixel Blender data at runtime
we will be modifying the file that we did last time so that the user can change the red,blue and green channels and the alpha values at runtime
3.3D effects in Flash Player 10 - Astro
One of the coolest features of Flayer Player 10 (Astro) is the added 3D support. Every DisplayObject now has a z co-ordinate property to specify depth. So, here is a small example to show the 3D capability of Flash Player 10.
4.Pixel Blender Tutorial : Using Pixel Blender in Flex
Pixel Blender Toolkit is a new graphics programming language being developed by Adobe. Pixel Blender Toolkit can be used to create Pixel Blender filters and effects. You can find a lot of sample filters in the Gallery in Adobe Labs and in the Pixel Blender Exchange. The Pixel Blender reference(which is in the docs folder inside your Pixel Blender Toolkit Folder with the name “PixelBenderLanguage10“) explains the basics of the language. Start the Adobe Pixel Blender Toolkit and click on “Create a new Filter” button. You’ll see that a small program is automatically generated. Type the following code and save it with any filename.
5.Read and write local files with Flash Player 10
One of the features that I’m most looking forward to in Flash Player 10 (codenamed Astro) is local file access. Once the pipe dream of web application developers the world over, the next version of the Flash Player will allow you to read from and write to local files using a simple ActionScript interface.
6.Bitmap Art with the Vector Class in ActionScript 3.0 / FP10
7.Flash 10: new method BitmapData.histogram();
histogram() method
flash10 function histogram(hRect:Rectangle = null):Vector
Language Version : ActionScript 3.0
Player Version : Flash Player 10
Computes a 256 bin histogram of a BitmapData object.
The functions returns a vector of 4 number vectors.
The 4 number vectors represent the red, green, blue
and alpha components respectively. Each number vector
contains 256 values which represent the population count
of a indivual component value, from 0 to 255.
8.Flash 10, testing graphics.drawPath()
Here’s some results from testing the new methods in Flash 10 graphics:
method drawPath(commands:Vector, data:Vector, winding:String = “evenOdd”)
commands: Vector of Strings holding info like MOVE_TO, LINE_TO, CURVE_TO etc,
data: Vector of Numbers defining the x,y -coordinates for line graphics
In the demo I take two horizontal lines of the bitmap with perlinNoise, and create curves with y by pixels value.
9.Loading Pixel Bender Filters in Flash 10
Below is some bare-bones code that shows you how you can load in Pixel Bender filters at runtime. This example uses the new ability to load local files into the player but you could just as easily use URLLoader to import the PBJ file. However you get the file into your movie, all you need to do is a create a new ShaderFilter using the imported shader data.
10.Peer to Peer (P2P) in Flash Player 10 beta
There has been a lot of great excitement around RTMFP (Real Time Media Flow Protocol), especially because of the peer to peer (P2P) communication that is enabled in Flash Player 10 beta. This is a natural time to speculate about what cool applications you will build with new technology, so I’d like to give you some more information for you to work with.



Comments (2)
August 22nd, 2008 at 1:29 pm
Thanks for putting up my tutorials.
August 26th, 2008 at 7:13 pm
Кажется всем понравится.
Trackbacks - Pingbacks (0)