ive loaded a movie into another and postitioned it…
[AS]
_root.abc._x=“400”;
_root.abc._y=“200”;
_root.abc.loadMovie(“trig_sub.swf”);
[/AS]
but once it is loaded where ever i have used _root in the loaded movie (trig_sub.swf) it nolonger works
eg…
on a button i have
[AS]
on(rollOver){
_root.menu.stop();
}[/AS]
bnut this dosent work when it has been loaded into instance “abc” in the main movie…
wat do i have to use instead of root to point at an instance?
ok…
heres i understand wat is being said…
in the main time line of the movie to be loaded (trig_sub.swf) i place: [AS] _global.myAppMain = this; [/AS]
and then everywhere i used [AS]_root[/AS] i just delete the _root and put myAppMain instead.?
have i got this right, because i cant get it working…
nah i have created a dynamic text box…made it non-selectable and insisde an MC with the instance name “menu” i have put
myAppMain.bob=“hello”;
and the varible name of the text box, under properties, is bob.
but it just turns up blank.
aslo in _root>menu>1-10 i have a button and i told it one mouse over to myAppMain=“goodbye?”;
neither of which have any affect…
y?
click here <a href=“newreply.php?s=&action=newreply&threadid=21919”><img alt=“you’ll be able to attach your files if you click here” src=“images/post_reply.gif” border=“0” width=“90” height=“25”></a>