[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

load

Posted on 2002-03-29
4
Medium Priority
?
184 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
Suggested Courses

656 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