How to Add Flash to a Webpage
- 1). Open your Flash source. Select "Publish Settings..." from the "File" menu. This will generate your SWF, HTML webpage and active content script.
- 2). Open the generated HTML file. Notice the coding within the <head> tags. It will look something like the following:
<script src="AC_RunActiveContent.js" language="javascript"></script>
"AC_RunActiveContent.js" is generated with the HTML. You will also see the SWF coding that is automatically inserted. - 3). Close the HTML document. Upload the SWF, HTML and "AC_RunActiveContent.js" files to your web server to test your webpage.