Archive for April 9th, 2008

09
Apr

Makeing iTodo more FLEXible

Just a short note, that I’m going to implement a Flex interface for http://www.iTodo.de/ shortly.
Right now, iTodo is made of PHP, MySQL and the very nice xAjax library, which makes PHP-functions available through client-side JavaScript code.

While the web-interface is OK, I’d like to know, if more people are going to register with iTodo, if I provide an AIR solution.

09
Apr

TATrace: A simple Flex Trace component

Besides the full features Flex debugger, the trace() method is a useful way to inspect variables during debugging a Flex application: If you start a Flex application in Debug mode, trace() prints the value of the passed expression to consol.

Another way is to register a variable for permanent traceing. This way, the variable gets traced, each time it changes its value.

Based on the following TATRace component, you request tracing of a variable using a small piece of MXML. Suppose you’d like to trace a variable ‘traceableVariable’, then you just add [Bindable] in the line just before the declaration of the variable. This enables the variable to be referenced as ‘{traceableVariable}’.

Mark a variable as traceable

To trace each change of traceableVariable, add this element in your main MXML file