First time here? First time here? Newsletter Signup Newsletter
Login | Register | 651326 Members and growing!
Search movies
View @  640x480 800x600 1024x768 1280x960
(10 being the highest)
»Added  2001-05-16
»Rating  4
»Votes  19
»Author  Toon Van de Putte | Search by Toon Van de Putte
»Version  Flash 5
»Description  This movie (Flash 5 only) demonstrates my number-formatting function. You can enter any number (or any string, in fact) in the field labeled 'number' and press the arrow button to have dots inserted at three-digit intervals.You can also change the separator from a dot to any other character/string you want via the 'separator' field.Unfortunately, the function doesn't seem to work for numbers with more than 21 digits. Not that formatting a 21-digit number will make it a lot easier to read...Because the formatting is done via a function, it can be used in virtually any Flash 5 movie that needs formatting of numbers. It doesn't have to be called by a button, and can be run in the background so the user only sees the neatly formatted result.The only thing you need to feed the function is a number to format(duh!) and a seperator character/string to use. It'll return a formatted number. Make sure you've done all calculations you need to do before you format the number, since the formatted number is just a string and Flash will do weird things if you try to divide/multiply/whatever it.


  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: work2survive
» Title: Girl Walking 1kb
» Description: Walking girl, animation just takes 1kb, using high heels shoes, and fashion model attitude.
Featured Sound Loops
Image for equalize

Audio Player

» Author: BoxCat
» Title: CPU Talk
» Description: From the cyberpunk RPG, "Nameless: the Hackers" Completely Free to use! Keywords: edm hip hop rap electronic mysterious mission hacking chase exciting spy ios ambient chilling love happy sad angry suspense
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: nathan
» Description:

A recorded sound of the Dimensional Fork Gate.