Problems Importing an Image [was Re: Problems Cutting and Pasting Objects]
Ken Ray
kray at sonsothunder.com
Wed Jun 1 22:54:34 EDT 2005
> I'm revisiting the problem related to the one described below. I'm
> trying to import a JPEG of Mac OS X's striped background to use as a
> background for a stack. I need to import it into a group (background),
> so that it will appear on every card created,
Actually, Greg, you don't. Simply import the JPEG, set the resulting image
to an ID that won't conflict (I use 59999) and do:
set the backgroundPattern of this stack to <idOfImportedJPEG>
Once you do that, all cards and substacks of the stack will have that
background pattern (unless you specifically override it on a card-by-card
basis).
HTH,
Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
More information about the use-livecode
mailing list