SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Member
    Join Date
    May 2004
    Location
    dfgdfgdfg
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Auto resize flash in PHP

    I'm having some trouble getting a few flash files to auto resize on my
    webpage.

    here's my PHP code

    <?echo "<embed height=100% width=100% src=\"games/$image\"> <br>";?>

    The thing is that, that code makes the width too long and the height just
    right.

    so when the flash loads up you can see all the events that are going on off
    screen, before they get on screen.

    Does anyone know how to fix that ?

    I tried using Iframes as suggested, but it's still the same problem just in a iframe now.

    The better question would be. How to I fix/fit the height and width so that it remains true to the default size of the flash. So that when you maximise the window it doesn't stretch all out of proportion.
    Last edited by Zander; May 5, 2005 at 08:19.

  2. #2
    SitePoint Member
    Join Date
    May 2004
    Location
    dfgdfgdfg
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Bump!

  3. #3
    SitePoint Member
    Join Date
    May 2004
    Location
    dfgdfgdfg
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Come on.. ANYBODY!??...

  4. #4
    SitePoint Wizard Dylan B's Avatar
    Join Date
    Jul 2004
    Location
    NYC
    Posts
    1,150
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This isn't really a PHP question. Try the desgin forums

  5. #5
    SitePoint Member
    Join Date
    May 2004
    Location
    dfgdfgdfg
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How can this NOT be a PHP question, when the script is written in PHP, huh ?

  6. #6
    SitePoint Wizard Dylan B's Avatar
    Join Date
    Jul 2004
    Location
    NYC
    Posts
    1,150
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PHP deals with the processing of data. Your asking a display question, therefore it belongs in the HTML/CSS forums.

  7. #7
    SitePoint Member
    Join Date
    May 2004
    Location
    dfgdfgdfg
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    so how do i get it to proccess the data so that it will show correctly ?


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
  •