Please be aware that some of it is
changing for Beta 2. For example, the 'initialize' event is going to be
dispatched AFTER the children have been created. A new 'preinitialize' event
will be dispatched before. Also, 'initialize' and 'creationComplete' are going
to be deferred for panes of navigator components until you navigate to them and
they create their children. - Gordon From:
On 3/3/06, Stephen
Gilson < [EMAIL PROTECTED]>
wrote: There is indeed a book - It is
called "Creating and Extending Flex Components" and you can
find it at: http://labs.macromedia.com/wiki/index.php/Flex:Release_Notes#Beta_1_documentation
This page lists the order of events when
you create a component: http://livedocs.macromedia.com/flex/20beta1/docs/00001877.html Stephen From: Gordon
Smith He wants to create custom components, so he needs to understand
methods like createChildren(), commitProperties(), measure(), and
updateDisplayList(). There should be a whole book in the documentation set about
creating your own components, and it should cover basic methods like these. - Gordon ________________________________________ From: flexcoders@yahoogroups.com
[mailto: flexcoders@yahoogroups.com]
On Behalf Of JesterXL Sent: Thursday, March 02, 2006 8:26 PM To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Understanding UIComponent You look like you're on the right track. For now (as of
Beta 1), I think the only ones that actually matter event wise are: initialize creationComplete The only difference is initialize runs before all of the
layout stuff, so if you need to do your own positioning/sizing, this is a good
place to do it; creationComplete is after all the children have been created
AND sized + positioned. We've all asked for the goto flow diagram of the main
component that is UIComponent, so hopefully this'll get clearer doc wise soon. ----- Original Message ----- From: To: flexcoders@yahoogroups.com
Sent: Thursday, March 02, 2006 7:51 PM Subject: [flexcoders] Understanding UIComponent I'm just getting started with Flex Beta. We are
particularly interested in being able to create custom components using
AS3. So I am keen to get my head around the structure of
UIComponent. In AS2 I saw an excellent diagram that explained the sequence that
methods were executed and what should be done with each. I have been
looking for a similar diagram for AS3 with no luck. Consequently I've
had a go myself. Firstly, does anyone know of a good resource (other than the AS3 language reference which has become my constant companion) with
this information. OR Could someone have a look at my drawing (http://www.geekglue.com/media/swf/uicomponent.htm ) and let
me know if I'm on the right track. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice ________________________________________ YAHOO! GROUPS LINKS • Visit your group "flexcoders" on the web. • To unsubscribe from this group, send an email to: • Your use of Yahoo! Groups is subject to the Yahoo! Terms
of Service. ________________________________________
SPONSORED
LINKS
YAHOO!
GROUPS LINKS
|
- RE: [flexcoders] Understanding UIComponent Gordon Smith
- [flexcoders] Re: Understanding UIComponent billlane1962