Flash tutorials | 9 Classes 9-9-2008

1.ActionScript 3 Wedge Drawing Class

Here is another class that I wrote thanks to this old tutorial. This is similar to the Arc class except that it draws wedges instead. These are great for doing lightweight charting stuff. You can get the code at my Google Code repository. The example below rapidly animates new wedge shapes creating a cool effect. You can click on the image below to check it out.

wedge

Read more

2.[AS3.0] Reflection Class

Been working on a project with lost of reflections. I made this class to help me create reflections…

reflection_demo

Read more

3.[AS3.0] Animated Reflection Class

In my previous post i had made a reflection class which makes a nice and need reflection for you. But when you want to reflect an animated clip it did not animate the reflection. Well….. i have made an upgrade on that Reflection class and now you can pass in a parameter if it’s animated or not.

9-9-2008 4-35-36 PM

Read more

4.[AS3.0]Pixels2Object Class

Somehow i had the urge to do something with the color data from a BitmapData object.
The result is this little class that makes a 2D Array ( Object with arrays inside ) that containtains de values from every pixel inside the BitmapData object.
USAGE:
var newObj:Object = Pixels2Object.getPixels( image.bitmapData );
trace( newObj.row0 );
trace( newObj.row1 );
trace( newObj.row2 ); //you can output a row arrow with –> obj.row+number

Read more

5.[AS3.0]Multi Image Loader Class

After i did the Multi Image Loader AS2.0,
I wanted to make an AS3.0 version of the class.

Read more

6.[AS3.0]TypeSorter Class

To spare some time on saving variables in a structured enviroment, i made this little TypeSorter class.

The static function TypeSorter.sort accepts any variable. It will save the variables and sort them acccording to their data types. TypeSorter.sort will return an structured object with arrays.

Read more

7.[AS3.0] MultiXmlLoader class

Had some free time and a good idea.
This class can load multiple xml files and will spit them out in events.

Links:

Read more

8.[AS] FotoSlider3D Class

I am on my way to learn some trigonometry and some geometry for Flash. I am in search of a new challenge within the actionscript grounds. Therefor i like to build a 3D enviroment for Flash based on actionscript. Learning from actually building a application with your idea is the best way to improve.
To start my research i builded a FotoSlider3D class, which loads photo’s from a directory and puts them in a nice 3 dimensional cirkel. You can input your own configurations like:
- Directorie to load
- Number of objects to load
- Height
- Speed

You can find a beta demo of the FotoSlider3D class here

Have fun!

Part 1 | Part 2 | Part 3| Part 4

9.New VideoViewer Class Source

Alot of people were asking me to post the source for my classes as I post them. So here is the updated source.

Read more

Share/Save/Bookmark