IPOWERWEB.com

 Affordable, reliable
web hosting solutions

Call IPOWERWEB Today at 1-888-511-HOST Chat with an IPOWERWEB representative LIVE!
24/7x365 service - Live Technical Support

Domain Name Registration
web hosting services
cheap web hosting
IPOWERWEB help section
contact IPOWERWEB
testimonials for best hosting
affordable web hosting
IPOWERWEB web hosting
IPOWERWEB accolades
best domain prices


Web Hosting Money Back Guarantee
home build profit promote manage


Tell Target/Load Movie Scripting in Flash

by Don Herion

(1) (2) (3) (4) (5)

Now the original VCR buttons PLAY and STOP will only control the 'coupe1' movie clip. To allow visitors the power to control the shockwave files that load on 'level1' I entered a 'new keyframe' in FRAME 10 for the 'Buttons' layer (keyframes allow me to set different actions for the same buttons). I only had to edit the STOP and PLAY buttons. At FRAME 10 I selected the STOP button and added an 'on Mouse Event' action. Then I selected 'tellTarget' action, set 'level1' since that is where my new shockwave file has loaded. Finally I added a 'Stop' command. When I did the PLAY button I did the same thing but replaced the 'Stop' command with a 'Play' command.

Action script for level1

The 'tires.swf' file is a simple shockwave animation illuminating visitors about the incredible granite tires in the 'Flintstone Coupe.' I added a 'Back' button to each of the three .swf files. The button sends the visitor back to the Fordstone coupe spinning on the turntable. I select the button, apply the 'On Mouse Event' action, and then an 'unloadMovie' action. I enter 'level1' for the Location. I then add a 'tellTarget' script action to load 'level0' (this is 'Fordstone_Cars.swf). I then add a 'gotoAndStop' at Frame Label 5.

Back button for 3 shockwave files

I now duplicated this action scripting for the other two shockwave files, 'interior.swf' and 'roof.swf.'

The Last Word
Remember, to thoroughly test your projects in a browser after testing in Flash.

Oh, one more thing - Yabba Dabba Do!

Click to see the final project - Fordstone.swf

 

 
home | products | about us | help center | testimonials | press room | contact us
affiliates | careers | domain names | web hosting | site map

Copyright © 1999-2007 IPOWER, Inc. Read our Terms and Conditions. All rights reserved.