Browsing the 2009 May archive

I got some xml text line break issues in my latest project. The texts look good viewing them locally, but when uploading the project to the customer server I get a lot of extra line breaks. I am not really sure why this problem occurs but I guess it has to do with the server platform. I tried to save the xml with a different encoding but with no luck so I wrote this simple method. It works. 

public function fixLineBreakIssues(value : String) : String
{
    return value.split("\r").join("");
}
 
// usage
txtField.htmlText = fixLineBreakIssues(xmlText);

Post to Twitter

Tagged with , , ,

I stumbled upon a this new search engine dedicated to Actionscript.
Pretty neat.

www.hexosearch.com

Post to Twitter

Tagged with , ,

I haven’t  been able to post on the blog lately because I’ve been really busy lately making games.

But soon. Soon! Promise …

photo-129

Post to Twitter