1. Save your work in that directory where you are going to
have your html file or special folder for Flash files.
2. You get two files swf and fla. Only swf is important to Web page. You can
leave Fla file if you are going to improve it later. You do not need
to upload fla file to the Web.
3. In your Flash programme go: File/Publish Preview (Default or HTML),
go to the HTML sources and copy <Object> to </Object>. If your
swf file is saved in separate folder, correct a path.
4. Paste it in your HTML file.
Another way: By saving your fla file you get also HTML file in your
directory automatically. Just copy the codes and put in your homework page.