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
Dialog Xtra
Set Cast member Properties of a QuickTime
Direct Media Controler Button
Circular Rollover behavior
Scroll Sprite by MouseLoc Behavior
cXtraEditBox
QTRecordAudioXtra
Foundation Director 8.5
Scroll Buttons
Cast Control
 

 

 

Behavior Rename for lingo animations

Added on 7/4/1999

 

Compatibilities:
D7 D8 Mac PC Script Shockwave

This item has not yet been rated

Author: MediaMacros (website)

Renames a series of graphics with a prefix, followed by the number.

--Copyright 1999 Chuck Neal
--chuck@mediamacros.com
--If you find this code helpful, send me an e-mail and let me know.  :-)

on rename whatCast, startMember, endMember, startNum, prefix
  theOffset = startMember - startNum
  repeat with x = startMember to endMember
    member(x, whatCast).name = prefix & string(x - theOffset)
  end repeat
end

on getBehaviorDescription me
  return "Call this to rename a rang of castmember with a prefix and sequential numbers.  I.E. Member1, Member2, Member3, etc."
end

 


Contact

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

Send e-mail