6 Export to web
Up

The reason that we have studied this program in addition to Visual Basic is that it can do something that Visual Basic cannot do - it can create 'programs' that can be incorporated into web pages (a program that can be added to a web page is called an 'applet'). Once you have finished creating the movie and have saved it as a movie file click the Export Flash Movie As... button in the movie properties window. Carefully save the SWF file into the same folder that contains the web page that you want to add the movie to. Don't forget that if you save the SWF from an unregistered copy of 3D Flash Animator then there will be no interactivity except via keyboard input - the buttons, input boxes etc will not work for every click on the movie will simply cause the company's website to open, nothing more. You must save the SWF file from a registered copy of 3DFA in order for buttons and input boxes to work (see me for help with this).

We are still left with the problem of getting the SWF file to appear in our web page. To add your flash animation to Microsoft FrontPage first click the 'Show the Exported HTML' button which is located near the 'Export Flash Movie As...' button that you clicked a moment ago. A window will open showing the HTML code that you need to copy into your web page. Select and copy the code (Ctrl-C).

In Frontpage, open the page that you want to add the animation to and then choose the menu item Insert -> Advanced -> HTML. Paste the HTML you have just copied into this editbox. Press OK and you should be able to preview your movie in FrontPage by clicking 'Preview' ('Aperçu', in French), at the bottom of your FrontPage window (you may even see it in Normal mode).

If you are using Dreamweaver to make your web pages then follow the instructions in the 3D Flash Animator Help system.

Previous Up