www.webdeveloper.com
Results 1 to 2 of 2

Thread: Flash Stretching (Mozilla)

  1. #1
    Join Date
    Aug 2004
    Posts
    142

    Flash Stretching (Mozilla)

    I've got a flash movie that's basically an entire site, and I'm looking to have it expand to fill the entire viewport.

    I realise there's the Flash Satay, but this is just a quickie site. The following code causes it to be full-sized in IE, but not Mozilla:

    Code:
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 
    
    codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,
    
    0,0" width="100%" height="100%" id="index" align="top">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="index.swf" />
    <param name="loop" value="false" />
    <param name="menu" value="false" />
    <param name="quality" value="high" />
    
    <param name="wmode" value="opaque" />
    <param name="bgcolor" value="#00cccc" />
    <embed src="index.swf" loop="false" menu="false" quality="high" bgcolor="#00cccc" 
    
    wmode="opaque" width="100%" height="100%" name="index" align="top" 
    
    allowScriptAccess="sameDomain" type="application/x-shockwave-flash" 
    
    pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object>
    Changing width="100%" height="100%" to style="width:100%; height:100%;" seems to have no effect.

    Thanks for any suggestions
    Homepage of Michael Purvis

  2. #2
    Join Date
    Jan 2005
    Location
    Lithia Springs, GA USA
    Posts
    886
    You can put
    Code:
    fscommand("fullscreen","true");
    in the first frame

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles