What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Alter Element Colour Dynamicaly

Alter Element Colour Dynamicaly
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
O.P. Alter Element Colour Dynamicaly
I'm using the following code in my xml file to add an element (A square with rounded corners). Is there a way to change it's colour from within the script as I want it to change under different circumstances, however there are too many possibilities to use loadsof image files. I've got a feeling that it's not possible and if it isn't, are there any controls/Elements where it is possible?

The <Red>, <Green> and <Blue> tags are what need changing
quote:
<Elements>
  <Element xsi:type="FigureElement" Id="FigRectOptions">
    <Position Top="20" Left="50" Height="30" Width="30"/>
      <Figure>
        <RoundRect><Radius>5</Radius></RoundRect>
      </Figure>
    <Border>
      <Color><GlobalColor>bg</GlobalColor></Color>
    </Border>
    <Fill>
      <PlainColor>
        <Red>255</Red>
        <Green>255</Green>
        <Blue>255</Blue>
        <Alpha>255</Alpha>
      </PlainColor>
    </Fill>
  </Element>
</Elements>
<Eljay> "Problems encountered: shit blew up" :zippy:
11-29-2006 12:17 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Alter Element Colour Dynamicaly - by Spunky on 11-29-2006 at 12:17 AM
RE: Alter Element Colour Dynamicaly - by deAd on 11-29-2006 at 12:25 AM
RE: Alter Element Colour Dynamicaly - by Spunky on 11-29-2006 at 12:35 AM
RE: RE: Alter Element Colour Dynamicaly - by deAd on 11-29-2006 at 12:48 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On