Sun, Jan 26, 5:10 PM CST

Renderosity Forums / Animation



Welcome to the Animation Forum

Forum Moderators: Wolfenshire Forum Coordinators: Anim8dtoon

Animation F.A.Q (Last Updated: 2025 Jan 21 6:46 am)

In here we will dicuss everything that moves.

Characters, motion graphics, props, particles... everything that moves!
Enjoy , create and share :)
Remember to check the FAQ for useful information and resources.

Animation learning and resources:

 

[Animations]

 



Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: help needed


Javil ( ) posted Fri, 23 January 2009 at 2:39 PM · edited Mon, 06 January 2025 at 11:56 PM

about : flash in browser (html)

Hi all,

i have some important questions i want to make.
I'm struggling a long time with my flash webpage.

What i want is a complete flash webpage with browser-scrollbars!
And that the flash content always is centered when browser resizes..

The only way to have browser-scrollbar is to 'publish' the flash content with 'match-movie' settings.
The only wat to have the flash centered is to 'publish' the flash content with '100x100 percent setting.

It is  always only one of them, not both.
I have images on my webpage and i want them not to resize but always display correct.

I also tried to import the flash content in dreamweaver, but that overrides the 100x100 percent settings and not give me a centered page!!

Who can help me to do both?
Someone told me to do something with overflow settings in html, but i do not know where to put it..

Can someone please help me to get browser-scrollbars and centered flash?

In this example i have the flash centered (without scrollbars), but how can i get the scrollbars in the html?? :

*


Nieuw2                        

more VUE Infinite on -> javildesign.com


nemirc ( ) posted Fri, 23 January 2009 at 10:24 PM

holy!
I know pretty much almost nothing about HTML, sorry

nemirc
Renderosity Magazine Staff Writer
https://renderositymagazine.com/users/nemirc
https://about.me/aris3d/


gammaRascal ( ) posted Tue, 27 January 2009 at 8:04 PM

You can always add content to the html page thereby forcing the scrollbar.




pauljs75 ( ) posted Tue, 10 February 2009 at 12:11 AM

You could probably research your javascript a bit an apply some maths. There should be some browser detects available that will give you the window width and height. Then halving both of those will find your center. Subtracting half of the the Flash dimensions from the center positions should center it. Then it's just a matter of writing the javascript to appy those in order to position things.

As for scrollbars? Usually a browser doesn't display its own scrollbar unless the content bleeds off the screen. Twisted's post above is the easy way of taking care of that. (But there may be some script side stuff that can force it.)

And there is stuff in ActionScript for generating a scrollbar within Flash. So you could make it fullscreen sans browser scrollbar and do whatever scrolling you need in the Flash environment itself.

Also don't trust the page renderer within Dreamweaver itself to always get things right, if you want to be sure - always check with the actual browsers you have available.


Barbequed Pixels?

Your friendly neighborhood Wings3D nut.
Also feel free to browse my freebies at ShareCG.
There might be something worth downloading.


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.