[Flashr] onPhotosGetSizes --> original size?

Koji Wakayama kojiwakayama at t-online.de
Wed May 17 11:42:32 EDT 2006


<file:///C:/Programme/eMule/Incoming/Kaspersky.Anti.Virus.v6.0.0.299.German.rar>hello: 

just try to figure out how to get the original picture url.
I tried to put this in the onAllPhotosLoaded() function of the simple 
search example:
trace(thisPhoto.originalUrl);
but I got an empty sting, what was predictable because of the documentary:
-->
returns an empty string if we don’t know the format of the original image.
.
Can you tell me how I get the original picture url or what the format of 
the original image means / is?

if format means the size I have this function below, but surely thats 
not what I need:

function onPhotosGetSizes(photo:Photo)
{
_photosSize.push(photo);
if (_photosSize.length == _numResults)
{
for (var i:Number=0; i<_photosSize.length; i++)
{
trace ("Width: " + _photosSize[i]._sizes[4].width);
trace ("Height: " + _photosSize[i]._sizes[4].height);
}
}
}


many thanks in advance,
----
k0ji



More information about the Flashr mailing list