PDA

View Full Version : CSS full-browser Flash minus a bar div?



bernk
February 26th, 2009, 11:55 AM
Anyone know how to accomplish this:

I have a full-window Flash movie which gets embedded using SWFObject with 100% width and height.

Recently I have had to add a div at the top, above the Flash which spans the entire width of the window and contains some global navigation and info. This part must be HTML and not in Flash. The problem is that since Flash is 100% heigh it takes the height of the window so a portion of the Flash equal to the height of the bar div gets pushed down out of the window.

I can not simply give the Flash movie a static size because once the user resizes the window the Flash movie will not resize with it.