August 2008 Archives

Aug 13, 2008

Newline characters not recognized when parsing external XML file

Posted by Dennis in ActionScript, Flash, Flex 2 comments

I encountered this problem when implementing a workaround for the multiline unicode text wrapping bug. I use newline characters (”\n”) to break up the text manually. When I load the XML file and parse it in my Flex app, newline characters are displayed in the text field. Tracing out the string displays “\n” and not [...]


Aug 13, 2008

Flashplayer bug: Incorrect wrapping on multiline Unicode text

Posted by Dennis in Flash, Flex 4 comments

I came across this bug while working on a localised Flex application for one of our clients. In the Thai version of the site the text was wrapping incorrectly. It didn’t cut off sentences where there were whitespaces. Instead it cut off in the middle of words. Take a look at this example:

You can see [...]


Aug 12, 2008

Blender exporter for Sandy, Papervision3D and Away3D updated

Posted by Dennis in 3D, ActionScript, Blender, Flash, Flex 2 comments

The export script for Blender has been updated. It is now compatible with the latest versions of Papervision3D (2.0) and Away3D (2.1.0).
It also contains a bugfix that solves an annoying problem with the “choose engine” dropdown menu.
Download the script here.


Aug 6, 2008

Custom character sets in the Flash CS3 Character Embedding panel

Posted by Dennis in Flash No comments

This is extremely useful when you work with localised applications. It often happens that the character set you have to work with is not in the list or contains more characters than you need to use. The Character Embedding Panel uses an xml file called UnicodeTable.xml. You can find it here: C:\Documents and Settings\<username>\local settings\application [...]


Aug 4, 2008

How to add the Subversion revision number to an ActionScript class using Ant

Posted by Dennis in ActionScript, Flex 4 comments

This comes in quite handy when you want to keep track of which version of your swf file resides on the server. You can trace it out and use Flashtracer or other tools like Flash Inspector. In short, this is what you have to do:

Make sure you have the latest Subversion
Create a template ActionScript class [...]