Buy my work at:
Folio
This folio is for prospective clients. Curious visitors can view a small selection of my work by logging in with username guest and password user.
-
Recent Posts
Author Archives: Steve
Finding a specific node in an AS3 XML object
Continuing with my updating an Actionscript 2 project to Actionscript 3 I’m really enjoying the optimisation possibilities.
For example, In my as2 code I had a recursive method for finding a node.
// recursive node search
private function findNode(n:XMLNode,name:String,attname:String,attdata:String):XMLNode{
var xNode:XMLNode;
if(n.hasChildNodes()){
for(var i = 0; i < n.childNodes.length; i++){
if(n.childNodes[i].nodeName == name){
if(n.childNodes[i].attributes[attname] == attdata){
xNode = n.childNodes[i];
}
}
if(xNode != undefined){
break;
}else if(n.childNodes[i].hasChildNodes()){
xNode = [...]
Actionscript 3: Inheritance Subclass and private vars
I’m currently updating some as2 projects to as3 and I had a series of 1120 compiler errors this afternoon. I’m a fan of using the ‘extends’ keyword to create customised versions of base classes.
In Actionscript 2 the subclass can access all the variables and methods of the original class. It appears that in ActionScript [...]
Posted in Code, flash
Tagged ActionScript 3, as3, extends, inheritance, oop, private, public
3 Comments
Web publishing integrated into business communication
Getting a website built or redesigned takes a lot of effort. Even if you are lucky enough to have a budget to hire some people to do the heavy lifting for you, designers, developers, SEO experts and perhaps even content writers – there is still work that you the client have to do. All [...]
The allure of web design
On a whim, I recently responded to a LinkedIn question, “Can [your business] make it in your industry without a website?”. I answered with a partially qualified “Yes, you can survive without a web site”.
This response may seem a bit odd as you might think that as a web designer my modus operandi should be [...]
Posted in SEO, web design advice
Tagged business strategy, process, small business, web design
Leave a comment
mp3 music player released on ActiveDen
Today my newest Flash file was released on ActiveDen.net. It is an mp3 player with an attached album and artist library. It is designed to be added to full flash web sites (like those built using my templates) and can handle a lot of music with an accordion style interface for collapsing and expanding artist [...]
Useful code for debugging MovieClip.localToGlobal() headaches
I hate localToGlobal. There I’ve said it. It seems that there are some things in Actionscript that always seem to throw me off – this is my main one.
Today I had another issue while adding a generic tooltip to buttons that in an assortment of sub clips and components – the tooltip needs to know [...]
