It must be that gEscale is VOID or 0.0

If you actually get a list full of 0.0 and not 0, then gEscale needs to be 0.0!

And hey guys, repeat with x = 1 to (gCovers - 1.0) won't give float increments,
not even repeat with x = 1.0 to (gCovers - 1.0) will.

-A.



>Hi list,
>
>I have this piece of code that should make a loop and grab the number of
>members in castlib "low cover" , internal castlib with 178 low res images.
>The problem is that it function sometimes in authoring and never in runtime.
>if i go to the message and "put gPontostimeline" sometimes it's ok,
>sometimes the list is full of 0.0.
>
>
>  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
>     gPontosTimeline.add(gEscale * x)
>   end repeat
>
>
>Does anyone have an idea??
>
>Rodrigo Peres
>--
>
>
>[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!]

[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!]

Reply via email to