So I attended a game jam this weekend. I haven’t done any flash programming for about 2 years, so it was fun to take a trip back into the past and write some Actionscript again.…
Tag: as3
CSS Sprite Map Generator for background-image
So yesterday I thought it would be useful to have a tool that generates CSS classes based on defined slices of an image. There are tools out there that do this but I wanted to…
Flixel Animated TileMap
So I was putting together a game where I wanted an animated tilemap in flixel, it did not seem to have this functionality natively, so I created a class for it and thought I'd share.…
flash punk 101
I've been playing recently with Chevy Ray's FlashPunk library, which can be found here. It's a 2d game library built on the premise of bitmapped data for all the speed and performance benefits that comes…
flash cs4 loading font from external swf
Here is a pretty basic overview of how to load fonts from a .swf, great for sites that have many languages, particularly asian characters, where you may need to specify characters or fonts while not…
translating flash site text and audio part 2
Step 2:Audio Class The Audio Library Class, this is a place to store all the references to the audio files to retrieve them and play them back with the getAudio(id) method. It loads the audio…
translating a flash website text and audio
Step 1: Text Class The Text Loader Class, This is a class used for all the text in the site. It takes a few parameters, most notably your model, or whatever class you are storing…
Papervision3D filter notes
Typically when adding filters in papervision you have to use ViewportLayers and apply the filters to them, however this can become messy and tedious if you are applying filters to a large number of objects.…
as3 custom events made easy
I've seen a lot of tutorials on this and none of them seem so straightforward so here goes. So let's say i have a class and i have another class that extends something like socket…
looping through object parameters
today i wanted to be able to pass an object into a function and have it apply the parameters of the object to my custom movieclip class, so I needed to loop through an object's…