Re: [Flashcoders] fullscreen weirdness (solution)

2009-09-03 Thread Ian Thomas
On Thu, Sep 3, 2009 at 4:35 PM, Joe Cutting wrote:

> Ian reported problems with the Javascript version and Chrome. I'd be
> interested to hear if anyone else has problems with one or the other.

Both versions now work fine with latest Chrome, Firefox, Safari and
with IE7 - that seems to have solved it!

Cheers,
   Ian
___
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] fullscreen weirdness (solution)

2009-09-03 Thread Merrill, Jason
>>- If the buttons which call the fullscreen change are using 
>>MouseEvent.MOUSE_DOWN, it doesn't happen if they're using
MouseEvent.CLICK

I know one Flash player 9/10 rule about initiating full screen is it has
to be user initiated, and I know even though MouseEvent.MOUSE_DOWN is
technically a user initiated event, they (Adobe) may have only
programmed it thinking of MouseEvent.CLICK or something like that. Not
that it helps, but may explain why.  Purely a theory of mine.


Jason Merrill 

Bank of  America   Global Learning 
Learning & Performance Soluions

Monthly meetings on making the most of the Adobe Flash Platform -
presented by bank associates, Adobe engineers, and outside experts in
the borader multimedia community - join the Bank of America Flash
Platform Community  (note: this is for Bank of America employees only)



___
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] fullscreen weirdness (solution)

2009-09-03 Thread Joe Cutting
Ok, here's an update on this. I built a test rig and managed to 
reproduce the problem and found out that

it only happens:
- If you're using Firefox (IE and safari are fine)
- If you're NOT using StageScaleMode.NO_SCALE
- If the buttons which call the fullscreen change are using 
MouseEvent.MOUSE_DOWN, it doesn't happen if they're using MouseEvent.CLICK


So the solution is to make sure that the buttons you use to select 
fullscreen mode are using MouseEvent.CLICK not MouseEvent.MOUSE_DOWN.


This still leaves me with two versions - the SwfObject one and the 
CS4 Javascript one. The links are below:

CS4 Javascript
http://www.joecutting.com/demos/MySpace/starLoader.html
SwfObject
http://www.joecutting.com/demos/MySpace/starLoaderSO.html

Ian reported problems with the Javascript version and Chrome. I'd be 
interested to hear if anyone else has problems with one or the other.


Cheers

Joe



Joe Cutting
Computer exhibits and installations
www.joecutting.com
35 Hospital Fields Road, York, YO10 4DZ
01904 624681
___
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders