full screen flash- enable scrollbars
- Started
- Last post
- 17 Responses
- ********
hey- anyone know how to enable scrollbars on a full screen flash site, as in, if the site goes below 1024 x 768 resolution, then kick in the browser scrollbars? and then when scaled larger the bars are hidden? thanks a whole bunch for the help!
- ornj0
js?
- ********0
sure - do you know how to do it?
- ********0
also, steve, i know you - you worked at warkulwiz after i did - didnt you
- ********0
anyone?
- ********0
hmm - not a scroller made in flash - but a script that enables the browser scrollbars after it gets below 1024 resolution, and then makes them go away after it scales larger. Its a fullscreen site, designed for 1024 by 768- and I want it to be able to be scrolled when viewed at 800 by 600, but my fullscreen code overrides that...
- ornj0
Drew you magnificent bastard! how is shit going for you? IM me during the day I'll help you out.
- UndoUndo0
put a 1px wide transparent gif along the side of yr swf in the html, it should be as tall as the min height. if te window goes below that size it will force scrollbars. do the same for the width with a different gif
- ********0
do you have any examples of it in use? thanks so much tho
- ********0
anyone else have ideas for this?
- heavyt0
i wrote one for this site:
http://showcase.tequila.com/foli…
- ********0
awesome! thats exactly it...theres not any AS involved in the scrollbars enabling/disabling?
- heavyt0
no AS invloved. just JS.
- ********0
thank you
- pkny0
export flash movie as 100% x 100% no scale and use the follow js.
make sure you add a "name" to the and
and use geturl ("javascript:updateHeight (someNumber)");
you're telling the browser to reset the size of the flash movie.. thus you can add "scrollbars" when the height is no longer == 100%
- pkny0
use this js:
function updateHeight (newHeight) {
document.flash.height = newHeight;
}
- ********0
thanks pkny!