First time here? First time here? Newsletter Signup Newsletter
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
»Website  http://www.katdesign.be
»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: Inocreato
» Title: RaiseTheBlocks
» Description: Raise all the blocks to win the game
Featured Sound Loops
Image for equalize

Audio Player

» Author: TomCat Carty
» Title: The Wood
» Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
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: Davisigner
» Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.