A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: swfobject2?

  1. #1
    Junior Member
    Join Date
    Jun 2009
    Posts
    4

    swfobject2?

    Hi Everyone,

    I have this problem whenever i publish a .html file from flash.
    There is always white borders around it and the swf never fits to the browser size and with scrolls...

    I saw a few websites , the .swf fits the web browser nicely without any scrolls...
    May i know how do i do that? I checked swfobject2 , but i am not really sure how to do it...

    Please advise...

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    The problem is not Actionscript. Use the following CSS in your style tag:
    margin:0;
    That's for the borders. More info in the HTML Forum.

    gparis

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