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
Puzzle maker
Scroll Thumb
get and set a mp3's ID3tag I !
cXtraWebBrowser
Dynamic Pie Charts
Special Edition Using Macromedia Director 8
Curve Sprite - Move a sprite along a curved path.
Forward and Reverse (Shitf+Tab) between Fields
changing the color of a flash movie clip with lingo
JTMR Yo Style Writer
 

 

 

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