Forum ActionScript 3.0 Need to click before any messages arrive?

Problems and discussions relating to ActionScript 3.0 here.

Need to click before any messages arrive?

Postby wildbunny » July 6th, 2011, 7:10 pm

Hi guys,

Got a weird problem: unless I click on the game stage after its loaded, no messages from player.io arrive?

I've tried doing this.stage.focus = this; to no avail... Any ideas? :)

Cheers, Paul.
wildbunny
 
Posts: 217
Joined: March 9th, 2011, 10:35 am

Re: Need to click before any messages arrive?

Postby Oliver » July 11th, 2011, 1:23 pm

That's certainly an new one... eh...

Chris?

- Oliver
User avatar
Oliver
.IO
 
Posts: 1159
Joined: January 12th, 2010, 8:29 am

Re: Need to click before any messages arrive?

Postby Benjaminsen » July 11th, 2011, 5:16 pm

That sounds very strange, I just did a quick test and where unable to reproduce the problem. Could you give a bit more information?

What browser, what OS, how did you embed the SWF etc?

/Chris
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark

Re: Need to click before any messages arrive?

Postby wildbunny » July 11th, 2011, 6:13 pm

This must be a bug on my part - I can't reproduce it today, ignore me :)
wildbunny
 
Posts: 217
Joined: March 9th, 2011, 10:35 am

Re: Need to click before any messages arrive?

Postby macdonald.lethe » March 15th, 2012, 6:40 am

Was searching for something regarding focus because I noticed I had the same problem. I was only able to reproduce it when playing on a browser (chrome, in my case)

When a player is hit on my game, he updates to an injured graphic. When the match is over the server starts a counter, then begins a new game and keeps sending a message to update the players to their original skins/frames.

If you are viewing another tab, when you come back you still see the injured frame, and as I recall other information like the player x and y position wasn't restored to the starter settings as well.

That was the first time I saw this happen, when I was playing at a browser.

I will test it some more and let you guys know.
macdonald.lethe
Paid Member
 
Posts: 14
Joined: September 24th, 2011, 8:42 pm


Return to ActionScript 3.0



cron