Archive for September, 2010

September 12, 2010 2

Flex 4, asdoc and custom tags

By in Action Script, Professional, Programming, XSLT

Today I decided to update to flex 4. After installing version I ran asdoc to see if the comments in my action script library still were ok. Things had changed though, as I discovered. Below I describe my experience and solution. Since I’m sending out my library with various project sources I have included […]

September 11, 2010 0

Weakly referenced listeners

By in Action Script, Programming

I never paid a lot of attention to the 5th parameter of addListener, the useWeakReference parameter. But the other day I decided to play a bit with it. As a reminder of its function I created a small test. To create it yourself, perform the following steps: 1. Create new AS3 movieclip in Flash IDE […]

September 5, 2010 0

Flash quirks: SimpleButton can be a DisplayObject.parent

By in Action Script, Programming

While developing a custom cursor class I came across the following quirk. One of the things the custom cursor class does is checking if mouseChildren of all parent DisplayObjectContainer instances are enabled. It retrieves the current objects under the mouse via this.stage.getObjectsUnderPoint and recursively processes the parent properties till the stage instance is reached. The […]