Discussion:
Turn on hovering
(too old to reply)
Michael Cope
2006-01-05 18:49:02 UTC
Permalink
I'm building my very first Media Player 10 skin and I can't get the hover
Image to display. Here is my code so far (very Basic). I'm not a programmer
and have never coded XML, so if somebody could give me the "Dummy" answer I
would be grateful.

<THEME>
<VIEW
clippingColor = "#4B4B4B"
backgroundImage = "background.bmp"
titleBar = "false">

<BUTTONGROUP
mappingImage = "map.bmp"
hoverImage = "hover.bmp">

<BUTTONELEMENT
mappingColor = "#00FF00"
upToolTip = "Play"
onClick="JScript: player.URL='http://proseware.com/laure.wma';" />

<BUTTONELEMENT
mappingColor = "#FF0000"
upToolTip = "Close"
onClick = "JScript: view.close(); " />

</BUTTONGROUP>
</VIEW>
</THEME>
Bizzare
2006-01-09 10:05:03 UTC
Permalink
Hi Michael

I think you need to specify an "image" file as a minimum for a buttongroup -
it might not work properly with just a "hoverImage" file.

Just a thought!

Cheers
--
<Biz>
Post by Michael Cope
I'm building my very first Media Player 10 skin and I can't get the hover
Image to display. Here is my code so far (very Basic). I'm not a programmer
and have never coded XML, so if somebody could give me the "Dummy" answer I
would be grateful.
<THEME>
<VIEW
clippingColor = "#4B4B4B"
backgroundImage = "background.bmp"
titleBar = "false">
<BUTTONGROUP
mappingImage = "map.bmp"
hoverImage = "hover.bmp">
<BUTTONELEMENT
mappingColor = "#00FF00"
upToolTip = "Play"
onClick="JScript: player.URL='http://proseware.com/laure.wma';" />
<BUTTONELEMENT
mappingColor = "#FF0000"
upToolTip = "Close"
onClick = "JScript: view.close(); " />
</BUTTONGROUP>
</VIEW>
</THEME>
Michael Cope
2006-01-09 16:21:03 UTC
Permalink
Thanks for the response. I'm very new at this, so bear with me. I'm not sure
I understand. I created a hover image (a .bmp of the player controls lit up
and glowing) which I named "hoverimage." But I need an additional image? Is
that what you mean, or do I need an additional line of code to point to the
image I have, and if so, where do I put it? Can you show me an example of the
code?
Post by Bizzare
Hi Michael
I think you need to specify an "image" file as a minimum for a buttongroup -
it might not work properly with just a "hoverImage" file.
Just a thought!
Cheers
--
<Biz>
Post by Michael Cope
I'm building my very first Media Player 10 skin and I can't get the hover
Image to display. Here is my code so far (very Basic). I'm not a programmer
and have never coded XML, so if somebody could give me the "Dummy" answer I
would be grateful.
<THEME>
<VIEW
clippingColor = "#4B4B4B"
backgroundImage = "background.bmp"
titleBar = "false">
<BUTTONGROUP
mappingImage = "map.bmp"
hoverImage = "hover.bmp">
<BUTTONELEMENT
mappingColor = "#00FF00"
upToolTip = "Play"
onClick="JScript: player.URL='http://proseware.com/laure.wma';" />
<BUTTONELEMENT
mappingColor = "#FF0000"
upToolTip = "Close"
onClick = "JScript: view.close(); " />
</BUTTONGROUP>
</VIEW>
</THEME>
Bizzare
2006-01-10 12:36:02 UTC
Permalink
Hi Michael

What I was trying to say (badly, I expect :P) was that as well as a
mappingImage and a hoverImage, you might need an actual "image" for the
buttonGroup, so it would look like:

<BUTTONGROUP
image = "image.bmp"
mappingImage = "map.bmp"
hoverImage = "hover.bmp">

However, I was mistaken and you can get away with just using a mappingImage
and a hoverImage. It may well be the actual images themselves are the
problem. If you like, I can take a look at them. You can mail me on
BizzareMail[at]Gmail.com.

Also, in your latest post (Coding XML) the problem is that you have repeated
"onclick=..." for the play button! So naturally WMP will complain loudly and
bitterly... XD

Anyway, hope that helps.

Cheers
--
<Biz>
Post by Michael Cope
Thanks for the response. I'm very new at this, so bear with me. I'm not sure
I understand. I created a hover image (a .bmp of the player controls lit up
and glowing) which I named "hoverimage." But I need an additional image? Is
that what you mean, or do I need an additional line of code to point to the
image I have, and if so, where do I put it? Can you show me an example of the
code?
Post by Bizzare
Hi Michael
I think you need to specify an "image" file as a minimum for a buttongroup -
it might not work properly with just a "hoverImage" file.
Just a thought!
Cheers
--
<Biz>
Post by Michael Cope
I'm building my very first Media Player 10 skin and I can't get the hover
Image to display. Here is my code so far (very Basic). I'm not a programmer
and have never coded XML, so if somebody could give me the "Dummy" answer I
would be grateful.
<THEME>
<VIEW
clippingColor = "#4B4B4B"
backgroundImage = "background.bmp"
titleBar = "false">
<BUTTONGROUP
mappingImage = "map.bmp"
hoverImage = "hover.bmp">
<BUTTONELEMENT
mappingColor = "#00FF00"
upToolTip = "Play"
onClick="JScript: player.URL='http://proseware.com/laure.wma';" />
<BUTTONELEMENT
mappingColor = "#FF0000"
upToolTip = "Close"
onClick = "JScript: view.close(); " />
</BUTTONGROUP>
</VIEW>
</THEME>
Loading...