Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
Iconizer
Scale Vertexlist
Image Xport
Animated Button
3D games online. New cosmic world of Tensoric.
3D Groove
Inverse cosine
Generic Countdown Timer
Odd levels cause audio to play incorrectly
Shockwave on Linux - CrossOver
 

 

 

Behavior Reverse Sort

Added on 1/14/2006

 

Compatibilities:
behavior D7 D8 D8_5 D9 DE

This item has not yet been rated

Author: Chunick (website)

The name says it all. This custom handler should be placed in a movie script so it can be used anywhere within your project.

on reverseSort (theList)
  if not(listP(theList)) then return 0
  theList.sort()
  theCount = theList.count
  newList = []
  repeat with j = theCount down to 1
    newList.add(theList[j])
  end repeat
  return newList
end

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail