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
Pass handler to next Sprite
Number of CD Tracks - MCI
Push Dial-Alphamania
Combinations and Permutations
Gang Buster
Drag Ripple-Alphamania
ProjectorLook Xtra
Generic Slider w/Text
Maeda @ Media
Importing Externally Linked (sound&bitmap) Files
 

 

 

Behavior Find Last Label

Added on 6/9/1999

 

Compatibilities:
D6_5 D7 D8 Mac PC Script

This item has not yet been rated

Author: Unknown

Returns the name of the marker just before the play head"s current position. (The current marker)

on FindLastLabel
  repeat with i = 1 to the number of lines in the labelList
    if the frame < label(line i of the labelList) then
      return line i - 1 of the labelList
    end if
  end repeat
  return line (the number of lines in the labelList - 1) of the labelList
end FindLastLabel

 


Contact

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

Send e-mail