I’m trying to use swx flickr api to download photos from a flickr username into my swf. I took this code from the swx website, but i doesn’t expalin how to specify which user’s photos to get. So it’s not working. How do i declare the username?
loader.serviceClass = "Flickr";
loader.method = "swxGetUserPhotos";
loader.debug = true;
loader.loadMovie("http://swxformat.org/php/swx.php", "GET");
function onEnterFrame()
{
status.text = loader.result.photo[0].src;
}
function loadPic () {
trace ("Timed Out");
loadMovie(loader.result.photo[0].src, "picTarget");
}
setTimeout(loadPic, 5000);