Using Flickr Feeds

Using the advancedLoaderPro you can create slideshows using data feeds from flickr.com

 

1. Having installed the advancedLoaderPro using the Macromedia Extension Manager, open Flash and start a new file.

 

2. Press 'T' to select the text tool and draw a dynamic text field on the stage. With the textfield still selected press Ctrl+F3 (Windows) or Cmnd+F3 (Mac) to open the properties panel and give the textfield the instance name 'captionText' (without the quotes).

 

3. Press Ctrl+F7 (Windows) or Cmnd+F7 (Mac) to open the components panel and drag a copy of the advancedLoaderPro onto your stage.

 

4. With the advancedLoaderPro component still selected on the stage press Alt+F7 to open the component inspector panel and locate the 'Caption Textfield' parameter, enter the instance name of the textfield you created in step 2 ('captionText').

 

5. With the component still selected locate the 'XML File' parameter, enter the url of your flickr.com feed, for example, you might use "http://api.flickr.com/services/feeds/photos_public.gne" (without the quotes).

You can add most of the parameters described in Flickr's documentation to the feed using the query string.

Note: the format of the feed must be Atom 1.0. This is the default format and does not need to be specified in your query string.

 

6. Press Ctrl+S (Windows) or Cmnd+S (Mac) to save your file and press Ctrl+Enter (Windows) or Cmnd+Enter (Mac) to test the file.

 

Flash Security

When uploading your files to a server you must use a permissions file to ensure your file works correctly.

 

7. Download the appropriate file for your type of server from the Adobe site for use with the Server-side proxy method.

 

8. Open the file in a plain text editor (for example Notepad on Windows or TextEdit on Mac). Replace the URL with the URL (including any query string) of your file.

 

9. Return to your Flash file, select the advancedLoaderPro component on the stage and open the component inspector panel. Enter the name of your proxy file in the 'XML File' parameter.

 

10. Upload all of your files (your swf file, html file and proxy file) in order to test them.