Shoutbox

ImageElement? - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: ImageElement? (/showthread.php?tid=61370)

ImageElement? by Matti on 06-25-2006 at 06:12 PM

Hey all!

I have a question about the XML windows: how can I set an image location for a ImageElement, like this:

code:
<Element xsi:type="ImageElement" Id="ImgLogo">
<Position Top="2" Left="10" Width="32" Height="32"/>
<Image><Name>countdown-logo</Name></Image>
<Mosaic>ResizeToFit</Mosaic>
</Element>
since this one doesn't display anything. :P

The image I want is in the images subfolder in script directory, so it's packed with the script. ;)

TIA!
RE: ImageElement? by deAd on 06-25-2006 at 06:16 PM

For that to work, you'll need an Images directory in your script's folder, and a file called "countdown-logo.png" in it.


RE: ImageElement? by Matti on 06-25-2006 at 06:29 PM

Thanks for that, but it didn't work. I already had an Images folder and renaming the file didn't help. :(


RE: ImageElement? by Matti on 06-25-2006 at 06:48 PM

Oops... wrong file... :$
Solved! :) Thnx deAd! :P