At 19:34 -0300 07/22/2002, Rodrigo Peres wrote:
> gCovers = the number of members of castlib "low cover"
> repeat with x = 1 to (gCovers - 1.0) -- subtract one because don't have
>castmember 0
Who told you to subtract 1? The count you're using will go to
whatever the value is of gCovers minus one.
Try this:
gCovers = the number of members of castlib "low cover"
repeat with x = 1 to gCovers
gPontosTimeline.add(gEscale * float ( x )) -- to make a decimal
end repeat
Of course I don't see a declaration for gEscale either, which means
it might be void. Are you sure gEscale has a nonzero value?
--
Warren Ockrassa | http://www.nightwares.com/
Director help | Free files | Sample chapters | Freelance | Consulting
Author | Director 8.5 Shockwave Studio: A Beginner's Guide
Published by Osborne/McGraw-Hill
http://shop.osborne.com/cgi-bin/osborne/0072195622.html
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]