Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6029385
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T04:52:42+00:00 2026-05-23T04:52:42+00:00

In UI component life cycle, I heard validation and invalidation events. Please explain me

  • 0

In UI component life cycle, I heard validation and invalidation events.

Please explain me about these events in short.

What does updateDisplayList() method do in that life cycle.

Please explain me in short if possible.

Thank you in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T04:52:42+00:00Added an answer on May 23, 2026 at 4:52 am

    The Flex Component LifeCycle is a set of methods and events that Flex uses to set up components. In our own components, that extend the UIComponent class, we can listen to these events or override these methods to do stuff that is specific to our component.

    I’ll add that updateDisplayList() is a method, not an event, just in case their is any confusion.

    These are the main overridable methods:

    • createChildren(): This is used to create a component’s children.
    • commitProperties(): This is a wild card method. You use it to coordinate multiple property changes in a single place. What you use it for depends on the component you’re creating and the properties.
    • measure(): This is used to set the “ideal” height and width of the component, based on the children. You set the measuredHeight and measuredWidth.
    • updateDisplayList(): This is used to do anything display related, most commonly position and size the component’s children.

    All of these methods will running during the initial component creation. However, three of these methods–commitProperties(), measure(), and updateDisplayList()–can be set up to run during the next render event. To prep them for run, just invalidate them using the appropriate invalidation method:

    • invalidateProperties() forces
      commitProperties() to rerun.
    • invalidateSize() forces measure() to
      rerun.
    • invalidateDisplayList() forces
      updateDisplayList() to rerun.

    How often a render events fires depends on your application’s frame rate. I think the default Flex frame rate is 24 frames per second, so there is one render event every 1/24th of a second.

    I defined the component lifecycle as being a collection of methods and events. So, these are the events, in the order they fire:

    • preinitialize
    • initialize
    • childAdd
    • updateComplete
    • creationComplete

    updateComplete will fire after every renderer event, I believe. But the others are part of the component creation.

    You should read the Flex documentation on this

    The Spark Component Lifecycle adds different hooks to accommodate the two class approach; with one class for business logic and one for skinning. But, it sill extends the MX/Halo component Lifecycle.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In flex component life cycle, after we make some change in a components property,
I was wondering what others think about kohana's Event component. I like it very
Component Services -> Computers -> My Computer -> COM+ Applications Open a COM+ Application
Which component is best to use for receiving HTTP requests in Delphi application?
Which component to use to play mp3 files from streams/files and also to know
I wrote a component that displays a filename, a thumbnail and has a button
In a ColdFusion Component (CFC), is it necessary to use fully qualified names for
I have a custom component where I have implemented INotifyPropertyChanged and IBindableComponent . However,
Can a firefox XPCOM component read and write page content across multiple pages? Scenario:
I am creating a component and want to expose a color property as many

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.