Funny error when makin a skin for Media Player. NOT USING SKINSTUDIO

Thursday, October 2, 2003 by CerebroJD | Discussion: Skinning

Microsoft JScript compilation error: Line: 0 Column: 0
Expected '('
function Full Mode::onClick()
^

It only shows up when I try to make a button to return to full mode. I havent seen it before and it only showed up this morning. Workin in notepad and coding all by hand. I've used the WMP SDK and I just cant get the thing to stop showing up. It keeps the button from workin too, which is annoying. WMP version 9 and windows XP. Help would be great! Thanx in advance.

Styl-X Design
Reply #1 Thursday, October 2, 2003 3:37 PM
Do U code the buttons peace by peace, or do you use a button map?
CerebroJD
Reply #2 Thursday, October 2, 2003 4:04 PM
I use the piece by piece method.

Pacific
Reply #3 Thursday, October 2, 2003 10:30 PM
looks like u r putting the fullmode code in the js file.. (tell me if i m worng)..
why not put it in the skin defination itself where u declare the button element...
add onClick="view.returnToMediaCenter();" to the button defination...
Pacific
Reply #4 Thursday, October 2, 2003 10:31 PM
or add onClick="functionName()" to the button...
Styl-X Design
Reply #5 Friday, October 3, 2003 12:43 AM
I will ask it for you this afternoon.
CerebroJD
Reply #6 Friday, October 3, 2003 5:37 PM
I think I fixed it. I had id="Full Mode" so I tried changing that, it started working. Wierd Thanks anyways for your hep guys. I tried what you had suggested before hitting upon the solution. Thanks again!

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