This morning I gave a presentation on “Introduction to Flex” at Web on the Piste at Queenstown, New Zealand.
It went off quite well — at least that is what I hear from the response to the presentation.
I realized that for an hour-long presentation about 20 slides is the maximum, especially when one is going to show code as well.
I’m attaching a PDF of the presentationwith this blog entry.
Also, I demoed a small RSS reader application based on Flex docs. Here is the code for that.
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:HTTPService id="blogService" url="{blogURI.text}" /> <mx:Panel x="10" y="10" width="624" height="441" layout="absolute" id="blogPanel" title="{blogService.lastResult.rss.channel.title}"> <mx:DataGrid x="10" y="40" id="blogDatagrid" width="584" dataProvider="{blogService.lastResult.rss.channel.item}" fontSize="14" height="174"> <mx:columns> <mx:DataGridColumn headerText="Title" dataField="title"/> <mx:DataGridColumn headerText="Date" dataField="pubDate"/> </mx:columns> </mx:DataGrid> <mx:TextArea x="10" y="225" width="584" height="176" id="blogTextarea" fontSize="14" htmlText="{blogDatagrid.selectedItem.description}"/> <mx:TextInput x="10" y="10" width="466" id="blogURI"> <mx:text>http://syndication.apn.co.nz/rss/nzhrsscid_000000002.xml</mx:text> </mx:TextInput> <mx:Button x="492" y="10" label="Get RSS Feed" click="blogService.send()"/> </mx:Panel> </mx:Application>