List Info

Thread: GetTagsAsString




GetTagsAsString
country flaguser name
United Kingdom
2007-05-07 21:34:48
having problems trying to split this array any tips?

im using this

function onPhotosSearch(rs:ResultsSet)
{
  ;   _numResults = rs.photos.length;
&nbsp; &nbsp;  for (var i:Number=0; i<_numResults; i++) {
 &nbsp; &nbsp;   ;  var thisPhoto:Photo = rs.photos[i];
 &nbsp;  var tags:Array = thisPhoto.getTagsAsStrings();
&nbsp; &nbsp;
 &nbsp; 
 &nbsp; 
 &nbsp; &nbsp; }
 &nbsp;   
&nbsp; &nbsp;  
&nbsp; &nbsp;  trace(tags);
var ARRAY:Array = tags;

var Thing:String = ARRAY[1];
var Split:Array = Thing.split(",");
var Last:String =Split[Split.length-1];
trace(Last);

;


Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today.
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )