wmp skin help

Tuesday, September 26, 2006 by mannekeke | Discussion: Skinning

Hi,

I am making my own WMP skin as project for my school. I have used a
listbox in my skin but the listbox does something very strange. When i
click one time on the listbox (to slect the listbox so I can choose an
item), it moves to above and a little bit to the left. I can use it
then but it's not at the position I want. If I close the listbox
(listbox.dismiss() ) en reopen it (listbox.show() ), it stays at the
same place. But the first time it moves. Can this be a bug???
Here is the code I use for the listbox:



id = "viewbug"
titleBar = "false"
backgroundColor = "#FF00FF"
height = "400"
width = "800"
scriptFile = "bug.js"
>
id = "oog"
clippingColor = "#CCCCCC"
backgroundImage = "oogdicht.bmp"
zIndex = "8"
>
mappingImage = "map.bmp"
hoverImage = "hover.bmp">


mappingColor = "#00FF00"
upToolTip = "Power On"
onClick="openURL()"
/>




id = "keuzelijst"
top="248"
left="600"
width="102"
height="19"
backgroundColor = "#00CCFF"
border="false"
visible="false"
zIndex = "15"
ondblclick="KeuzeVideo()"
>


value = "Via Website"
/>


value = "Manuele Ingave"
/>







scriptfile :


function openURL() {
keuzelijst.show();
}


function KeuzeVideo() {
if (keuzelijst.getItem(keuzelijst.SelectedItem)=="Via Website")
{
player.LaunchUrl("http://www.google.be");
}
else {
if (keuzelijst.getItem(keuzelijst.SelectedItem)=="Manuele Ingave")
{
keuzelijst.dismiss();


}
}
}


P.S. : Sorry for my English if there are any faults in it!!


Guy


Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01