Hey Vincent

Thanks for you great response. Well, I've been working a few hours with 
it since, and it seems like it's only on my setup on Safari. I'm running 
version 3.2.1, and I still get the error.

About the minimum size: I'm currently using a test movie, and when the 
page is finished, I'll have a minimum height on the div. But for now I 
just removed it to keep it simple.

The solution I ended up with was to use mootools to see whether the 
browser is safari. If it is, I change the height of the main div via 
javascript before I embed the flash movie - and again when the browser 
resizes. It's a hack, but it's good for now.

It's just really odd that I'm the only one seeing this. I posted in 
another forum and a guy on a windows computer said that Google Chrome 
had the same error. But on my win machine, Google Chrome displays it 
correctly.

Well, that's just browser 101 :-)

Med venlig hilsen / Kind regards

Rune Skjoldborg Madsen
Freelance web designer / developer

[email protected]
www.runemadsen.com
(+45) 61 71 34 50
Falkoner Alle 73A, 5th floor
2000, Frederiksberg
Denmark




Vincent Polite wrote:
> Rune, hi.  I use a Macbook Pro running Leopard and I get similiar 
> views in both Safari v3.2 and Firefox 3.0.10.  The only piece of the 
> test page that strikes me as odd is that you can shrink the content to 
> a size small enough that the central content gets cut off; I'm 
> presuming that's intentional, although based on my read of your 
> original post I would have expected that you would want that content 
> div to be of some minimum width/height so the content and navigation 
> were always present.  /shrug
>
> The point of my email is that either you've gotten everything to work, 
> or maybe the issue is local to the computer/browser setup you've been 
> testing on?
>
> I would be curious to hear what your solution ended up being if you 
> have indeed solved things.  Otherwise, I would look at what version of 
> Safari you are using and to verify that you are browsing in a 
> "default" mode in that browser.
>
> Good luck!
>
> Vincent
>
> On Fri, May 29, 2009 at 2:27 AM, Rune Skjoldborg Madsen 
> <[email protected] <mailto:[email protected]>> wrote:
>
>
>     Ok.. thanks.
>
>     I guess it's a Safari Mac issue, since I'm using Mac.
>
>     I'll take a look at the links you provided, thanks a lot.
>
>     Med venlig hilsen / Kind regards
>
>     Rune Skjoldborg Madsen
>     Freelance web designer / developer
>
>     [email protected] <mailto:[email protected]>
>     www.runemadsen.com <http://www.runemadsen.com>
>     (+45) 61 71 34 50
>     Falkoner Alle 73A, 5th floor
>     2000, Frederiksberg
>     Denmark
>
>
>
>
>     Aran Rhee wrote:
>     > As I said, I get the same on all three browsers I tested on.
>     >
>     > Screen shots from Safari 4:
>     >
>     > large browser window size
>     > <http://www.misterhee.com/tests/runemadsen/rune.01.jpg>
>     >
>     > small browser size:
>     > <http://www.misterhee.com/tests/runemadsen/rune.02.jpg>
>     >
>     > You can see that Flash does not take over the screen, and the header
>     > and foot remain (I believe this is what the site is supposed to do
>     > based on your description)
>     >
>     >
>     > As this is a CSS issue, I would suggest that you will find more help
>     > on other forums, but someone else onthe list might be able to
>     help out
>     > with some CSS pointers.
>     >
>     >
>     > Here is a site example which has a fixed header / footer and flash
>     > content in the center which might help (if you have a look at
>     the CSS
>     > etc):
>     > http://www.dream-abstract.com/new/index.htm
>     >
>     > Here is 1 implemetation of a fixed header/footer via CSS:
>     > http://www.cssplay.co.uk/layouts/basics2.html
>     >
>     > here is another:
>     >
>     http://www.456bereastreet.com/archive/200609/css_frames_v2_fullheight/
>     >
>     >
>     >
>     > Aran
>     >
>     > On Fri, May 29, 2009 at 5:26 PM, Rune Skjoldborg Madsen
>     > <[email protected] <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[email protected]>>> wrote:
>     >
>     >
>     >     Thanks...
>     >
>     >     But I don't think that's exactly true. Safari shows the
>     right size of
>     >     the div when I'm not embedding the Flash content. But when
>     the flash
>     >     content is inserted, it fills more than the box height - the
>     entire
>     >     browser area.
>     >
>     >     The main div is set as position absolute and top: 155px,
>     >     bottom:26px, so
>     >     I have constrains.
>     >
>     >     None of the other browsers do that.
>     >
>     >     Do you have a method on how I can achieve what I want? To
>     have a fixed
>     >     size html header and footer and a main area with flash
>     content that
>     >     fills the rest of the screen.
>     >
>     >     Med venlig hilsen / Kind regards
>     >
>     >     Rune Skjoldborg Madsen
>     >     Freelance web designer / developer
>     >
>     >     [email protected] <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[email protected]>>
>     >     www.runemadsen.com <http://www.runemadsen.com>
>     <http://www.runemadsen.com/>
>     >     (+45) 61 71 34 50
>     >     Falkoner Alle 73A, 5th floor
>     >     2000, Frederiksberg
>     >     Denmark
>     >
>     >
>     >
>     >
>     >     Aran Rhee wrote:
>     >     > All three browsers behave exactly the same for me ( I am using
>     >     Safari
>     >     > 4, IE7, FF3)
>     >     >
>     >     > That being said, I think this is just how you are defining
>     your CSS
>     >     > for your various containers. The issue is not actually
>     related to
>     >     > SWFObject, as it has written the content to the page
>     correctly.
>     >     >
>     >     > Remember that SWFObject REPLACES the flashcontent div, so you
>     >     need to
>     >     > define whatever layout constraints you want to the "main" div
>     >     via css
>     >     >
>     >     >
>     >     > Aran
>     >     >
>     >     >
>     >     >
>     >     > On Fri, May 29, 2009 at 4:37 AM, Ronze
>     <[email protected] <mailto:[email protected]>
>     >     <mailto:[email protected] <mailto:[email protected]>>
>     >     > <mailto:[email protected] <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[email protected]>>>> wrote:
>     >     >
>     >     >
>     >     >     Hey everyone
>     >     >
>     >     >     I'm working on a HTML page with a flash movie embedded in
>     >     the main div
>     >     >     (middle). I have a header div, a main div that is absolute
>     >     positioned,
>     >     >     and a footer that is absolute positioned.
>     >     >
>     >     >     Everything works fine in all browsers. When I embed my
>     Flash
>     >     content
>     >     >     using SWFObject as 100% height and 100% width, it also
>     works
>     >     fine in
>     >     >     FireFox 3 and IE. But in Safari the flash movie will
>     become 100%
>     >     >     height of the browser, not the div. The flash movie is now
>     >     bigger than
>     >     >     the actual screen, even though it should fit the main
>     div 100%.
>     >     >
>     >     >     You can see the test here:
>     >     >     http://www.runemadsen.com/test/
>     >     >
>     >     >     What can I do to make it work in Safari? As you see, the
>     >     content is
>     >     >     lying under the footer in safari because the embedded
>     flash
>     >     movie size
>     >     >     is too high.
>     >     >
>     >     >     Thanks
>     >     >
>     >     >     >
>     >
>     >
>     >     >
>
>
>
>
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to