Archive for January, 2008

AS3: SequentialLoader

View Example 1
View Example 2
View Documentation
Download Class & Example Files

The SequentialLoader loads a series of SWFs and/or images in an ordered sequence. This is a conversion of the AS2 SequentialLoader class originally written by Tom Stanley with some additional methods added for more control. Read more »

Tags: , , ,

AS2 → AS3: LoadVars AS3 Equivalent

Download Example Files

ActionScript 3 has done away with the LoadVars class and when I was updating my ContactForm for AS3 I was trying to figure out how to mimic the sendAndLoad() method that LoadVars provided. I stumbled upon an article by Peter Elst which explained how to do this so I’m going to outline the differences here. Read more »

Tags: , , , ,

AS3: ContactForm

View Example
View Documentation
Download Class & Example Files

Creates a communication gateway between a contact form and a PHP script that checks for validity and sends the email. The e-mail checking is rudimentary at best, but it gets the job done. If someone will go through the trouble to try and break this e-mail checker, then by all means spam away (at least that’s the way I see it). Read more »

Tags: , , ,

AS3: SharedObjectManager

View Documentation
Download Class

A simple utility to manage shared objects and their properties. This is the same as the AS2 version but adjusted for use in AS3. Read more »

Tags: ,

AS3: InteractivePNG

View InteractivePNG Post

The maker of Fuse, Moses Gunesch, has created a VERY handy little utility class called InteractivePNG that allows you to disable the hit area of a PNG if the pixels are transparent. Simply put, when you save out a PNG that has transparency, rolling over the transparent part of the PNG will still register a roll over because its part of the image. With this class, that is no longer the case. You can read more about it at the link above which should provide you with a way to get the latest version if it is updated in the future.

Tags: , ,

Using Search Engine Optimization (SEO) In Flash

Download Example Files

After reading an article on SEO and Flex by Ted Patrick and another by Josh Tynjala, I recalled my foray into doing this on a recent Flash project at work. I figured that I should share this with everyone because I know a huge knock on Flash is that it isn’t SEO friendly. Remember, I’m no SEO expert (and I don’t think anyone out there really is), but these things should definitely help out in your Flash projects. Read more »

Tags: , , , , ,

AS2 → AS3: Loading & Playing External Sounds

Download Example Files

Loading and playing external sounds in AS3 is not far off from its AS2 counterpart. The code, as usual in AS3, is a little different because of the new event model, but really boils down to the same thing. Read more »

Tags: , , , , ,

Utilizing The Read More In Wordpress

Just a quick update that I’m going to start utilizing the “more” tag in Wordpress posts to help speed up the loading time of the main page and in hopes of saving you from scrolling 100 ft. down the page if you’re just trying to find a post quickly. I’ve downloaded and activated the Full Text Feed plugin so that your feedreader should still show the full post, however. That is all.

Tags:

Using Google Analytics In Your Flash Projects

Download Example Files

Many times people think that you lose tracking ability in your projects if you use Flash. Of course you can set up multiple SWFs and host them on separate HTML pages on your site, but why bother? You can use Google Analytics to track your button clicks and report to you what buttons users clicked on your site to get to what sections of the SWF file. Read more »

Tags: , , ,