Thursday, September 6, 2007

Road To Flex-4

  • All tags added to MXML represent an object
  • creationComplete is a system event, dispatched by flex components after being screen rendered. Application dispatches it after all components drawn and individual components dispatch too.
  • [Bindable] metadata tag, when specified in front of the class keyword, means that every property in the class can be bound to controls or other datastructures. We can also specify individual properties as bindable. Allows changes to be reflected from source to destination.
  • A class constructor is defined using function keyword followed by the name of the class
  • Event class holds a lot of useful information about the event generated. currentTarget property refers to the element which generated the event. type property tells about the event type.

Questions that can be asked:
  1. How can we find out if a ui component has been rendered completely or not in flex?
  2. What is the use of Bindable tag?
  3. How do you define a class constructor in AS?

No comments: