Jump to content
GreenSock

CaioMatias

Members
  • Posts

    2
  • Joined

  • Last visited

Reputation

0 Newbie
  1. The problem is the Facebook.getImageUrl() method. I don't know why the flash player crash just in second connection, but without this method de loader works perfectly. Tks
  2. Hi everyone, I'm using the following code to load some images from facebook. var loader : LoaderMax = new LoaderMax({name:"fotosAmigosLoader", onComplete:ImagensCarregadas, onError:errorHandler}); //Load 14 facebook 50x50 images for(var j : int = 0; j < _miniamigosPics.length; ++j){ loader.append(new ImageLoader(new URLRequest(_miniamigosPics[j]),{name:"minifriend"+j})); MonsterDebugger.trace(this, "AddMiniFriend To Queue"); } //Load 6 facebook 150x150 images for(var i : int = 0; i < 6; ++i){ loader.append(new ImageLoader(new URLRequest(Facebook.getImageUrl(Friend(_aFriends[i]).friendId, "large")),{name:"friend"+i})); MonsterDebugger.trace(this, "AddFriend To Queue"); } MonsterDebugger.trace(this, "LoaderMax - Load"); loader.load(); In a first time it is running fine, but in a second connection with the content cached. The flash player crashs after the load() method What i'm doing wrong? Tks
×