Dear Kevin, Jeanne and the rest of the team,

Allow me to thank you for making available the Starter Kit. This will make
it possible for me and others like me to learn the basic skills before going
professional. Already the 10 line limit has forced me to read and learn new
concepts.

Right now I am puzzled by two things.

1. Moving images about and 2. replacing one with another. I shall only pose
the first question here.

I scaled down an image to (say) 100 wide and 120 high; and positioned it to
80,90 with a second placed at 180,90 and a third at 280,90. Now I want to
move it to 300,270 and enlarge it to its real size, 260 x 320. I managed to
do it, but I am getting some (to me) strange behaviour.

If I simply place the picture and use the "move" command, like this:

> on mouseUp 
> move me to 180,190
> set width of image "Image 3" to 260
> set height of image "Image 3" to 320
> wait 100 ticks
> set width of image "Image 3" to 100
> set height of image "Image 3" to 120
> move me to 280,90
> end mouseUp

image 1 moves smoothly into position, around the centre point of the image,
and opens nicely. But the placement of image 2 and 3 is erratic.

I sort of solved this by locking the position of the images, but with the
same command the movement is now centered at the top left corner of the
image, creating a diagonal move and a sideways jump as the image enlarges.
---
This is all fine, but what I would like, is:

to have the movement centered to the centre of the image from locked;
to have the image grow as it moves, instead of jumping open;
to work with the "rectangle" to shorten this script, but still retaining the
grace of the "move" command.
---

I hope that this is not too much of an intrusion.

Ryno Swart.
Simon's Town. 
http://users.iafrica.com/s/sw/swartart/LoveOfArt.html


Reply via email to