Megadev
04-30-2008, 05:50 PM
Hi everyone,
I'm trying to add HallPass' high score service to my game, but it's just not happening. I'm developing in Flex Builder 2, writing in AS3. Here's the line of code I've dropped in:
_root.HPScoreService.postScore( score, "Easy" );
The error I'm getting is:
"Access of possibly undefined property HPScoreService through a reference with static type Class."
What I find odd about HallPass' score submission system is that no API needs to be installed, unlike those of Kongregate and MindJolt. Obviously I'm going slightly wrong somewhere, can anyone help?
Cheers,
Mike.
I'm trying to add HallPass' high score service to my game, but it's just not happening. I'm developing in Flex Builder 2, writing in AS3. Here's the line of code I've dropped in:
_root.HPScoreService.postScore( score, "Easy" );
The error I'm getting is:
"Access of possibly undefined property HPScoreService through a reference with static type Class."
What I find odd about HallPass' score submission system is that no API needs to be installed, unlike those of Kongregate and MindJolt. Obviously I'm going slightly wrong somewhere, can anyone help?
Cheers,
Mike.