Flash JavaScript Resizer – fill the browser window without cropping
Creating Flash content that fills the entire browser window right up to the chrome is nothing new. Normally it is accomplished by setting the swf’s width and height to 100% in the object and embed tags and controlling how different elements respond to resizing with ActionScript within the Flash Movie. But in a recent project I needed to ensure that the swf did not scale below a certain size so that the browser is forced to display it’s scrollbars. This is because while the stage of the movie scales the main content is not scaled, only centered. That makes the browser crop your swf, effectively rendering the use of small(er) screen resolutions impossible.
See for yourself: Resize Example
Because of this I had to write a small JavaScript to gain back some control over how the move resized. Here you go, you can either download only the JS-file or the entire zipped example above.
Enjoy!
flashresizer.js
Entire zipped example
Nice! Slightly “sluggish” but works like a charm
J
I noticed that it indeed performs a little sluggish in FireFox, but not in IE or Safari.
Could you convert the fla’s to flash 8 for me?
If so thanks.
Sorry, Dan. I only have Flash CS4 (version 10), and that can only save down as Flash 9 (CS3).
Shahid Kapoor and Priyanka Chorpa first time worked together in Vishal Bhardwaj’s Kaminey movie. In the film ‘Kamine’ Shahid Kapoor and Priyanka Chopra shotted a lip lock related scene. For this scene firstly Priyanka have refused but lately she agreed on director Bharddhaj’s saying.
This scene completed after taking 5 retake shots. Now you see on the screen that how looks like their chemistry. Check put below given Shahid Kapoor Priyanka Chopra lip locked exclusive video clip.
[url=http://www.bollywood-latest.com/2010/04/shahid-kapoor-priyanka-chopra-sexy-lip-lock-kissing-video/]Shahid Kapoor Priyanka Chopra Sexy Lip Lock Kissing video[/url]
[url=http://www.bollywood-latest.com/]Bollywood Blog[/url]
[url=http://www.bollywood-latest.com/]Bollywood News[/url]