Difference between revisions of "Sample RSS Widget in AS3"

From Chumby Wiki
Jump to: navigation, search
(New page: http://files.chumby.com/widgetexamples/GenericRSSreaderAS3.png <br><br> This widget is among the first widgets developed in ActionScript 3 for Flash Lite 4. This widget has a few advance ...)
 
 
Line 5: Line 5:
 
This widget has a few advance features beside normal RSS functionality:
 
This widget has a few advance features beside normal RSS functionality:
 
- Use local SharedObject to remember last article shown, and pick up from there the next time widget is reloaded.<br>
 
- Use local SharedObject to remember last article shown, and pick up from there the next time widget is reloaded.<br>
- Use of liquid layout manager class. See [Developing Widgets for Chumby: Liquid layout]<br>
+
- Use of liquid layout manager class. See [[Developing Widgets for Chumby: Liquid layout]]<br>
 
- Embed YouTube video directly in the content<br>
 
- Embed YouTube video directly in the content<br>
 
- Clean port of AS3 with strict OOP implementation<br>
 
- Clean port of AS3 with strict OOP implementation<br>
Line 13: Line 13:
 
This implementation has been written such that the major features are separated from body/content of the RSS feed, which is usually specific to each feed.<br>
 
This implementation has been written such that the major features are separated from body/content of the RSS feed, which is usually specific to each feed.<br>
 
Users only have to extend GenericRSSBody to perform custom string processing or layout management of the body/content of the RSS.<br>
 
Users only have to extend GenericRSSBody to perform custom string processing or layout management of the body/content of the RSS.<br>
Graphics assets are stored in the Library of the .FLA file. They can be modified safely without affecting the functionality of the widget.
+
Graphics assets are stored in the Library of the .FLA file. They can be modified safely without affecting the functionality of the widget.<br>
 
<br>
 
<br>
 
Include in the source files is a widget for JoyofBaking.com RSS feed.<br>
 
Include in the source files is a widget for JoyofBaking.com RSS feed.<br>
 
It is a clear example of customizing RSSTemplatesAS3 package for a specific RSS feed.<br>
 
It is a clear example of customizing RSSTemplatesAS3 package for a specific RSS feed.<br>

Latest revision as of 08:28, 28 February 2011

GenericRSSreaderAS3.png

This widget is among the first widgets developed in ActionScript 3 for Flash Lite 4.

This widget has a few advance features beside normal RSS functionality: - Use local SharedObject to remember last article shown, and pick up from there the next time widget is reloaded.
- Use of liquid layout manager class. See Developing Widgets for Chumby: Liquid layout
- Embed YouTube video directly in the content
- Clean port of AS3 with strict OOP implementation

Download Source files here.
You'll need Flash CS4 and above to open & compile it.

This implementation has been written such that the major features are separated from body/content of the RSS feed, which is usually specific to each feed.
Users only have to extend GenericRSSBody to perform custom string processing or layout management of the body/content of the RSS.
Graphics assets are stored in the Library of the .FLA file. They can be modified safely without affecting the functionality of the widget.

Include in the source files is a widget for JoyofBaking.com RSS feed.
It is a clear example of customizing RSSTemplatesAS3 package for a specific RSS feed.