Toon posts:

[flash] schaalt in Firefox niet op 100%

Pagina: 1
Acties:

Verwijderd

Topicstarter
Ik heb een vraagje, Ik heb een swf bestand in een tabel gezet en die wil ik op 100% laten schalen. Dit werkt wel in internet explorer maar niet in firefox.

Ik laad swf bestanden in php dmv het javascript zodat je de plugin niet hoeft te activeren in IE.
Informatie over dit script staat online op: http://blog.deconcept.com/swfobject/#download

Heeft iemand nog meer dit probleem, en hoe los je dit op??

dit is nu mijn code:
PHP:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
    <head>
        <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
        <meta name="generator" content="Adobe GoLive">
        <script type="text/javascript" src="swfobject.js"></script>
        <title>Naamloze pagina</title>
    </head>

    <body bgcolor="#ffffff" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
            <tr height="100%">
                <td align="center" valign="middle" width="100%" height="100%">
                    <div id="test">
                    Hier komt een flash animatie
                    </div>
    
                    <script type="text/javascript">
                    // <![CDATA[
        
                    var so = new SWFObject("test.swf", "test", "100%", "100%", "8", "#FF6600");
                    so.addVariable("flashVarText", "this is passed in via FlashVars for example only");
                    so.addParam("scale", "exactfit");
                    so.addParam("quality", "low");
                    so.addParam("wmode", "transparent");
                    so.write("test");
        
                    // ]]>
                    </script>
                </td>
            </tr>
        </table>
    </body>

[ Voor 56% gewijzigd door Verwijderd op 13-11-2006 10:46 ]


Verwijderd

code:
1
html, body { height: 100%; }

  • edwinistrator
  • Registratie: December 2000
  • Laatst online: 23-03-2022
ik klik op jou link en ik zie meteen je antwoord:

"100% width and height Flash embed - Having trouble getting your Flash movie to fill the screen? Try this template. Valid XHTML 1.0 Strict.*"

Misschien moet je die link eens volgen en lezen?

Verwijderd

edwinistrator schreef op maandag 13 november 2006 @ 13:06:
ik klik op jou link en ik zie meteen je antwoord:

"100% width and height Flash embed - Having trouble getting your Flash movie to fill the screen? Try this template. Valid XHTML 1.0 Strict.*"

Misschien moet je die link eens volgen en lezen?
en vergeet ook niet naast:

Cascading Stylesheet:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<style type="text/css">
    
    /* hide from ie on mac \*/
    html {
        height: 100%;
        overflow: hidden;
    }
    
    #flashcontent {
        height: 100%;
    }
    /* end hide */

    body {
        height: 100%;
        margin: 0;
        padding: 0;
        background-color: #f60;
    }

</style>


Flash ActionScript:
1
so.addParam("scale", "noborder");

toe te voegen;)

uuh,.. dan valt er wel een stukje af beneden zie ik nu ook,.. zit nl met hetzelfde :P

[ Voor 5% gewijzigd door Verwijderd op 13-11-2006 14:37 ]