The amazing adventures of Doug Hughes

Before I stareted developing applications in Flex, I was primarily a ColdFusion developer (and still am). OK, there was that brief time when I used PHP, but I was going through a ‘phase’. I missed the seemingly mythical debugger in earlier versions of ColdFusion, so when I started developing Flex applications, the debugger was just this thing in the toolbar that had a nifty little button, but I was really not to sure what to do with it.

Once I started to understand how to use the debugger, I learned that the debugger is my best friend and one of the greatest learning tools for Flex. Here’s an example. A little bit a go, a friend asked me a question about <mx:tilelist> and if you could figure out what row and column an item was in. Not knowing for sure, I opened up an application I knew had a tileList and added an ‘itemClick’ property which called a method I created. I added a breakpoint to the method and debugged the application. I found more information about the tileList than I could ever want. By looking at the ‘target’ of the mouse event, I discovered some properties I never knew existed, such as rowCount and ColumnCount. Using this information and the slectedIndecies you can easily figure out the row and column for any selected item.

Don’t just use the debugger when you have a problem, use it to learn more about Flex and its components. Let it become your best friend, it truly is one of the more powerful tools Flex developers have.

Comments on: "The Flex Developer's Best Friend" (8)

  1. Jamie Samland said:

    I ❤ the debugger. There's a lot I don't know about the properties of events for example. I might have a MouseEvent trigger some function, so I just drop a break point at the start of that funcion, with nothing else in it, and use the debugger see what I can get about the mouse. I love it. And I recommend ServiceCapture for debugging communication with the CF backend.

    dyingstar.com/blog

    Like

  2. ioipulk.

    Like

  3. Need 3 Flex engineers in New York City:
    1. Work part time or full time with us.
    2. Good at Adobe Flex technology.
    3. Please contact us for other requirement and details.

    Like

  4. Busycode Inc. is a top Adobe Flex shop who develops Flex/AIR
    applications for clients. For more info,
    please visit http://www.busycode.com

    Like

  5. Need 3 Flex engineers in New York City:
    1. You have to be living in New York City for now.
    2. Work part time or full time with us.
    3. Good at Adobe Flex technology.
    4. Please contact us for other requirement and details.

    Busycode Inc. is a top Adobe Flex shop who develops Flex/AIR applications for clients.
    For more info, please visit http://www.busycode.com

    Like

  6. Thanks for this. Good reading (should be obvious for most) nice that its been addressed.
    Admin Cnet

    Like

  7. Adobe Flex Developer looking for a job

    1. Super low price.
    2. Top outsourcing service provider for Adobe Flex technology.
    3. Sixty plus full time Adobe Flex developers ready for you.
    4. A San Francisco and Beijing based company.
    5. “Adobe Flex/AIR + C#/Java/PHP + SQL Database” is our skill set.
    6. Keywords for Busycode Inc. are Flex developer, Flex coder, Flex expert, Flex engineer, Flex specialist, Flex programmer and Flex outsourcing service
    provider.
    7. Please visit http://www.busycode.com

    Like

  8. No.1 Adobe Flex Developer Team need sales agents in US

    We develop software for our customers with Adobe Flex technology.
    If you can help us to find customer,
    you will share permanent cut above our hourly rate.
    Keywords for Busycode Inc. are Flex developer, Flex engineer,
    Flex specialist, Flex coder, Flex expert, Flex programmer
    and Flex outsourcing service provider.
    Please visit http://www.busycode.com

    Like

Comments are closed.

Tag Cloud

<span>%d</span> bloggers like this: