I have a swf
file (a flash game). I want to run some script to open it in full-screen mode. I'm not attached to any browser, but I do run Linux, so a bash, or generic answer is what I'm looking for. I'm also open to building a lite browser application if need-be.
views:
39answers:
2
A:
i think this might do it if you put it in the initialization part:
Stage["displayState"]="fullScreen";
pop850
2010-05-22 20:01:46
Thanks for the reply. Is this flash code? I don't have access to the code for the SWF. I'm looking for an easy way to script the opening and transition to full-screen for an arbitrary flash file.
Geoff
2010-05-26 13:27:55
sorry, didnt read entire question, missed "Linux, so a bash, or generic"
pop850
2010-05-26 22:18:18
+1
A:
Hello Geoff,
The SWF can be launched in full screen in several ways, here comes some suggested solutions:
1) You can open the SWF-file directly (works for me, in Firefox).
2) You can add a HTML page with this JavaScript that redirects to your SWF-file.
<script language="JavaScript" type="text/javascript">
document.location.href='packman.swf';
</script>
3) You can embed the SWF-file in a HTML page.
Kristoffer Bohmann
2010-06-11 13:04:28