Featured FLA
» Author: Nitin Tikhe
» Title: Cart
» Description: This Animation Tut is a fun and useful for kids below 15 years. Watch the Flag, Doors, Stick and Horse movements.
» More by Nitin Tikhe
Featured Site
» Posted in the Flash Kit Links section
» Title: Banana Swimwear
» Description: This is a banana swim wear interactive catalog we designed and animated in Flash
This function converts an ASCII code to its character equivalent. Every keyboard character has it's own unique ASCII code. For example the letter "a" is 97 and the capital letter "A" is 65. (see what an ASCII table looks like). The Chr function will convert the number 97 into the letter "a". A practical application of this function is the conversion of uppercase letters to lower case letters by converting the uppercase letter to a number, subtracting 32 from the code then converting the number back to the letter using the Chr function. To do this though you will require the use of the Ord function as well.
Set Variable: "temp" = 65
Set Variable: "myLetter" = Chr (temp)
The variable "myLetter" is assigned the string "A".
Eddie is the Content Editor at Flashkit.com and is actually a sentient Gateway Solo 2150xl notebook that suffers from acute lysdexia and caffine addiction. He is carried on the shoulders of a semi-autonomous human called "Body".