Inserting an image into a pre-existing background group?

J. Landman Gay jacque at hyperactivesw.com
Thu Jul 22 13:36:37 EDT 2010


On 7/22/10 11:16 AM, Richmond wrote:

> My problem is two-fold:
>
> 1. Insert an image into a pre-existing
> background group so it shows up\
> across the 50 pages.

Select the group. Edit it. Import an image as a control. Stop editing 
the group.

>
> 2. Remove an image in a similar situation.

With "select grouped" chosen in the toolbar, click on the image and hit 
the delete key. Or you can edit the group and delete it that way but it 
isn't necessary.

But for replacing an existing image, I often use a short script. The 
advantage here is that the new image retains the same layer number and 
all the properties I've assigned, and only the image itself changes.

  answer file "choose an image file:"
  put url ("binfile:" & it) into the selobj

Select the image you want to replace with the edit tool, then run that. 
No error checking in there, so make sure you select a real image file.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list