Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 167
  • Last Modified:

Integrating flash movies

Hi all,

   What is the best way to integrate all submovies into main frame movie? So that they should talk to each other.
   Is there any best example?
0
sanjuo
Asked:
sanjuo
  • 3
1 Solution
 
jeffbeasleyCommented:
in main movie use
loadMovieNum("firstmovie.swf",1);
loadMovieNum("secondmovie.swf",2);
and so forth
to communicate
use
_level1.(someaction)

Your main movie is by default in level 0 (_level0)
where "_level" + "number" allow you to communicate between movies

some action represents actions you can call
for example to make main movie play from another movie
you would put in the other movie
_level0.gotoAndPlay("scene 1",1);

Hope these exmples helped
Jeff
0
 
jeffbeasleyCommented:
If you go to
http://www.jeffbeasley.com/portfolio.html
and look at the hoopszone section and the TRAC section
These use multiple layers of movies that aree talking with each other.
For example
In TRAC all of my action script is in one movie using functions
My other movies call my functions
my background is in one Movie
My lessons are within another.
My VCR controls are in another Movie that control my lessons but call Action Script from my main Movie

To use TRAC click on the lessons button

Are your other Questions Answered?
Jeff
0
 
jeffbeasleyCommented:
I also have a example file at
http://www.jeffbeasley.com/downloads
that gives an example of this
called
loading _ main.fla
loading_intro.fla
0
 
rootdirCommented:
I am checking

Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now