(MX 6) function scope

is that possible to call a function which belong to another swf file ?

I use loadmovie to load a movie(called: movie2) in another movie (movie1).
Movie1 contains a function that I want to be accessible from movie2.
How can I do that ?

If the function is located in the _root of movie1, just use _root.theFunction (). But it depends on your structure, really. If you still have problems, _global functions may help, but it’s not really a good practice…

pom :slight_smile:

It does not work.

The function in the 1st fla file is in a movie clip object (clip7).

I want to call it from another fla (swf when publi…) and the call function is in a movie lcip(clip8) as well.
Should I use clip7.nameofthefunction(); ?