Articles about Flash’

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 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 [...]


Jul 25, 2008

IOErrorEvent.IO_ERROR raised when loading an XML file in IE6

Posted by Dennis in ActionScript, Flash 1 comment

An IOErrorEvent.IO_ERROR was raised when I tried to load an XML file (ActionScript 3.0). This only happened in IE6 on a specific server. The strange thing was that I got a HTTP/1.0 200 OK message in my HTTP sniffer. It turns out that IE6 can’t handle a specific combination of http headers:

Cache-Control: no-cache
Content-Encoding: gzip

There’s a [...]


Nov 13, 2007

Official Sandy3D 3.0 release and new demos

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

It’s out! Finally! Sandy 3.0, the ActionScript 3.0 version of this great 3D engine is here. Read more about the new release on the Sandy blog. Also check out the new demos (the first two on the page are made by yours truly :-).
There’s already a lot of work being done on the next version. [...]


Sep 27, 2007

How to integrate 3D Sandy objects into Flex

Posted by Dennis in 3D, ActionScript, Flash, Flex 30 comments

This small demo shows you how you can integrate Sandy objects into a Flex application. Actually, it’s quite simple. All you need to do is create a UIComponent and use the addChild() method with your Sandy Sprite. This demo takes it a tiny bit further and shows you how you can communicate between a 3D [...]


Sep 25, 2007

Sandy3D: adding interactivity to 3D objects

Posted by Dennis in 3D, ActionScript, Flash, Flex 14 comments

In this small demo you can see how you can add interactivity to Shape3D objects. Every Shape3D object has a property called container which is a native Flash Sprite. This means you can add event listeners and apply filters the same way as you’re used to with Sprites. I added event listeners for the mouse [...]


Sep 21, 2007

The 3.0 RC0 version of the Sandy 3D Engine has been released!

Posted by Dennis in 3D, ActionScript, Flash, Flex No comments

So don’t wait, go to the Sandy site and check it out!


Sep 13, 2007

Getting psychedelic with Sandy 3D

Posted by Dennis in 3D, ActionScript, Flash, Flex 8 comments

Sandy 3D on acid … Created with 3ds Max combined with Dreammania’s AS3 Geom Class Exporter. Sandy 3.0 will be released in a few weeks, so the wait is almost over!! I’ve included the main class so you can see what’s going on here …

Turn on, tune in, drop out
Here are all the classes that [...]


Sep 5, 2007

3D Spikey ball / Scattering objects with Sandy 3.0

Posted by Dennis in 3D, ActionScript, Flash 1 comment

Recently a new functionality has been introduced in Sandy 3.0. It is a method in the Geometry3D class called generateVertexNormals(). As the name already implies, this method generates the normal vector for every vertex in a shape. I’ve played with vertex normals before but this time I wanted to align other objects with the normals [...]


Aug 23, 2007

Papervision3D Tutorials updated

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

My Papervision3D tutorials were too Flex-specific so I made some changes to them. I got lots of comments from Flash developers who were having trouble with the code, so time was nigh for some updates! I also changed the repository URL to point to the new location on Google Code. Enjoy!

Papervision3D tutorial from the ground [...]