PDA

View Full Version : Fscommand-Fullscreen does not work in Flash Player 9 (Flash CS3)


viswhiz
05-03-2007, 08:10 PM
Dear all,

I have a problem with Flash Player 9. I have developed a flash application (projector) in Flash 8 and now I am trying to compile it with Flash 9. I have to do this because of Flash 8's bug with asfunction, which apparently is fixed in Flash 9 (CS3). I can compile it into Flash 9 projector, but when I do that, it will not run FSCOMMAND("FULLSCREEN", true); anymore. I wonder why this is as such.

When I read through some help resources, somewhere it says that FSCOMMAND is not supported in FP9 because of some security reasons and it says that I should use External Interface API instead.

Can anybody enlighten me about this issue? If I have to use External Interface whatever, can anybody help me with that? Please remember that I am working with flash projector (exe), not in a browser.

Thank you very much,

visWhiz ;)

viswhiz
05-03-2007, 08:16 PM
A bit more detail.

What I mean is that I am still using AS 2.0, but in the publish settings, i choose Flash Player 9. With this setting, the asfunction bug of the Flash 8 disappears, BUT, I can't run FSCOMMAND("FULLSCREEN", "TRUE"); I can still run TRAPALLKEYS though.

When I publish with Flash Player 8, fullscreen works, but obviously the asfunction bug stays there...

Please help anyone,

Regards,

viswhiz

dr_zeus
05-03-2007, 09:40 PM
Strange, "fullscreen" is still listed as an option in the AS3 fscommand (http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/system/package.html#fscommand()) docs. According to the fullscreen mode security doc (http://livedocs.adobe.com/flash/9.0/main/00000352.html#wp152029): "Full-screen mode is always permitted in the stand-alone player or in a projector file."

Since I've never used this feature before, I can't offer any insights beyond what the docs say. Sorry. :(

AyAmi
05-03-2007, 09:57 PM
I answered to your topic but the one u made in other section in forum here is quick link:

http://www.actionscript.org/forums/showthread.php3?t=135418&highlight=fscommand
Try that and let us know if that helped

cujo65
05-22-2007, 08:08 AM
Hi visWhiz, I had got the same problem, before to instal flash player 9.0.45 the fscommand in my flash realization was running, after it don't go! :eek:
Please did you solved this matter? Could You tell me how?
Thank You very much
Ocjen Spassiba
Grazie mille
Muchas gracjas
:)
Gianni

mbd
09-11-2007, 08:53 PM
You might want to check out this blog post:
FSCommand and getURL Bug in Flash Player 9 (http://www.northcode.com/blog.php/2007/09/11/FSCommand-and-getURL-Bug-in-Flash-Player-9)

It explains why this is happening.

I posted this in the AS2 thread linked here as well since it applies to AS2 and AS3.