of course, you can control the attached movie with its instance name that u give…
if your code is
[AS] loader.attachMovie(“mc1”,“movie1”,1); [/AS]
you can control it with;
[AS] _root.loader.movie1 [/AS]
The code worked just fine, and I got my MC controlled… The only problem is that the movie that is being attached will change a lot and I cant control straight to it.
Know what I mean?
Where you said: _root.loader.movie1
Depending on what button you push, it might be movie2, movie3, and so on.
So, I can exactly tell my button to control movie1 when some other movie was loaded into it.
i can’t understand well…but my answer is:
if you attached the “movie1” ,add your code:
[AS]
_root.myAttachedMovie = “movie1”;
[/AS]
and add below code to your buttons:
[AS]
on(release){
if(_root.myAttachedMovie == “movie1”){
//what you want to do
}
if(_root.myAttachedMovie == “movie2”){
//what you want to do
}
if(_root.myAttachedMovie == “movie3”){
//what you want to do
}
}
[/AS]