How change the rect of an image on an other card ?

Rob Cozens rcozens at pon.net
Thu Mar 13 10:05:01 EST 2003


>any idea ? Thanks

Hi Ludovic,

put (the number of this card)+1 into nextCd -- test for last card???
>show image 1 of card nextCd
>set the filename of image 1 of card nextCd to line (random(the 
>number of lines of the files)) of the files
>get the rect of image 1 of card nextCd
>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 of card nextCd to it
>set the loc of image 1 of card nextCd to the screenloc
>visual effect dissolve
>go next cd
>

Hope this helps.
-- 

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