ART279 - 3D Computer Graphics Design II
Spring 2002 - NVCC - Giulio Porta

Web Animation - FLASH

By Holly Zell

My Flash Discoveries


Inserting Flash Animation into non-Dreamweaver Web Builders

Unless you are using Macromedia's Dreamweaver to create your web page, you will have to include the following code to place your flash movie on your page. I used MS FrontPage 2000 to create this page. You will need to change the highlighted file name to your flash movie file name. NOTE: Be very careful using FrontPage, it is known to modify/expand/messwith the code. Also, be sure the width and height reflects your file size.

<object CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="550" HEIGHT="400"
CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">
<param name="MOVIE" value="boo6.swf">
<param name="PLAY" value="true">
<param name="LOOP" value="true">
<param name="QUALITY" value="high"><embed SRC="boo6.swf" WIDTH="550" HEIGHT="400" PLAY="true" LOOP="true"
QUALITY="high"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</object>

I obtained this information from the Flash Support Center page on the Macromedia web site.
I highly recommend you read about this code and why it must be included.
URL: http://www.macromedia.com/support/flash/ts/documents/html_editor.htm

I used the Publish command under File to create my movies. It generates an html file in addition to the movie file. You can open the html file in your browser to see your movie. This also makes it easy to obtain the necessary HTML code to insert your Flash movie into a web page. You simply copy the OBJECT code from the HTML file and paste it into your web page. This code works for both Internet Explorer and Netscape browsers.



 

Other Interesting Flash Discoveries


File Sizes

Flash is indeed a more efficient animation file builder. 
The Flash Movie files are Vector graphic files. An AVI file is a Raster graphic file.
The table below outlines file size information. 

Assignment File

.AVI File Size

Flash Movie(.swf) File Size

Assignment # 8a  

5,248 KB

5 KB

 Assignment # 8b  

23,305 KB

61 KB

Assignment # 8c  

2917 KB

2 KB

WHAT A DIFFERENCE!!!


About Flash ActionScript

Flash has a scripting language called ActionScript which is based on JavaScript. It's syntax is the same as JavaScript's. For non-programmers, using the Action panel will create simple ActionScripts for you (via menus and lists). There is also an Expert mode that allows the more knowledgeable scripters to enter more complex scripts. With these scripts you can make your flash movies interactive. (See Assignment 8b)
Actions can be associated with Buttons, Movie Clips or with Frames in the timeline.

For assignment 8b, I found sometimes confusing/conflicting/incomplete information when I sought help online in understanding the Flash ActionScript language and most books on Flash didn't go into enough depth. The best book I came across is FOUNDATION ACTIONSCRIPT by Sham Bhangal which I found at the regional library.  It is an in-depth description of the Flash ActionScript language and its functions for those interested in becoming more familiar with ActionScript. If you already know JavaScript, you will find ActionScript easy to pick up.


References

The current downloadable version of Flash is Version 6, Flash MX.  It is a bit different from version 5.  I made extensive use of the online Help and books from the public library to figure out how to complete the assignments. 
The best book for learning Flash basics is Teach Yourself Visually Flash 5 by Sherry Willard Kinkoph.
For independent study in general, I have found these Visual series books to be the quickest way to learn the basics of software packages and I recommend the series highly.


Conclusions

I have decided that I would like to own a copy of Flash for my own graphics development. It is a very powerful package and the ActionScript language is a very important and useful addition to animation capability, allowing user interaction with the graphic.  The small file sizes are a huge plus, too.  Since I already knew JavaScript, I found ActionScript easy to understand and use. I felt as if I was just getting the hang of Actions when my trial version of Flash expired.

 


İHolly A Zell
Revised: September 20, 2007
All Original Artwork Copyrighted.