Flash Source | Analog Clock Flash Source | Eyetoy
Sep 01

1.Actionscript 3 Bitmap Segmentor (Source Code Included)

For quite some time now, I have been playing with breaking DisplayObjects into a grid to sample pixel data in order to create visualizations. I have spent time with this in both Actionscript and in Processing (see project). For Actionscript in particular though, I wanted to make the process cleaner and easier to implement. What has resulted is a slightly tangential project which ultimately makes sampling pixel data easier while offering a whole separate set of features. In its simplest form, the BitmapSegmentor allows you to take a DisplayObject’s bitmapData and break it into a grid of individual segments. These segments can then be used for various purposes, including pixel data sampling.

9-1-2008 6-15-21 AM

Read more

2.Actionscript 3 Layout Organizers Examples and Source Code

A while back, I posted a basic example of layout organizers and layout organizers applied to video. I kept talking about how cool I considered this idea to be, yet I had yet to truly explain the idea and (more importantly) the source code for people to download. I wanted to make sure the code was at a good spot before releasing it; I believe that is now the case. You will find examples, the basic gist on how it works and some possible reasons why layout organizers may just make your life easier.

9-1-2008 6-29-02 AM

Read more

3.Actionscript 3 Color Sampler Class

Yesterday, I published a video visualization experiment that used a color sampling engine to drive realtime data-driven abstractions of a video. I promised that I would release the color sampling class with some documentation and an example. Well, I was fortunately enough to have a chunk of time to do just that.

The color sampling class has been documented and gone through an optimization pass. Depending on the implementation of the sampler, performance can begin to get relatively shaky. Nonetheless, the video sampling was able to sample and spit out results at a fairly impressive pace.

sampler-example

Read more

4.Animating Gradient Actionscript 3 Experiment

I have been working on a project that requires a gradient background to shift colors dynamically. I usually am not too big of a fan of gradients in general, so I had never spent too much time with them in Flash. After a few minutes of reading through other people’s experiences however, I found it to be quite easy.

9-1-2008 6-37-40 AM

Read more

5.The Source Code of ActionScript 3 Cookie class–Enables You to Read, Write, and Edit Shared Objects on the User’s Hard Disk

Have you ever wanted to store persistent information in your Flash movies, save login information, shopping cart data, user preferences, even complex objects like arrays? If you have purchased “Flash Extension”, simply import the cookie class and copy the source code like following:

Read more

6.as3xls

Some time ago I was working on a little project for which I wanted to read and write Excel files in Flex. I Googled hither and yon but sadly I could only find a sample someone tossed out there sans code. So, I put together a little package to read and write Excel files. So far it supports reading text, numbers, formulas, and dates from Excel version 2.x-2003 and writing text, numbers, and dates. Formulas also update to reflect changes in cells they reference.

The API is intended to be straightforward and easy to use. There are some samples to play with and the obligatory ASdocs.

Read more

7.ActionScript 3 Cronjob

I wrote a cronjob class in actionscript 3 during my flight back to Lima from San Francisco. This could help you manage repetitive or single tasks in the future using a cron task syntax.

Read more

Share/Save/Bookmark

AUTHOR URL:

One Ping to “Flash Tutorials | 7 AS3 Classes”

  1. Web 2.0 Announcer Says:

    Flash Tutorials | 7 AS3 Classes…

    [...]7 AS3 Classes[...]…


Leave a Reply

This site is using OpenAvatar based on