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

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.

2,019 views 6 replies
Reply #1 Top
Do U code the buttons peace by peace, or do you use a button map?
Reply #2 Top
I use the piece by piece method.

Reply #3 Top
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...
Reply #4 Top
or add onClick="functionName()" to the button...
Reply #6 Top
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!