Page 1 of 1

Image Button Label

Posted: Tue Apr 16, 2013 9:52 pm
by djrikki
Hi,

If I have something like this:

Code: Select all

<button id="PRFS-advert-click" notify="pressed">\33A[308]</button>
And if change the brush in anyway via Hollywood somewhere in the code and reset the button label:

Code: Select all

mui.Set("PRFS-advert-click","label","\27A[54]")
The image inside the button remains the same.. it will only change if I specify a different brush.

Re: Image Button Label

Posted: Tue Apr 16, 2013 10:01 pm
by airsoftsoftwair
Yes, that's normal. MUI Royale makes a copy of the brush at the time the object is created.

Re: Image Button Label

Posted: Tue Apr 16, 2013 10:11 pm
by djrikki
What do you propose I do? I don't want to flick brushes in case a noticeable flicker appears to the user.

Re: Image Button Label

Posted: Wed Apr 17, 2013 5:42 pm
by airsoftsoftwair
Sorry, I don't understand what you mean. What exactly are you trying to do?

Re: Image Button Label

Posted: Wed Apr 17, 2013 7:09 pm
by djrikki
I have a brush stored in #CURRENTADVERT every 8 second I change the content of the brush. So after changing the brush I use MUI.Set to change the label image to the new contents of the new brush. I guess I will simply have to specify a new brush every time.