Please note, I gave a flavor of this talk at MAX 2008 (referenced here). However, the slides and code from that MAX talk are severely out of date with the current state of the SDK trunk (obviously, since it was over a year ago!). The slides and code for last week’s talks, which are linked below, have been updated to be relevant with the current state of the SDK trunk. So, do not use the code from the MAX 2008 talk as its sorely out of date and you will get plenty of compiler errors and confuse yourself!
PPT Slides (Flex 3 and Flex 4 Component Lifecycle)
Spark VideoWidget (built on SDK trunk revision 10461)