Insert your normal google analytics code: and your swfaddress javascript with minor additions for the analytics: and there you go, if you know how to use swfaddress then you know how to track your flash…
Category: actionscript
Thoughts about hack-a-thons
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.…
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.…
trace flash log output in terminal
It's a great easy way to debug flash in the browser without relying on third party plug ins. If you want to save it you can even put the command in a text file and…
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…
scale9Grid Actionscript Scaling Quirks
So the nifty scale9Grid scaling mode for movieclips which allows you to maintain rounded corners or fancy perimeters and whatnot for expandable elements like dialogue boxes or expanding menus has some lame little quirks. You…
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.…