function onPhotosSearch(rs:ResultsSet) { if (switched == 0){ _numResults = rs.photos.length; var depth = 0; var nextY = 70; _photos = new Array (); log("Loading " + _numResults + " photos out of possible " + rs.total + ""); SHIZZLE = rs.total; var l : Number = _numResults; var i : Number = -1; while (++i