I find the bast way to set and show an image in a windowShape is use
backgroundPattern.
This way you do not need to worry about the image moving or not filling the
screen. You can set it in the IDE or in code
set the backgroundPattern of *object* to {your* imageID*}
Hope that helps,
Todd Fabacher
Date: Sun, 19 Jul 2015 20:36:48 +0100
From: Terence Heaford <[email protected]>
To: How to use LiveCode <[email protected]>
Subject: windowShape
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
I have been messing about with applying windowShape and although I can get
the shape to work it does not take the colour of the image.
Should it? and how do I do it please?
I have taken a screen shot of the window being used as a palette with the
original image beneath.
It can be seen here:
https://dl.dropboxusercontent.com/u/98788898/LiveCode/Screen%20Shot.png
The original image is a png with alpha and shows as blue.
The palette window is grey.
How do I apply the blue colour of the image?
Thanks
Terry
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode