callLater() and ObjectUtil.toString()

Couple useful Flex methods for the reference:

If you want to print out all properties of the object, i.e. see comprehensive string representation of any object, use the following example:
Alert.show("IOError: " + mx.utils.ObjectUtil.toString(event));

Another useful method is
callLater()
The callLater() queues an operation to be performed for the next screen refresh, rather than in the current update. Without the callLater(), you might try to access a property of a component that is not yet available.

Comments

Popular posts from this blog

Using Trello and Confluence to manage UX design project. Part 2

How do I use InVision

Using Trello and Confluence to manage UX design project. Part 1