Accessibility

Mobile and Devices Developer Center

 

Creating a Flash Lite 1.1 RSS Reader


Alessandro Pace

Alessandro Pace

biskero.org

Table of Contents

Created:
17 July 2006
User Level:
Intermediate

One of limitations of Flash Lite 1.1 player is that it cannot parse XML directly. It can load dynamic data via the loadVariables function using the name/value pair data structure. Using this method, you can load almost any data within Flash Lite 1.1 content.

In this article I will explain how to create a Flash Lite 1.1 RSS (Really Simple Syndication) reader using a server-side PHP RSS parser. You will understand the basics of integrating Flash Lite 1.1 with a server-side technology.

Most blogs, forums, and news sites provide their content as RSS feeds in XML data format. It is possible to parse the XML content and make it available to a Flash Lite 1.1 application running on a mobile phone using the name/value pair data structure using a server-side RSS reader.

Requirements

To complete this tutorial, you will need to know some basic scripting programming language and install the following software and files:

Flash Professional 8

Web server running a PHP 5 application server installed


Sample files:

You will use the Boston Adobe Mobile and Devices User Group RSS 2.0 feed for the Flash Lite 1.1 RSS reader. The server script parses the RSS feed and provides the customized data to the Flash Lite 1.1 RSS reader. The fundamental part of the RSS reader is to transform the XML data structure into the name/value pair data structure, (&variable=value).

About the author

Alessandro Pace currently works for VeriSign as a Flash Mobile Software Engineer responsible for Flash Lite R&D. Alessandro is an Adobe Certified Flash Lite 1.1 Instructor and Developer, Adobe Community Expert for Mobile and Devices and Manager of the Boston Adobe Mobile and Devices User Group. He is a WURFL contributor for Flash Lite and contributor for Jarpa. He is a Forum Nokia Champion and co-founder and organizer of Mobile Monday Boston. He is very active in the Flash Lite developer community. He works daily on his personal Flash Lite project Kero Mobile. You can read his blog at www.biskero.org.