1. Computing

Video:How to Embed Your SWF in a Web Page

with Mark Zamora

Embedding your SWF in a web page is easier than you may think. Watch this video from About.com to see step-by-step instructions for doing it on your own.See Transcript

Transcript:How to Embed Your SWF in a Web Page

Hi, I'm Mark Zamora, animation expert, here for About.com. In this screencast, I'll show you how to embed a Flash object you've created, or SWF, into your web page.

Sharing Flash Creations Via SWF Files

Embedding SWF files onto your website is a great way to share your Flash creations on the internet, which is important if you're trying to create an online portfolio or if you're simply looking to share with your friends. It's actually pretty simple!

Using HTML to Embed Flash

Just a heads up, we'll be using HTML to embed flash into your site, so make sure you have access to the HTML. When you're done with your animation, you'll want to go into your publish settings and set the HTML options up for how you want the file to look on your website including size, etc. Then, export your movie and use the HTML setting.

Using Your SWF File

Once that's one, you'll have an HTML file in the folder you chose to export to. If you open this up in your web browser, you'll see a blank web page with your SWF file embedded. We're getting closer but plain websites are just that: plain! You want to embed that flash on YOUR website, so right click and choose "View Page Source." This will open up the HTML code.

Look for something along the lines of- so select all of that code, copy, and paste it into your website. Now, you'll also need to upload the swf folder to a directory on the internet. At the moment, it's referencing the file on your host machine. So look for the piece of code that says EMBED src and change the line in quotes to the proper directory. Sort of like this!

And once you have done that, you should be set!For more on animation, be sure to visit Compute.About.com. Thanks for watching!

About videos are made available on an "as is" basis, subject to the User Agreement.

©2013 About.com. All rights reserved.