button resize
Graham Samuel
livfoss at blueyonder.co.uk
Fri Aug 15 18:33:00 EDT 2003
On Friday, August 15, 2003, at 12:33 PM, Andrew wrote:
[...]
Say I create a cartoon of a man in
> photoshop and I paste him into Revolution. Then my little man becomes
> an "image" in Revolution language. However, when I paste him in, the
> rect of the image is the size of the entire card! How can I get the
> rect of my little man to be exactly the size of him?
I was about to suggest pasting into a locked (size and position)
image object, because I thought this would resize the picture to the
image size like it does in SuperCard, but a quick experiment shows
that it doesn't. Must Andrew therefore do the resizing either outside
RunRev or inside via script? I am interested in a RunRev internal
solution myself - can anyone suggest the most efficient one? I know
there have been previous discussions about creating thumbnails, but I
couldn't find an actual recipe for importing an arbitrarily-sized
picture into a fixed-size image (and reducing the resolution on the
way).
>
> Now a slightly more complicated question:
[re animation]
I see that the answers Andrew has been given have not included using
Rev's own Animation Builder. I don't think there is a really complete
description of all that this feature can do in the docs, nevertheless
there is a tutorial that shows the basics. It might work well for
certain kinds of animation.
HTH
Graham
--
-------------------------------------------------------------------
Graham Samuel / The Living Fossil Co. / UK & France
More information about the use-livecode
mailing list