An example that uses the Flickr API to retrieve photos by tags, by user or both. These settings are sent via flash vars (added to the html). When running your project, you need to add at least one of these flash vars to your html template: tags=some_tag or username=some_username (replace some_tag and some_username).

You must also add your Flickr API key to the Config.as file.  

View Source

Download Source

<div id="inlineExample"></div> <script type="text/javascript"> // <![CDATA[ var so = new SWFObject('/assets/content/examples/flickWidget/FlickWidget.swf', 'website', '200', '210', '9', '#FFFFFF'); so.useExpressInstall('/assets/scripts/swfobject/expressinstall.swf'); so.addParam('menu', 'false'); so.addVariable("tags", "flex3"); so.write('inlineExample'); // ]]> </script>

1 response so far

  1. Hello !

    Nice sample, but It seems that putting "username=my_username" as a flashvars doesn't work :-(
    Any idea about this issue ?

Leave a Reply

Leave this field empty