Flash Templates

Flash Templates Today
Web Sites
Free Shape
Photoshop Tutorials
Flash Tutorials

Free Website Templates
View All Templates!
Preview & Download
Preview & Download
Recommended Hosting:
Host Unlimited Domains on 1 Account
1500GB storage and 15000GB bandwidth for $6.95/mo!
Recommended Hosting:
Host Unlimited Domains on 1 Account
1500GB storage and 15000GB bandwidth for $6.95/mo!
Free Website Templates: 123456789101112131415
Preview & Download Preview & Download Preview & Download

Welcome To MyFreeWebTemplates.info Flash Tutorials Area - Use poly-line tool to create hatching egg

 

 

 

This tutorial demonstrates how create a Flash movie that changes its size when the user moves the mouse over it and collapses when the mouse is out of the rectangle.

  1. Launch Flash Designer and create blank animation. Set frame size ("Frame" > "Frame Size") to 300 x 300.
  2. Make the first frame static, choose "Frame" > "Frame Delay", check "Stop" and click OK.
  3. Draw a small rectangle (about 80 x 80 pixels) in the left top edge with "Rectangle" tool. Later it will react to mouse over events. Press Ctrl+F to change rectangle fill color.
  4. Choose "Frame" > "Duplicate" to make a copy of the frame. Frame 2 will be created.
  5. Enlarge the rectangle on Frame 2 with "Item" > "Align" > "Fit to Frame" command (or resize it with "pointer" tool)
  6. Go back to Frame 1 and define "MouseOver" action for smaller rectangle. Select the rectangle and choose "Item" > "Actions" > "OnOver". Choose go to "Frame 2" and click OK.
  7. Go to Frame 2 and define "MouseOut" for larger rectangle. Select the rectangle and choose "Item" > "Actions" > "OnOut". Choose go to "Frame 1" and click OK.
  8. Press F9 to preview the animation. Verify if mouse actions work.
  9. Create animation effect. Go to Frame 2, select larger rectangle and choose "Animation" > "Tween in". Select "Frame 1:Rectangle" as the tween start and click OK.
Now you have a base for your dynamic size Flash animation.

In the next step you have to export swf file and use absolute positioning to embed it in the HTML page.

  1. Choose "Movie" > "Export Options" and check "Transparent" option. Uncheck "Show loader progress". Click OK.
  2. Choose "File" > "Export SWF file" and save Flash file.

To embed Flash file in your web page use DIV tag:

<DIV STYLE="position:absolute">
<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
...
</DIV>
<P>&nbsp;
<P>&nbsp;

Absolute position will take DIV content off the HTML flow and place it over the elements that follow DIV tag. To make some space for the smaller rectangle (so it doesn't overlap the text) use few nbsp; and <P> tags


Illustrator Tutorials
HTML Tutorials
Flash Templates
Free Web Templates
Free Website Templates
Free Flash Templates
Web Templates Forum
Welcome to MyFreeWebTemplates.info we have a collection of Free Templates available for download created by designers from around the globe. Our collection is growing daily so be sure to check back often for more Free Templates. If you can't find a Free Template that suits your needs, we may offer you many professional web templates and flash web templates.

Website templates are pre-made website designs that you can customize and personalize to suit your company's image.You can save time and money by using website templates for your design project.
All Rights Reserved 2007-2008 by MyFreeWebTemplates.info