Archive for January, 2007

Quiz #1: Find the bug

Where is the bug in this program? It seems to run just fine. But there is a bug. Can you find it?

package {
    import flash.display.Sprite;
    import flash.events.Event;
 
    public class MyClass extends Sprite
    {
        public function MyClass()
        {
            this.addEventListener(Event.ENTER_FRAME,
                function(e:Event):void { trace("enter frame") },
                false, 0, true);
        }
    }
}

Beginner videos: Flex Builder debugger

Lynda.com has posted some videos that introduce the basic functionality of the Flex Builder debugger. If you are new to debuggers, you may find them informative. And even if you are an experienced user, the last free video in the series shows how <mx:TraceTarget/> can sometimes be helpful for watching the network traffic between your Flex app and a server.

« Previous Page