All pastes #480939 Raw Edit

Something

public javascript v1 · immutable
·published 2007-05-10 14:35 UTC
rendered paste body
function onPhotosSearch(rs:ResultsSet){     _numResults = rs.photos.length;     var depth = 0;     var nextY = 10;     for (var i:Number=0; i<_numResults; i++) {     var thisPhoto:Photo = rs.photos[i];          var taggy:Array = thisPhoto.getTagsAsStrings();     _flashr.photosGetInfo(thisPhoto.id, thisPhoto.secret);    trace('Photo: ' + thisPhoto + ', tags:' + taggy);    _root.wow.text = taggy;         for (var nother = 0; nother < taggy.length; nother++) {    trace (taggy[nother]);                    var tempMC:MovieClip = attachMovie ("box", "box" + count, depth ++, {_y : (nextY) , _x : (5)} );            nextY += tempMC._height + 2;            tempMC.name_txt.text = taggy[nother];            count ++;                  tempMC.onRelease = doSearch("plump");                 }               }    }function doSearch2(){trace("silly");    }