Sunday, March 28, 2010

Embed flash in page so it won't have...

Hi,

This is my problem.

I have a swf which is 1700px wide.

I want to embed it to a page so it won't have scrollbars even if the browser window is smaller then 1700.

But I need it not to be resized down.

Just like this: http://www.mktvirtual.com.br/

Do you guys know how Can I anchieve this?

Embed flash in page so it won't have...

The site you identified has a vertical scrollbar due to being too tall for the browser.?How does that relate to what you seem to be asking for, which is not wanting a scrollbar?

Embed flash in page so it won't have...

But it doesn't have a horizontal one.

If you change your resolution you'll notice it will aways fill the screen and never have a horizontal scrollbar.

That is probably done using CSS.?Here's a link to a semi-tutorial about it...

http://www.webdesign.org/web/html-and-css/tutorials/css-hacks-removing-the-horiz ontal-scroll-bar.15989.html

If you're writing a full browser site then this css rule will eliminate the vertical scroll bar in IE and other scroll bars won't appear.

body {overflow:auto}

this is a fullbrowser example I wrote

http://www.cybermountainwebservices.com/client0/date/

I'll upload another example with the fla

the full css rule you will need to use is

body {margin:0; padding:0, overflow:auto}

along with that you need to set dimension to percent 100 100 in your publish settings under the html tab

Jack Add

Scroll=no

in ur HTML page?body

%26lt;html dir=''rtl''%26gt;

%26lt;head%26gt;
%26lt;meta http-equiv=''Content-Type'' content=''text/html; charset=windows-1252''%26gt;
%26lt;title%26gt;New Page 1%26lt;/title%26gt;
%26lt;/head%26gt;

%26lt;body scroll=no%26gt;

%26lt;/body%26gt;

%26lt;/html%26gt;

Jym

body {overflow:auto} won't do anything for me.

I have found a tutorial on what seems to be the solution. But it's AS2 and doesn't work in AS3 project.

http://www.ryebreaddesign.com/articles/posts/view/1

Do any of you know where to find something about this in AS3?

This solved my problem

http://flash.tutsplus.com/tutorials/web-design/build-a-fluid-website-layout/

Thank you guys for the help

No comments:

Post a Comment