>>I have imported a gif file into an image. How can I set the image of
>>another image to the image of the first image with a script? In SuperCard
>>I can 'set the pictureData of cd grc 'Image1' to the pictureData of cd
>>grc 'Image2'. Can this be done with Revolution?
>
>Just found it out myself:
>set the imagePixmapID of cd image 'Image1' to the imagePixmapID of cd
>image 'Image2'
>
>BTW, the documentation says: This property is read-only and cannot be set. ??

Hm, this does not work reliably since the imagePixmapID of an image
apparently changes every time the stack is started.
All I want to do is to store some images on a card and use those graphics
on other cards by reference. I know that I can reference external graphic
files but I don't like the idea of having to distribute my program with a
seperate folder of graphics. This is not as reliable as having the
graphics in a stack.
Thanks to the MC FAQ I finally found out that I can set the icon of a btn
to the id of an image. This is not very intuitive since it is possible to
set the image of a btn but it is not possible to set the image of an
image. Or is it?

Lorenz

Reply via email to