Hi, i have a flash file in html container that scales according to browser resize, however i would like to set a condition so that when the browser is smaller than 800 x 600 scroll bars appear. how would i write that in javascript
thank you
Hi, i have a flash file in html container that scales according to browser resize, however i would like to set a condition so that when the browser is smaller than 800 x 600 scroll bars appear. how would i write that in javascript
thank you
does the flash file resize, or the html container?
[Jasme Library (Javascript Motion Effects)] My Site
/\/\@§†ê® §©®¡þ† /\/\@|{ê®
There are 10 kinds of people in the world, those that understand binary and those that don't.
yes, the flash file resizes, but i can set parameters on that. in the html i have it set to 100%
Scroll bars will appear as needed on any HTML page as long as you haven't already done something to prevent that. If you want the scrollbars to appear within the Flash object, javascript cannot help or can only at best partially help you with that. If it is only the Flash object that you are concerned with, it can best be accomplished entirely with the Action Script prior to compilation of the Flash object.
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
i'm not looking for scrollbars in flash, however in order to scale the swf, i had to set the dimensions to 100% and because of this the scrollbars are not appearing in the html container
You set what dimensions where to 100%? It sounds to me as though you set them in the Action script of the Flash, but maybe you mean the object tag on the page, or the style for the body and/or html element of the page.
You are also implying that the Flash movie or whatever it is has certain minimum dimensions, is that true?
In any case, I'd like to have a link to the page, rather than continue a back and forth over what you have set where, and what is happening to what and when.
Please post a link to the page on your site that contains the problematic code so we can check it out.
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
thank you so much, i will post a link in a few.
Bookmarks