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