[Flashjs] allowFullScreen
awflasher
awflasher at 163.com
Tue Mar 20 22:49:10 EST 2007
use SWFObject instead of "FlashTag" ...
At least I get things working with SWFObject.
your code is right, it's just this very line:
sample.addParam("allowFullScreen", "true");
And, the parameter is only working with flashplayer 9.0.18+ so your checkin' version should not be "7..." and you cannot access the Stage.displayState directly, u should use
Stage["displayState"] to make the complier let your code go.
Good luck
awflasher
2007-03-21
·¢¼þÈË£º Achim Feldmann
·¢ËÍʱ¼ä£º 2007-01-11 21:19:51
ÊÕ¼þÈË£º Flashjs at osflash.org
³ËÍ£º
Ö÷Ì⣺ [Flashjs] allowFullScreen
Hi!
How can i add parameters like "allowFullScreen" , "true" when emedding
the flash-file in my html document?
<script type="text/javascript" >
var sample = new FlashTag("myflash.swf", 384, 320, "7,0,14,0");
sample.setFlashvars("lcId=" + lcId);
sample.addParam("allowFullScreen", "true"); <-- ??
sample.write(document);
</script >
Thanks & greets!
_______________________________________________
Flashjs mailing list
Flashjs at osflash.org
http://osflash.org/mailman/listinfo/flashjs_osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/flashjs_osflash.org/attachments/20070321/fc9777bc/attachment.htm
More information about the Flashjs
mailing list