Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

Summary

This chapter looked at the core methods used within the component framework: createChildren(), commitProperties(), measure, updateDisplayList(), and layoutChrome(). You also learned how to tell your component to update itself when values are set externally via invalidateProperties(), invalidateSize(), and invalidateDisplayList().

You now better understand the advantages and disadvantages of straight inheritance, composition, and starting from scratch when it comes to choosing what (or what not) to extend your component from initially. This chapter also covered how to create an MXML component that doesn’t extend from a subclass of the component framework but uses an interface called IMXMLObject.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial