Images and Players in "background" groups
selander at tkf.att.ne.jp
Sun Feb 3 07:42:19 EST 2019
Thanks for the info.
It took a little playing around, but I now have each card loading
up properly with it's association image or video file.
On 2019.02.03 16:42, Peter Bogdanoff via use-livecode wrote:
> Hi Tim,
> 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.
> Peter Bogdanoff
>> 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:
> 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