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

Data visualization for Roadmap Microsite (Angular and D3.js)

Conceptual design

Four tools for prototyping: Sketch, Figma, Principle, and FramerX