How change the rect of an image on an other card ?
Rob Cozens
rcozens at pon.net
Fri Mar 14 11:18:01 EST 2003
>any idea ? Thanks
Hi again, Ludovic,
Perhaps a simpler alternative (in the stack script)?:
on preOpenCard
show image 1
set the filename of image 1 line (random(the number of lines of the
files)) of the files
get the rect of image 1
repeat with n=1 to 4
put (item n of it*0.5)+item n of it into item n of it
end repeat
set the rect of image 1 to it
set the loc of image 1 to the screenloc
end preOpenCard
that leaves
>visual effect dissolve
>go next cd
In your original script.
Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
More information about the use-livecode
mailing list