I recently had to create resizeable Flash animation that would play full screen. Here are the steps to creating a full screen flash animation:
Stage.scaleMode="showAll";
<a href="example.swf" onclick="window.open('example.swf', 'flashwindow', 'width='+ (screen.width) +',height='+ (screen.height) +',resizable=yes,left='+ (screen.availWidth/2-0) +',top='+ (screen.availHeight/2-0) +'');return false;">Open Flash Window...</a>
Here is a full screen flash example of what the above code can do:
Open Full Screen Resizable Flash
That's about all there is to it. If you have specific implementation questions, just contact me.
Comments (2)
Feb 16, 2010 at 03:11 PM
Mastroiani:
Hello, I've been looking for this kind of tutorial for a long time! Thank you! But, I don't understand the last part with JAVA. Can you please please help? I'm a newibie. How do I go to Java and where do I write it? I use Flash CS4 on MAC. I have a MOV file that I would like to convert to SWF file that would be my full screen video background for my web-site. I managed to import MOV file into Flash and then was able to export SWF just fine. BUt it's not resizable :(.
Feb 17, 2010 at 05:29 PM
devtrench:
I'm not sure your movie will be resizable. In order to resize your object needs to be a vector graphic (not 100% sure about that). As for the javascript, that just goes in an html link, just like the example link above.