Try Deepa's talk from MAX, it was really good on creating components in Flex 3.
http://tv.adobe.com/#vi+f15384v1002 I think that's the right link... Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co.uk <blocked::http://www.inps.co.uk/> The information in this internet email is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is not authorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of INPS or any of its affiliates. If you are not the intended recipient please contact [email protected] ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Jason Sent: 02 February 2009 19:20 To: [email protected] Subject: [flexcoders] Need Details Creating Custom UIComponents with AS3 Can someone send me some links to information on all the ins and outs of creating good visual custom Flex UIComponents with Actionscript (NOT MXML)? (i.e. a class that extends UIComponent) I've actually done it before, but had some bugs and headaches because I didn't fully understand all the intricacies of method overriding you have to/should do - things like measure(), clone(), updateDisplayList (), etc. - so that it looks/works right and the UIComponent stays within its container (for example, you create a UIComponent that draws a large circle, but you want the circle to remain within the bounds of a scrollpane component it is a child of). I've googled all over the place, including adobe devnet and the Flexcoders archives and have come up short. Seems to be bits and pieces - I'm looking for some kind of explanation or simple example of writing a visual component I understand the AS3 drawing API and databinding, I just want info on the rest of best practices for extending UIComponent. Seems like I had seen a tutorial on this before on devnet, but I can't locate it now (the search on that thing is terrible!) - also others have made some good posts on that here as well, but can't find those either. Thanks!

