February 6, 2009
Flex/AS3 can be extremely frustrating, as well as being very powerful. I’ve spent a couple of days creating a generic class for communicating with PHP, catching the response and sending it back to the calling object. I’d got fed up with having multiple, almost identical, event catching functions all over the place. So, having done [...]
Read the full article →
January 29, 2009
Here’s a simple, two line function for removing spaces (can be adapted for any other character) from a string in AS3. I used it for removing any spaces typed into a Post Code. public function stripspaces(originalstring:String):String { var original:Array=originalstring.split(” “); return(original.join(“”)); } All we’re doing is splitting the array using the space character and then [...]
Read the full article →