Need some help with Flash CS5

falconfan02

New Member
I'm currently designing a site in Adobe Flash for my local airsoft course, and I need a little help. Whenever I try to export, I get this annoying white border around the page:

problemvy.png


problem2t.png


The site is 1280 x 1024 and I'm exporting in HTML with these settings:

settingsy.png


I know Flash isn't the best program for design, but I'm pretty new and I don't really have too much experience in coding. If anyone knows how to fix this, I would appreciate the help :)
 

falconfan02

New Member
There are two problems with that though:

1) It would look real strange where the shading is on the top.

2) The border creates a side to side scroll bar that is really annoying when trying to scroll up and down.

Thanks for the advice though!
 

DHDdirect

New Member
I don't think the issue is in the flash itself. I believe it is with the browsers.

I'd set your background to the same colour as the flash video and use the following css to get rid of the top border

Code:
<style type="text/css">
html,body {
   margin:0;
   padding:0;
}
</style>

Hope that helps
 
Last edited:

Tim

New Member
I think you should check the CSS positioning tutorial to so if you get it in the browser it stays in the middle.
 

Mug

New Member
DHDdirect is right. The problem is to do with the margin/padding applied to the flash object. Look into using swf object 2 for placing you flash files within a html document, it is more reliable.
 
Top