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…
Tag: 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.…
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.…
don’t forget to flush()
This is sort of a personal reminder and assistance to anyone else wasting their time on this issue. I was having the problem where my socket was working and communicating as expected on Mac OS,…
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…