FlickrWidget

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>

3 responses

  1. Hello !

    Nice sample, but It seems that putting "username=my_username" as a flashvars doesn't work :-(
    Any idea about this issue ?
    Thx.
  2. re: 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).

    Would someone please explain where and how the above entry is made?

    Thanks, in advance
  3. Hi,
    The html template in the zip has the example on how to do it. Search in index.template.html for "tags=flex"

Comments now closed