• Week 11: full screen flash (IMED2345)

    Use Actionscript 3 with Flash to create a full screen website. We will learn how to resize and reposition portions of the site to fit the full screen mode.

    Resources: Source .fla with sample .html file

    IMED-2345-Week11.zip - Be sure to unzip all contents into a new folder before you open the .fla. The code will not work if you do not.
    IMED-2345-Final-Requirments.pdf

    Code for Full Screen Flash HTML File

    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>full-screen-flash</title>
    <script language="javascript">AC_FL_RunContent = 0;</script>
    <script src="AC_RunActiveContent.js" language="javascript"></script>
    <style type='text/css'>
    html, body {width:100%; height:100%; margin:0; padding:0}
    </style>
    </head>
    <body>

    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="100%" height="100%" id="full-screen-flash" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="true" />
    <param name="movie" value="full-screen-flash.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#999999" /> <embed src="full-screen-flash.swf" quality="high" bgcolor="#999999" width="100%" height="100%" name="full-screen-flash" align="middle" allowScriptAccess="sameDomain" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object>

    </body>
    </html>

    Please log in to comment.