Welcome to TalkGraphics.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2002
    Location
    London
    Posts
    461

    Default How do I get rid of the white/grey border when rendering Flash in a browser?

    Hi

    Here is a basic flash question:

    How do I get rid of the white border to a flash when displayed on a black page?

    I have created as simple an example as I possibly can!

    OK I have a Xara (Xtreme Pro v5) file that is 800x600 pixels.
    I have created just a single frame of that size.
    I then exported to a flash file ("test.swf").

    My HTML page looks like this:

    >>>>>

    <html>
    <head>
    <style type="text/css">
    <!--
    body {
    background-color: #000000;
    }
    -->
    </style></head>
    <body><br />
    <BR />
    <BR />&nbsp;
    <div align="center">
    <object width="800" height="600">
    <embed src="test.swf" width="800" height="600"> </embed>
    </object>
    </div>
    </body>
    </html>

    >>>>>

    As you can see, I've made the page background black.
    But when a browser renders the actual page:

    http://www.traighgolf.co.uk/test/web/test.html

    ...as you can see there is a grey border!

    Cheers


    Ship
    Shiperton Henethe

  2. #2

    Default Re: How do I get rid of the white/grey border when rendering Flash in a browser?

    Are you sure your rectangle hasn't a line width applied?

    You can attached your .xar file to you post if you'd like it looked at.

  3. #3
    Join Date
    Nov 2002
    Location
    London
    Posts
    461

    Default Re: How do I get rid of the white/grey border when rendering Flash in a browser?

    Thanks Sledger - yes the problem appears to be that my background rectangle had a line width - albeit a transparant line.

    I find this is very deceptive, and as far as I know NOT the way Xara exports images! Basically thee stated size of the rectangle (in Xara) was precisely 800 x 600 pixels, but it seems that when it comes to *exporting* a flash file, it suddenly adds on the width of the transparent line bordering the rectangle!

    Pah! [mutter, mutter]


    Ship

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •