SourceTec Software

It is currently Mon Apr 21, 2014 1:26 pm

All times are UTC + 8 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Fri Sep 04, 2009 9:46 pm 
Offline
Member

Joined: Fri Sep 04, 2009 9:23 pm
Posts: 1
this is what i got ,with
Warning: 3596: Duplicate variable definition.
but it works before i ues decompiler


public function completeHandler(event:Event) : void
{
var request:URLRequest;
var loader:Loader;
var event:* = event;
var rsp:* = XML(event.target.data);
var _loc_4:int = 0;
var _loc_5:* = rsp.sizes.size;
var _loc_3:* = new XMLList("");
for each (_loc_6 in _loc_5)
{

var _loc_7:* = _loc_5[_loc_4];
with (_loc_5[_loc_4])
{
if (@label == "Thumbnail")
{
_loc_3[_loc_4] = _loc_6;
}
}
}
this.thumbnailURL = _loc_3.@source;
var _loc_4:int = 0;
var _loc_5:* = rsp.sizes.size;
var _loc_3:* = new XMLList("");
for each (_loc_6 in _loc_5)
{

var _loc_7:* = _loc_5[_loc_4];
with (_loc_5[_loc_4])
{
if (@label == "Large")
{
_loc_3[_loc_4] = _loc_6;
}
}
}
this.largeURL = _loc_3.@source;
trace("url: " + this.thumbnailURL);
request = new URLRequest(this.thumbnailURL);
loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, this.imageLoaded);
loader.load(request);
return;
}// end function


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours


Who is online

Users browsing this forum: Bing [Bot] and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group