hey! I want my flashheader to match the width of the viewers browsers, but not the height. It’s only a header, not a fullscreenflashsite. It should adjust as I resize the window. I have the flashswf in the maximized width possible (1600px) so the pictures wont be distorted. The movie should fit inside the browser, and not be cut on the sides.
So if I have a **1024x768 **browser, the swf should be 1024x368
If the browserwindow is **1152x864, **the swf should adjust its size to **1152x414
**if 1600x1200, the swf=**1600x575. **yeah well you see where I’m going with this
I posted this in a forum for flashembedding (swfobject), and I was told this could be done in actionscript 3. Here’s my result from trying out the thing u said (100%): http://www.sandralindbergmusic.com/site
and that does clearly not work, it is spread all over like a full screen flashsite. If I don’t write 100% height in the div, there wont be anything showing in firefox. And I want it to work in most browsers…
So that’s why I posted it in here (actionscript 3.0) so I hope anyone has a solution fixing this in the flashfile itself?
hi dear,
you can do this very easily,
you put your movie header in div tag with the property of over flow.
like, #div{
width:100%;
height: 1000px;
overflow: hidden;
}
[quote=abrarshf;2350562]hi dear,
you can do this very easily,
you put your movie header in div tag with the property of over flow.
like, #div{
width:100%;
height: 1000px;
overflow: hidden;
}[/quote]
Ok so I have done this now: http://www.sandralindbergmusic.com/site but there is still black on the overflow of the movie, on the top and bottom to fill out the div. What is it that I’m doing wrong?
Ok it’s good to know that it works in some browsers. It’s just firefox that I can not seem to get it right in. There must be some way to do this in the actionscriptcode?
please don’t hasitate if u have an idea on how to make this work!