Flash / Flex / ActionScript/Array/toString

Материал из Web эксперт
Перейти к: навигация, поиск

Checking the Contents of an Array with the toString( ) Method

   <source lang="java">

package{

 import flash.display.Sprite;
 
 public class Main extends Sprite{
   public function Main(){
       var sites = ["g", "w", "o"];
       trace("The array is " + sites); //The array is g,w,o
   }
 }

}

       </source>