Hi,
i have a problem with the eventhanlder "controller_key_down".
I write following function, but when i press the Key "1" nothing happen. I also tryed other keys, but it doesnt work. Can someone help me with this problem
function handleEvent(evt)
{
switch (evt.key)
{
case VK_1:
Player.playlist.titles["robots"].chapters[1].jump("00:00:00:00",false);
break;
}
}
application.addEventListener("controller_key_down",handleEvent,true);

Eventhandler "controller_key_down"
XNA Rockstar
myGreenBird
cdun2
Janet10
_joe
Diego81
That did not solve the problem :/
edit:
i have 4 files in my proect. main.xmu main.xsf main.js and VPTST000.xpl
And I write it in the main.js an doesn't define anything at any other place.