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: Bill Lane
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.
 
Bill Lane


--
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




Reply via email to