Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Another array question
From: Randy Kato
Date: Thu, 21 Sep 2000 16:15:57 +0100

Larry,

Maybe you can convert the numbers to strings and do some If and Concatenation on
them so that the ones with fewer digits have leading zeros, like 003,010,200.
Then they should sort properly.

HTH,
Randy


larry armstrong wrote:

> Hi all.
> Does anybody know if it is possible to use array.sort on numbers? It seems
> to sort things alphabetically no matter what. For example, if I sort array
> 3,10,200 I end up with 10,200,3 because it is only comparing the first digit
> instead of the whole number. Sorting arrays in Director sorts the numbers
> numerically. Any suggestions?

--
'''''' ' ' ' ' ' ' ' ' '
Randy Kato - Web Master
Braincraft

627 Broadway, Suite 504, NYC 10012
T 212.539.1680 F 212.539.1741
http://www.braincraft.com
...... . . . . . . . . .



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: Reseting Drag Movie, Sohrab Pirayesh

Replies
  FLASH: Another array question, larry armstrong

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]