Adobe Flash CS5 Tutorial: Creating an Animated Banner Page 7
Configure the Text Layer
Publish Your Movie
Select File > Publish Settings to display the Publish Settings dialog box shown below. You will work with the Formats tab, the Flash tab, and the HTML tab of this dialog box.
On the Formats tab, verify that the Flash and HTML checkboxes are checked.
On the HTML tag, verify that Loop is unchecked — we only want the animation to play once. Checking Loop will cause the animation to repeat over and over.
Click Publish. Click OK.
Test the Web Page and Flash Movie
Launch a browser and open the banner.html file. Your result should be similar to the figure below:
View the source code of the web page to see the HTML code automatically generated by Adobe Flash to display the Flash movie. You can copy and paste this code in your own web pages as needed.
Or, you can use the code below which will pass W3C XHTML validation:
<param name="movie" value="flashbutton.swf" />
<param name="quality" value="high" />
<param name="loop" value="false" />
<h1>Acme Web Design</h1>
You've created your first animated banner using Flash!
You have completed the Flash Animated Banner Tutorial. As you may have noticed, we have barely scratched the surface of what Flash is capable of. Consider further study by taking courses. There are also many other online Flash tutorials available on the Web.