?
Solved

load

Posted on 2002-03-29
4
Medium Priority
?
183 Views
Last Modified: 2010-08-05
dear experts
Plz help me
iwill explain my problem in steps
i did little game caled color
1-frist level is to color a rat
2-second level to color a car
3-third level to color dog
each of this level in seperate movie
i want to make a movie colect all this movie level by level
i to load movie just have button press on it load first movie rat and when rat movie finsh back to the button i clicked on first and when i press again on it load car movie and so for dog movie .

i did it like that but not complete
i made a new movie and called it  coloecter just have a button i have make new symbol movie clip called it holder just empty load the movie on it  and make  movie clip caled it lod i write in it this script
_root.lods();

and in the frist frame i write this script
function lods(0){
_root.holder.loadmoive("rat.swf",2);
}
i want to make as i explaint above
thx


0
Comment
Question by:yaco
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 3

Expert Comment

by:jeffbeasley
ID: 6905031
//Frame 1
IncrementMovie=0;


//Button Action
on(release){
IncrementMovie++;
if(IncrementMovie==1){
loadMovie("rat.swf",2);
}else if(IncrementMovie==2){
loadMovie("car.swf",2);
}else if(IncrementMovie==3){
loadMovie("dog.swf",2);
IncrementMovie=0;
}
}

Is this what you are trying to do...?

Jeff
0
 

Author Comment

by:yaco
ID: 6906789
thx it work but still have a little problem
when i press the button and the movie load it's sacle too large and the movie did'nt complete it's work
the file which have the button it's contain
just one fram  have the var increment and the button the second problem is the button shows in every movie i load i want to hide this button just show when the movie finish

so plz i need how to make the scale fit to the screen
and the button load after the movie finish
thx
0
 
LVL 3

Expert Comment

by:jeffbeasley
ID: 6910218
add this
//Frame 2
stop();
//Button Action
on(release){
IncrementMovie++;
if(IncrementMovie==1){
loadMovie("rat.swf",2);
}else if(IncrementMovie==2){
loadMovie("car.swf",2);
}else if(IncrementMovie==3){
loadMovie("dog.swf",2);
IncrementMovie=0;
}
gotoAndStop(2);
}

//at the end of each loaded movie add
_level0._root.gotoAndStop(1);

Hope this helps
Jeff


0
 
LVL 3

Accepted Solution

by:
jeffbeasley earned 300 total points
ID: 6915592
Did this answer your question yaco?

Just asking since I took the time to answer it for you....
I would appreciate a grade.....

Thanks,
Jeff
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
Suggested Courses
Course of the Month13 days, 16 hours left to enroll

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question