Hi guys having a lil’ problem with my flash homework hope ya all can help me out a abit.
So I have 2 movieclips - [COLOR=Blue]control_mc[/COLOR] and [COLOR=Blue]container_mc[/COLOR]. [COLOR=Blue]container_mc[/COLOR] was given the instance name “[COLOR=DarkRed]container1[/COLOR]”.
What I’m trying to do is to load an external swf, [COLOR=Red]myMovie.swf[/COLOR] into [COLOR=Blue]container_mc[/COLOR] using actionscripts from within [COLOR=Blue]control_mc[/COLOR].
So in [COLOR=Blue]control_mc[/COLOR], i have these:
onClipEvent(load){
loadMovie(“myMovie.swf”,"[COLOR=DarkRed]container1[/COLOR]");
}
But it won’t work… i double checked the names and file names nothing wrong with them. And I actually try using
loadMovie(“myMovie.swf”,"[COLOR=DarkRed]container1[/COLOR]");
on the normal timeline and the swf can be loaded. But not when I moved it into onClipEvent(load) parameter within [COLOR=Blue]control_mc[/COLOR]…
is there a special way in using loadMovie with onClipEvent()? or there’s just something wrong with my script?
Many many thx in advance.
P/S: made a little amendments, i forgot to mention bout the instance name earlier. =\