So I've decided to retire the Action Script section of my website. I don't really work with Flash all that much anymore and to be honest, I'm getting quite rusty…
I have been creating a code base for a Screen Manager system that I am using for an iOS app I am building in AS3. I wanted to create a dynamic way to reference and instantiate classes that represent each of the Screens in the app so I can reuse this for other applications in the future and to make it a lot less code intensive.
I setup a series of static variables that held string names to represent each of the Screens in the application. Then when I want to create the screen and add it to the stage I use the getDefinitionByName() method and pass the string name of the class. (more…)
Garbage collection can be a big deal when writing complex programs in Actionscript. Not removing EventListeners is probably one of the biggest sources of AS holding onto memory it doesn't…
As the resident "web guy" for Les Stroud Productions, I was tasked with maintaining and improving upon the flagship website for Les Stroud. Built on Wordpress this site has seen…
I am loving the stupid names I’ve been using for these posts. Pretty soon you’ll have no idea what I am talking about.
In my last post, I showed you have to create a new class and the topic of access modifiers was mentioned. I would like to expand on that topic and use it to introduce a new one for class creation.
Opening a URL in Action Script 3
Navigating to a URL in AS 2 was pretty straight forward.
As with most things in AS3 that has changed a fair amount. It is no longer one line of code. I’ll show you everything and then walk you through it (more…)
My business partner and I had the opportunity to work with SRO/Anthem to create a new online presence for the band Rush. The original site was a mish-mash of elements…
So the first thing you may have noticed is that everything in AS2 that had an underscore in front of it no longer does in AS3. That is a MAJOR issues for all of us lazy coders that just want to copy and paste old AS 2 code into an AS3 document – it will fire all sorts of errors such as this one:
Warning: 1058: Migration issue: The property _x is no longer supported. Use the DisplayObject.x property instead.