| 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
·¢¼þÈË£º Achim
Feldmann
·¢ËÍʱ¼ä£º
2007-01-11 21:19:51
ÊÕ¼þÈË£º
Flashjs 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 osflash.org
|