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
Display The Windows Volume Control Slider
fading button on 1 sprite
Curve Sprite - Move a sprite along a curved path.
Change the Pattern of a Shape Sprite
NightWares
Find windows directory or Macintosh System folder
Shockwave Remote Faq
DisplayMode Xtra
Mouse Clicks: left, left double, right, right double
Hangman
 

 

 

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