| Type: |
Code 
|
| Level: |
Intermediate
|
| Date: |
2007-May-06
|
| Visited: |
1267 times
|
| Rating: |

|
| Author: |
Alex Plumpton |
|
|
Flash page in fullscrenn - how?
Maybe you have wundered how to make HTML page with a Flash clip that is in fullscreen. With this will show you how to do this:
1.Open any flash file in Flash;
2.Choose File > Publish Settings.Choose the HTML section;
3.Click on the Dimensions menu.Select Percent and insert 100 for Width and Height;
4.Click on the Scale menu and choose the No scale option.
5.Choose Publish to see the file.
6. Now you have two files one *.swf (the Flash clip) and *.html(internet page with the code of the clip)
The code of the HTML file should be similar to this :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<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>myfile</title>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<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="myfile" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="myfile.swf" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="bgcolor" value="#ffffff" />
<embed src="myfile.swf" quality="high" scale="noscale" bgcolor="#ffffff" width="100%" height="100%" name="myfile" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go
/getflashplayer" />
</object>
</body>
</html>
|