Communication between caller and called swf

Hi fellows I am still waiting
Here what i am doing I load a swf using loadMovieNum now I want to do

  1. Somehow pass the values to the called swf from the caller swf
  2. Another thing I want is that I want to get the currentframes of caller swf
    that means I need to have two way communication between caller and called swf. i.e. caller should know what the called status is and vice versa

Just put a var in _root, and when the called movie is loaded inside the caller, they share _root. So they can both read and write vars in _root, which you can use to let them ‘communicate’.

Since you’re using loadMovieNum I assume you’re loading movies into different levels then want to communicate between levels. If this is the case you can use the _levelX. It’s used in the same way _root is but _root, refers to the root timeline of the current level. _levelX refers to the main timeline of the X level.

So if there’s a variable called timer on the main timeline of the movie in level 3, and you want to acces it from a movie in level 10 use _level3.timer