Source and example files from the presentation are now available through the following links:
1) What you get for free with UIComponent
2) [view] Component lifecycle
3) [view step one | step two] Invalidation
I have a text version of the presentation in the works. Anyways, I hope this is helpful to you as you create your own custom Flex components!
[just an announcement ... no content]
I’ll be presenting at the next 615Flex user group meeting [details & directions] on Tuesday, 11/11. We should have a great turnout and a decent intro hands-on about creating custom Flex components by extending the UIComponent class.
Description:
1) What you get for free with UIComponent
2) Component lifecycle
3) Invalidation
Throughout) Hands on - Creating an interactive component
[View examples & source from the presentation]
If you’ve ever wanted to create a component from scratch and didn’t know where to start, start here. This isn’t going to be excessively technical - so bring your laptops, I’ll bring the beer, Vaco will bring the pizza, and we’ll have a good time. See you there!
To learn more about the mysimplemp3 project, click the <my:SimpleMP3 /> tab at the top of this website. The project is hosted here on Google Code where you can download the latest swc or check out the source.
Currently the only demo is my proof of concept found here. I’m looking forward to seeing the components and projects you end create with mysimplemp3. Please keep me posted - and let me know about feature requests and potential bugs! Thanks.
What's this? It looks easy!
OK. I really don't like building MP3 player components in AS3 for Flex. It's doable, sure, but tedious. In fact, I don't like it enough that I've done something about it. Now it can be fun to make an MP3 player in Flex! (not available yet, but there's a demo below).
XML:
-
<my:SimpleMP3
-
id="music"
-
url="http://url.com/my.mp3" />
Now, just treat it like you'd expect!
Actionscript:
-
music.play();
-
music.pause();
-
music.stop();
-
music.volume = 0..1;
Yes, there's more: scrubbing, streaming, buffering, panning left to right, auto load, auto play, auto rewind, repeat and most importantly ... states! Read more and play with a quick demo after the jump.
Continue reading 'Almost introducing <my:SimpleMP3 />'
My presentation files for Sorting, Filtering & Paginating Data in Flex are posted here. This session is a two hour hands-on in which attendees will build a Flex application from scratch [see it live]. The application demonstrates basic sorting, filtering and use of a web service that generates paginated results. In this case the web service is the Yahoo Image Search API.
The application is approximately 200 lines of code and should be comfortably completed in the two hours. If not, the source code is available by right clicking the live demo above.
I'll be finishing the second half of a Cairngorm series tonight. The topic is "Commands, Responders, Delegates and the ServiceLocator - Getting data into a Cairngorm application." This should be a relatively short presentation compared to the last one
Also tonight - Andy Matthews of DealerSkins will be showing off his latest work in AIR with HTML, jQuery and BlazeDS. Hope you can make it!
MVC Flex applications with Cairngorm
I will be presenting at the 615Flex user group meeting (Nashville, TN) on March 11, 2008. This presentation will cover the fundamental concepts needed to begin using Cairngorm to build Flex applications with the Model View Controller pattern. The presentation should last around an hour with the following agenda:
1) What is Cairngorm?
2) Why use a MVC framework like Cairngorm?
3) How is the MVC pattern carried out in a Flex + Cairngorm application?
- Model: Role of the ModelLocator & Model Objects
- View: Role of View Components & Event Objects
- Controller: Role of the FrontController & Command Objects
4) Build an example Flex + Cairngorm app from scratch w/ group input
5) Practical tips going forward
Have ideas or questions?
If you plan to attend, please let me know if you have any specific interests in the topic or questions you would like answers or examples for. If MVC is a new concept or if you're new to AS3 (or if you're an expert on both), that would be great to know as well. Feel free to comment on this post or send me an email: tsclausing[at]gmail.com. I would really appreciate your input as I'm putting together material for the presentation.
Update: The presentation went very well but the audio recording was poor. I will be rerecording the presentation in chapters and posting them here in a new series. Next month's presentation will focus on Delegates and Responders in Cairngorm with additional input on the Model Object.

The Nashville (615 Flex) User Group threw an Adobe sponsored launch party last night for the release of Flex 3 and AIR. Thank you to Aaron West for putting the event together.
Aaron snagged a few of us with his flip video camera answering the "Why Flex? Why AIR? Why CF?" questions for 30onair. You can view the videos on YouTube or view all the videos at the 30onair website.

Ben Forta (Adobe's Senior Technical Evangelist) made a stop in Nashville last night to discuss Flex 3, AIR, LiveCycle Data Services and other related topics. The event was held by the 615 Flex user group and sponsored by Dealer Skins, The Dave Ramsey Show, Shuff's Music and Aristoworks. Thank you to everyone for putting on a great show.
Speaking of presentations: I will be starting a short series on Cairngorm at the next 615 Flex user group meeting. The topic will be covered from a beginner perspective. Contact me or check out 615Flex.com for more details.
I thought blogging would be quick and easy. Well ... it's not. It's more time consuming and addictive than I ever imagined.
I will be posting videos soon. Videos about current projects I'm working on in Flex. Other videos about Cairngorm and Flex related 'stuff.' I'll probably post videos related to trading and the financial markets as well.