First time here? First time here? Newsletter Signup Newsletter
651326 Members and growing! | Flash Jobs
Search tutorials
Author: Claudio Frasca | Website: http://www.frasca.ch
1) Tell target "motion"
   
 

Example:
Make in Flash 4 different Button and call the movie menu.fla and menu.swf for editing.

Then make in the same Windowd where you created the Menu the Motion file "motion1.swf and fla motion2.swf and fla" and go on, dont forget delete the Background in all motion movies,its important that the background is in the menu!

In the menu.fla you can make movie called motion.
In in the first frame you make a "stop"
In the second Frame you call with loadmovie you motion.swf on frame

Example frame1:
stop();

Example frame2:
loadMovieNum("motion.swf", 2);
stop();

Example frame3:
unloadMovieNum(2);

Then you drop the movie in the parent movie and give an instanz name "motion"

Now you start to give the actions on each button.
Example:

Change on every button the red marking with this action u call the movie you want.

--------------------------
on (press) {
Telltarget ("motion"){
gotoandplay(2);
--------------------------

Button 1 "motion"

on (press) {
tellTarget ("motion") {
gotoAndPlay(2);
}
tellTarget ("motion1") {
gotoAndStop(1);
}
tellTarget ("motion2") {
gotoAndStop(1);
}
tellTarget ("motion3") {
gotoAndStop(1);
}
}

at least, use this action script for loading different movies so the mivie will be smaller and you have better overview for maniging big Flash movies!


» Level Basic

Added: 2003-07-27
Rating: 3 Votes: 57
(10 being the highest)
» Author
frasca is a Webdesigner and a Flashanimator
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!

Comments

  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: doc_chin7
» Description:

The flash's horizontal road drive was done in CS4 and was upgraded to CS6. The car responds to right/ left key and flash will auto-generate the movement of roads from left-right or right-left based on random number. Have fun driving in this virtual environment and avoid other cars... :) If you are creative, a road driving game can be created from it.

Featured Sound Loops
Image for equalize

Audio Player

» Author: BoxCat
» Title: CPU Talk
» Description: From the cyberpunk RPG, "Nameless: the Hackers" Completely Free to use! Keywords: edm hip hop rap electronic mysterious mission hacking chase exciting spy ios ambient chilling love happy sad angry suspense
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: nathan
» Description:

A recorded sound of the Dimensional Fork Gate.