Solved

Integrating flash movies

Posted on 2001-07-31
4
141 Views
Last Modified: 2006-11-17
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
Comment
Question by:sanjuo
  • 3
4 Comments
 
LVL 3

Accepted Solution

by:
jeffbeasley earned 50 total points
ID: 6338394
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
 
LVL 3

Expert Comment

by:jeffbeasley
ID: 6338416
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
 
LVL 3

Expert Comment

by:jeffbeasley
ID: 6338441
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
 
LVL 6

Expert Comment

by:rootdir
ID: 6341180
I am checking

Thanks
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
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 how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now