A Flash Developer Resource Site

Results 1 to 14 of 14

Thread: Flash without background borders

  1. #1
    Junior Member
    Join Date
    Dec 2005
    Posts
    5

    Flash without background borders

    Hi mates,

    i am asking for your help to get rid of the border of the background color when i publish preview my site the html has a border of the background color and i want to avoid that to view the full flash movie.. any help??

    Thanks

  2. #2
    Crash Overide
    Join Date
    May 2006
    Location
    Newcastle, Uk
    Posts
    6
    yeah you can put your flash movie into dreamweaver ( this is the only one i know that does this nifty trick ) and click it and then click parameters and then in the first little box thing were you type in :s lol !!! type

    wmode

    then in the other box type in

    transparent then when you upload you site there will be no background

    NOTE: you must have you background colour on flash the standart white colour ( i think ) hope i helped

  3. #3
    Junior Member
    Join Date
    Dec 2005
    Posts
    5
    Thanks mate i will try that

  4. #4
    Member
    Join Date
    May 2006
    Posts
    48
    how?
    I typed
    parameter: wmode and
    value:transparent ..
    but it didn't work....

  5. #5
    Crash Overide
    Join Date
    May 2006
    Location
    Newcastle, Uk
    Posts
    6
    this is quite hard to explain but i will try my best

    do everything i todl you to do before

    but you can only test this when you have uploaded you site ermm..


    say you make you page callied index

    then you must make you page......

    ad then upload it to your server then try the page from the web

    here is my site


    www.flash-files.co.uk.. if you look at the nav bar you can see there is jsut a little bit of box left... but its invisble

    so try that i hope i can help if this still dont work reply back and tell me exactly what you are doing and i will help some more

  6. #6
    Member
    Join Date
    May 2006
    Posts
    48
    I tried to upload my site online and doesn't work, the problem is that I have a picture as a background in my fla, and not a bckg color.. is possible also in this case?

  7. #7
    Junior Member
    Join Date
    Oct 2004
    Location
    India(Delhi)
    Posts
    25
    thats not possible
    Kheema Pandey

  8. #8
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    Quote Originally Posted by vanderbico
    Hi mates,

    i am asking for your help to get rid of the border of the background color when i publish preview my site the html has a border of the background color and i want to avoid that to view the full flash movie.. any help??

    Thanks
    By default the browser will include about 8 pixels of margin (or padding) around the page - pushing the movie away from the edge of the viewport. You can remove this by using,

    Code:
    <style type="text/css">
    html, body {
      margin: 0; padding: 0;
    }
    </style>
    in the head of your HTML page.

  9. #9
    Member
    Join Date
    May 2006
    Posts
    48
    it works perfectly!
    thanks catbert303

  10. #10
    Junior Member
    Join Date
    Dec 2005
    Posts
    5

    Thanks

    catbert303 you are the best!

    it worked finally

    thanks mate

  11. #11
    Junior Member
    Join Date
    May 2006
    Posts
    13
    catbert303 is possibly a god! This post has virtually pulled me
    from the fire...the border along the top is gone, but I still have
    a slight (approx 4 pixels) border to the left. Any ideas why this
    is still present? Any advice would be greatly appreciated.

  12. #12
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    Do you have a link to the page to check?

    If you right click on the border do you get the Flash context menu? If so the gap is probably from a slight misalignment inside the movie e.g. something that should be 0 pixels from the left edge is a fraction off.

  13. #13
    Junior Member
    Join Date
    May 2006
    Posts
    13
    Unfortunately..no link as it has not been uploaded yet. When I
    right click the border i get an HTML context menu..the movie is
    800 x 600 with basically a solid background image, a nav-panel,
    a couple "floating" panels, and a title banner that is flush against
    the top edge and goes all the way across the page.

  14. #14
    Junior Member
    Join Date
    May 2006
    Posts
    13
    First...thanx for the rapid reply! Your advice actually fixed
    the problem completely. The "phantom" border was another
    matter entirely, and frankly, too ridculous to mention..need
    to sleep I guess! In any case it is fixed...thank you x1000!

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center