This content has been marked as final.
Show 1 reply
-
1. Re: Publish to HTML
charithao Dec 11, 2007 9:29 PM (in response to YTCollege)Actually the publishing feature in Flash could be used to preview the flash movie in a browser. You have to chnage the generated html file if you need any other output than flash itself put out. You have to use bit of html and css to have your movie positioned. Below is an example. You could replace the object and embed tags with what flash is generating.
Ex:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
" http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<style type="text/css">
#flashcontent {
height: 300px;
width: 300px;
margin-left: auto;
margin-right: auto;
}
/* end hide */
body {
margin: 0;
padding: 0;
background-color: #eee;
}
</style>
<body >
<div id="flashcontent">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="300px" height="300px">
<param name="movie" value="Untitled-1.swf">
<param name="quality" value="high">
<param name="scale" value="default">
<embed src="Untitled-1.swf" quality="high" pluginspage=" http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="300px" height="300px"></embed>
</object>
</div>
</body>
</html>
