I work fine in a standalone flash player. when put in HTML, I don't work without a script.
WHAT AM I?
I AM FULLSCREEN!
in a html file you are meant to put a script in with flash and it is meant to make a fullscreen button work. this is my script:
Thats actionscript, guys.PHP Code:Stage.scaleMode="Scale";
Stage.align = "TC"; //T:top, C: center
function toggleFullScreen(){
if(Stage["displayState"]=="normal"){
Stage["displayState"]="fullScreen";
fullscreen_btn.gotoAndStop(2);
}else{
Stage["displayState"]="normal";
fullscreen_btn.gotoAndStop(1);
}
}
the function toggleFullScreen works fine, its to do with the html as i said.
i have tried adding this with the flash part of the HTML:
<param name="allowFullScreen" value="true">
FAIL!
I also tried this HTML:
<embed src="main.swf" allowscriptaccess="true" allowfullscreen="true">
(that isn't all of the embed stuff but it has everything that I added)
what am I doing wrong?
Did I get my Case Sensitive stuff right?
or did i put a capital somewhere inappropriate?
Please help guys!!!!





Reply With Quote