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
e-mail tech support
free MD5 hashing Xtra
MPEG Xtra Time Slider
Type Writer Fonts
Sharp Image Export Xtra
The Complete Uninstall
Dervich Pivot Xtra
Effector Set I for Alphamania
Vector Shape - Create Frame
DeadC Scroll
 

 

 

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