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 joining that array back together into [...]
Read the full article →
November 28, 2008
If you’re a Captivate user, you’re probably aware that there are a number of Captivate variables that you can access from Flash. In other words, you load up a Captivate SWF inside a Flash movie and can then access some information about that Captivate movie including, for example, the number of slides, the current slide [...]
Read the full article →