[Flashr] Flashr queue empty

Web Mail webmail at digitalhue.com
Sun Nov 16 05:24:26 PST 2008


I removed my Key and userNsid.  I can get the same code to work for other Flickr members.  The XML is not being sent from Flickr, I did have this same issue once before and after a while it started to work. So I am not sure if Flickr puts a hold on some functions.

I am using the Group pool to get the image names and descriptions.  Then pass that information using my _root.DisplayMyImg function.  Which in my flash program I display the images.

Thanks for the help
Ray

 var apiKey:String = "Your Key";
 /**
 * Variable: userNsid
 * The NSID of the user whose photos you want to get
 **/
 
 var userNsid:String = "userNsid" 
 
 /**var
 * Variable: _target
 * The MovieClip to attach the photo thumbnails to
 **/
 var _target:MovieClip;
 
 /**
 * Function: UserRecentPhotos
 * Constructor
 **/
 function UserRecentPhotos(target:MovieClip)
 {
  Stage.scaleMode = "noScale";
  
  // initalise logging to Flash's output window
  LogWrapper.getInstance().init();
  LogWrapper.getInstance().addTracePublisher();
  
  _target= target;
  var _flashr:Flashr = Flashr.getFlashr();
  _flashr.apiKey = apiKey;
  var _flashrResponse:FlashrResponse = new FlashrResponse();
  _flashrResponse.setSuppressOutput(true);
  _flashrResponse.onGroupsPoolsGetPhotos = Delegate.create(this, onGroupsPoolsGetPhotos)
  //_flashrResponse.onPhotosGetInfo = Delegate.create(this, onPhotosGetInfo)
  _flashr.groupsPoolsGetPhotos(userNsid, null, null, 500, 1, null);
 }
 
 public static function GetMyImages(photosArray) // builds Global arrays
 {
  var thisPhoto:Photo = Photo(photosArray[_global.eye]);
  var PhotoTitle = thisPhoto.title;
  var PhotoDes = thisPhoto.description;
  _root.DisplayMyImg(thisPhoto.mediumUrl, thisPhoto.PassImgFile, thisPhoto.PassImgName, PhotoTitle, PhotoDes, photosArray, thisPhoto.thumbnailUrl); //runs funcion in my Flickr image program and builds array  You can trace this for results.
 }
 
 
 
 function onGroupsPoolsGetPhotos(p:Group):Void
 {
  var photosArray:Array = p.getPhotos();
  var userNsid1:String = p.nsid;
  GetMyImages(photosArray); //calls above function
 }
 
 /**
 * Function: main
 * Entrypoint to the application. 
 **/
 
 public static function main():Void
 {
  var u:UserRecentPhotos = new UserRecentPhotos(_root);
 }
 /**
 * Function: toString
 **/
 public function toString():String
 {
  return //"[com.kelvinluck.tnmFlickr.UserRecentPhotos]";
 }
}

----------------------------------------

From: "Kelvin Luck" <kelvin at kelvinluck.com>
Sent: Saturday, November 15, 2008 7:12 PM
To: flashr at osflash.org
Subject: Re: [Flashr] Flashr queue empty 

Hi Raymond,

I'm not sure I understand you. "Flashr queue empty" isn't an error it just means that there are no messages queued to be sent to flickr.

What flashr methods are you calling? Can you post the code that you are using and then I may be able to help more,

Thanks,

Kelvin :)

On Sat, 15 Nov 2008 13:20:46 -0800, Web Mail wrote:

>
>
> When I sign up a friend to Flickr and I run my program I get this error "Flashr queue empty" I am guessing this happens because the account is new. I had this happen before with other new accounts. If this is the case that Flickr puts a delay on new accounts and you have to wait before it starts working do you know how long Flickr will make you wait? I know it works because If I change the userNsid to an account that has been active for a while it works. Any ideas?
>
> 
>
> Thank you;
>
> Raymond
>
>
>
> __________________________________________________
> D O T E A S Y - "Join the web hosting revolution!"
> http://www.doteasy.com

_______________________________________________
Flashr mailing list
Flashr at osflash.org
http://osflash.org/mailman/listinfo/flashr_osflash.org



__________________________________________________
D O T E A S Y - "Join the web hosting revolution!"
             http://www.doteasy.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/flashr_osflash.org/attachments/20081116/d5d24bf6/attachment.html>


More information about the Flashr mailing list