Placing different Images into same Image background object
Frank D. Engel, Jr.
fde101 at fjrhome.net
Wed Jan 12 15:15:24 EST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This is *so* easy to "do-it-yourself", though...
Make sure the group (background) has a distinctive name. Put an
invisible field in the group to contain the image data, and make sure
its sharedText is off. Now in the stack script:
on preOpenCard
if "myGroup" is among the lines of the groupNames of this card then
put field "realImage" into image "myImage"
end if
end preOpenCard
on closeCard
if "myGroup" is among the lines of the groupNames of this card then
put image "myImage" into field "realImage"
end if
end closeCard
Obviously, if card code intercepts preOpenCard and/or closeCard, make
sure they pass them along...
On Jan 12, 2005, at 2:31 PM, Sivakatirswami wrote:
> Grouped-background Text fields, by default have a their "sharedText"
> property off. Without knowing the insid" of it, on the surface we have
> a single object with a single ID in a stack serving as a container for
> multiple data.
>
> Can we make an single image perform similarly? I haven't found a way,
> so I guess this is a feature request... is this on anyone else's wish
> list?
>
> : a single image object in a background such that on new-cloned cards
> with the same placed background, that one image object could display
> a different externally referenced image- or be a container for
> imported pixel data.
>
> Using the field model, what is wanted is a single image object, one ID
> only in the stack, whose "sharedBinaryPixelData," when part of a
> background, is off.
>
> Sivakatirswami
>
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
- -----------------------------------------------------------
Frank D. Engel, Jr. <fde101 at fjrhome.net>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten
Son, that whosoever believeth in him should not perish, but have
everlasting life.
$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFB5YVd7aqtWrR9cZoRAgJsAJ0f0E12IIY8jmrOVD1SHLUKsMF6rACZAbRX
GCFHUupAFSJxCX5908uT6No=
=M0RA
-----END PGP SIGNATURE-----
___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
More information about the use-livecode
mailing list