Re: Images and Players in "background" groups
Hi Peter, 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. Thanks! Tim Selander Tokyo 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 or 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 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 Tokyo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Images and Players in "background" groups
Images and players don’t have a “shared” property to turn on and off such as a field’s sharedText or a button’s sharedHilite property. They’re always shared. Peter > On Feb 2, 2019, at 11:42 PM, 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 > or > 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 >> 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 >> Tokyo >> >> ___ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Images and Players in "background" groups
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 or 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 > 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 > Tokyo > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Images and Players in "background" groups
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 Tokyo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode