Hi.
(I previously posted this thread in Flash MX Forum but I think it should be here instead. Sorry)
Funny behaviour…I’m trying to load an external MC containing dynamic text (MC-Clip.swf) to a MC empty holder (MCimport) within my main/parent movie.
This piece of AS is attached to a button (to call the dyn. txt clip):
on (release) {
_root.loadMovie (“MC-Clip.swf”, “MCimport”);
}
With this, the dynamic text gets loaded indeed… but Fullscreen into the parent movie, and not into MCimport (where it should be).
Now… I don’t understand why, but the thing is that if MC-Clip.swf contains just static text (and change accordingly the text properties to static text in the holder MC), it gets loaded in the right place (MCimport) within the main/parent movie. (!!!)
And this is the piece of AS attached to the button (to call the MC containing the static txt):
on (release) {
loadMovie (“MC-Clip.swf”, “MCimport”);
}
In order to get loaded the dynamic text into the target MC inside the parent movie, I’ve tried many different combinations (some of them even absurd I think)…the result? same behaviour or even worse. Some of them are:
// loadMovie(“MC-Clip.swf”,_root);
// _level0.loadMovie(“MC-Clip.swf”, MCimport);
// this.loadMovie (“MC-Clip.swf”, “MCimport”);
// loadMovie (“MC-Clip.swf”, this);
// _root.MCimport.loadMovie(“MC-Clip.swf”,this);
// clip=“Mcimport”;
// loadMovie(“MC-Clip.swf”, this.clip);
or // loadMovie(“MC-Clip.swf”,_root.clip);
or // loadMovie(“MC-Clip.swf”,_parent.clip);
Is it strange indeed or am I doing something wrong? Can somebody help me please?? I’m going mad with this silly thing and I’ve run out of ideas!!
If anybody wants to have a look at it all, here’s the zipped fla (12Kb): Load Movie Fla (Unzip all files to a folder and double click on Loading Dyn TXT.swf to start the party…).
Thank you!
Manare