A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: SwfObject 100% trouble

  1. #1
    Member
    Join Date
    Jul 2007
    Posts
    36

    SwfObject 100% trouble

    Hi everyone,

    I am using SwfObject to embed a 750px x 500px movie onto a page. I want the movie to fill the entire screen. I have used the full page template provided by SwfObject, but it still doesn't fill the entire screen, it is small and sits in the middle of the screen. I really need to solve this problem because I need to send this project to someone in a few days.

    Thank you for any help that you may provide.

    Ipsum

  2. #2
    Senior Member
    Join Date
    May 2007
    Posts
    266
    Post the code or a link to your page so we can see what's going on without guessing.

  3. #3
    Member
    Join Date
    Jul 2007
    Posts
    36
    Yea sorry about that. Here is an example that I quickly made using the SwfObject export module that you can download:

    http://www.freewebs.com/ipsum/test.html

    As you can see, it is actually making the movie smaller, instead of 100% which it is set to.

    Thanks.

    Ipsum

  4. #4
    Bearded (M|G)od MyFriendIsATaco's Avatar
    Join Date
    Dec 2002
    Location
    Awesomeville.
    Posts
    3,045
    change your css definition to this:
    Code:
    <style type="text/css">
       html,body {background-color: #ffffff; margin:0; padding:0; overflow:hidden;}
       #testContainer { width:100%; height:100%;}
    </style>

  5. #5
    Member
    Join Date
    Jul 2007
    Posts
    36
    Thanks. I found out that I needed to remove a line of the javascript.

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