Ludovic, You need to set the lockLocation of the image to true before you set its rect. I don't know why (since if I run your script with a button instead of an image I don't need to do anything special), but it DOES work if you set the lockLoc to true.
Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Ludovic Thebault > Sent: Thursday, March 13, 2003 8:34 AM > To: [EMAIL PROTECTED] > Subject: How change the rect of an image on an other card ? > > > Hello, > > I've made a little stack to make a basic slideshow. > I use this script to "magnify" little pictures, but it doesn't works: > > show image 1 of next cd > set the filename of image 1 of next cd to line (random(the number of > lines of the files)) of the files > get the rect of image 1 of next cd > 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 next cd to it > set the loc of image 1 of next cd to the screenloc > visual effect dissolve > go next cd > > But if i replace 'image 1 of next cd' by 'image 1 of this cd' > the script > works. Same problem with Rev 1.1.1r2 and Rev 2.0p4 > > any idea ? Thanks > > _______________________________________________ > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-> revolution > _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
