Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH:rounding to whole number |
From: | Helen Triolo |
Date: | Sun, 10 Dec 2000 21:45:24 GMT |
Have you checked the Flash help? There's a very useful listing of *all*
functions, operators, methods and properties available in Flash 5.
Click:
Help, ActionScript Dictionary,
then Overview,
then Contents of the dictionary.
Except for the operators, all the entries include a link to a further
description -- Flash comes with great documention this time around! If
you check under "round" you'll find what you need (I say all this not to
chew you out for asking, but because I think it's more useful in the
long run than just saying "use math.round").
Regards,
Helen
-----------------------------------------------------
i-Technica � http://i-technica.com � 301.424.6037
developer resources: http://i-technica.com/whitestuff
Sohrab Pirayesh wrote:
>
> Hey everyone,
>
> I'm creating a percent loaded text box in flash 5 using:
>
> _root.getBytesLoaded()/_root.getBytesTotal()*100+"%"
>
> Everything works great but is there a way i can make the number round to a
> whole number?
>
> thanks,
>
> -sohrab
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre
Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
Re: FLASH:rounding to whole number, Sohrab Pirayesh
Replies
RE: FLASH: converting Lingo to actionscr, Phillip Kerman
Re: FLASH:rounding to whole number, Sohrab Pirayesh
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]