image paste

Andrew alw918 at earthlink.net
Tue Aug 19 01:30:00 EDT 2003


I've noticed that some of my postings have been being sent in duplicate 
or triplicate.  I apologize for that, and I assure you that it's the 
fault of technical forces beyond my control.  If this message gets sent 
many times, I'm sorry.

Jacqueline made some fine suggestions, but I'm having trouble 
implementing them.  First of all, how do you resize an image object to 
a fomattedWidth and Height?
Secondly, I'm still having a lot of trouble getting my second image to 
paste separate from the first image.  I shrink the first image and move 
it over to one side of the card.  Then I click elsewhere on the card 
(so the first image is not selected) and paste my second image.  Still, 
the second image appears right on top of the first one, no matter where 
the first one is located on the screen.

By the way, I'm using Revolution demo.  Could that have anything to do 
with it?

Thanks again for your help!
Andrew
On Monday, August 18, 2003, at 08:55  AM, 
use-revolution-request at lists.runrev.com wrote:
> When you paste an image from the clipboard, Rev opens the painting 
> tools
> and creates a new image object. The default size of an image object is
> the size of the card. After that, whenever you click in the image with 
> a
> painting tool, the image is opened for editing. That's why a second
> paste places the new image inside the old one.
>
> To create separate image objects which are automatically sized only as
> large as the image content, use "Import as control" in the File menu to
> bring in an image from a file on disk.
>
> If your images are not files on disk, you can still paste from the
> clipboard. But after you have created an image object this way, you 
> will
> need to use a script to resize the image object to the formattedWidth
> and formattedHeight of the object. That will make it smaller. Then when
> you do the second paste, be sure not to click inside the first image 
> (so
> you won't accidentally open it for editing.) Click elsewhere on the 
> card
> before pasting, and the second paste should create a new image object 
> --
> which you will also want to resize, since it too will be as large as 
> the
> card.




More information about the use-livecode mailing list