Stuck in "Background" window

Ken Norris pixelbird at interisland.net
Tue Mar 18 18:44:01 EST 2003


***********
> Date: Tue, 18 Mar 2003 21:06:36 +0000
> From: Dave Cragg <dcragg at lacscentre.co.uk>
> Subject: Re: Stuck in "Background" window
> 
> At 12:13 pm -0500 18/3/03, Ken Norris wrote:
> 
>> All I want to do is be able to _replace_ a background group image with
>> another image from a file, under script control.
> 
> If this is really all you want to do ...
> 
> Assumption: you already have your group which contains an image named
> "myImage". (And there is no other image named "myImage" on the
> current card.)
> 
> answer file "" ##add whatever filters you need
> if it <> empty then
> put url ("binfile:" & it) into image "myImage"
> end if
----------
Almost there. Thanks, you were on the right track. I don't understand the
"binfile:" concept and didn't know how to write it into a background group.

Thanks,
Ken N.
> 
> Cheers
> Dave




More information about the use-livecode mailing list