Images and Players in "background" groups
bogdanoff at me.com
Sun Feb 3 02:42:56 EST 2019
That would be correct. To have a different image on every card, you could:
1. Have an image control that’s not part of the group on every card
2. Some other method of dynamically loading the image data into an image that is part of the group, such as on openCard:
put URL tURL into image “My Image" of this card
where tURL is a path to a local or remote file.
Player controls would use similar methods as above.
> On Feb 2, 2019, at 10:55 PM, Tim Selander via use-livecode <use-livecode at lists.runrev.com> wrote:
> For the first time ever, probably, I have a little project that needs the HC "stack of cards" structure.
> Have a few buttons and fields in a group, acting a a background and it all works as expected.
> However, I also have an image and a play in the group/background. Oddly, when I set one card's image via "set the filename of image to URL...." it puts that image or video on ALL the cards.
> So the bg flds can all have different values per card, but the images and players cannot!
> Is this right?? I have searched the dictionary and google to no avail....
> Tim Selander
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode