Question
how do you reference an attached movie?
Hello:
I am having some difficulty referencing a dynamically created attached movie (attached_popUp) created from the popUp_hitArea movie clip. It cannot seem to find its way into the attached movie? I have run a trace(this) from inside the attached movie to confirm the linking name...
THIS DOES NOT RETURN A TRACE STATEMENT:
_level0.popUp_hitArea.attached_popUp.onRollOver=function(){
trace("testing");
}
THIS DOES RETURN A TRACE STATEMENT:
_level0.popUp_hitArea.onRollOver=function(){
trace("testing");
}
THIS IS WHAT I USED TO ATTACH THE MOVIE IN THE FIRST PLACE:
_level0.roll_A_hotspot.onRelease=function(){
popUp_hitArea.attachMovie("popUp_ID", "attached_popUp", 1);
}
This seems like this must be something obvious?!? Any help would be greatly appreciated.
Thank you!
- Garrett
I am having some difficulty referencing a dynamically created attached movie (attached_popUp) created from the popUp_hitArea movie clip. It cannot seem to find its way into the attached movie? I have run a trace(this) from inside the attached movie to confirm the linking name...
THIS DOES NOT RETURN A TRACE STATEMENT:
_level0.popUp_hitArea.attached_popUp.onRollOver=function(){
trace("testing");
}
THIS DOES RETURN A TRACE STATEMENT:
_level0.popUp_hitArea.onRollOver=function(){
trace("testing");
}
THIS IS WHAT I USED TO ATTACH THE MOVIE IN THE FIRST PLACE:
_level0.roll_A_hotspot.onRelease=function(){
popUp_hitArea.attachMovie("popUp_ID", "attached_popUp", 1);
}
This seems like this must be something obvious?!? Any help would be greatly appreciated.
Thank you!
- Garrett