“Its as clear as mud“
Before I continue with my article I would like to share a nice book on Flex which covers lot of things.
If you already don’t have this book then get it off Amazon. The link is at the right. I read it, that’s why I can recommend it to others.
Now that I have told you about Jalebi’s and Mud it time to get to the point. I am not going to try to make this look like there is lot of hard work involved instead I will keep it simple.
First up fire up your Flash builder 4.5+ and create a new Flex mobile project (View based application) called jaspreetchahal I am using my name but trust me I never do that myself. I am doing this so that you can remember that some random guy helped you on Internet
Do I need to to put a screenshot for how to create a Flex Mobile project. I would say no. But let put one screenshot anyway where you select what type of application will it be. Lets select “View based application” as shown below
Now that you’ve create a new Flex mobile project its about time to do something interesting.
From your Flash builder menu goto Data > Connect to Data/Service (or optionally from a tab at bottom of you page called Data/service)
Select XML. Click Next. Select URL radio button. Enter URL as http://jaspreetchahal.org/feed and click invoke. Screen shot is shown below
Remember to select appropriate node. In my case I am going to iterate on Item element of my feed. Reason because that is the only element I am interested in. Here is the URL for you again to browse
A new service will be created for you with name jcFeed. Check out the Data/Service tab at the bottom of the page as shown below. You will have Item Object available and an array of Item array is available via getData function.
Rest of the steps are shown below in my First ever video tutorial
If you cannot get the above video working then here is the direct link
I hope you like my first video tutorial.
Project files are available for download too if you wish to play around.
For your information this is the plugin that I use to make my blog Mobile and Tablet compliant