The fromCharCode() method is a static method of the String class. returns a new string primitive value with the character that corresponds to the character code. : Char code : String Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » String » Char code »

 

The fromCharCode() method is a static method of the String class. returns a new string primitive value with the character that corresponds to the character code.


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        for(var i:Number = 0; i < 150; i++){
           trace(i + ": " + String.fromCharCode(i));
        }
    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo String
» Char code