mooler
March 22, 2003, 10:58pm
1
Oh mighty kirupa save me once again.
My problem:
A swf loaded in level 3 har a scrollpane with the content of a MC(mc,thmbgallery). The swf has an invisible MC to load swf:s into (holder).
IN the MC (scrollpane content MC) there is a button and when clicking on tha button I want a swf to load into the invisible MC (holder).
Have tried the following with the on (release)
[AS]loadMovie(“gallerybillner.swf”, “holder”);[/AS]
[AS]_level3.holder.loadMovie(“youExternal.SWF”);[/AS]
All tips are apriciated
system
March 23, 2003, 1:06am
2
Don’t make the movieClip invisible… Just make an empty one then use this…
holder.loadMovie(“youExternal.swf”);
That will load the movie into the movie clip holder… As for level3? It won’t do that… Unless this piece of code and the holder are found in level3… :player:
system
March 23, 2003, 9:26am
3
Ok thx for the tip I was trying that but for some reason it just won´t work? Well I used a onother more “work” solution.
Attaching it incase someone has the same problem.
AS on the buton:
[AS] on (release) {
_root.gotoyourchoise();
}[/AS]
Then in the root timeline
[AS] function gotoyourchoise() {
loadMovie(“yourchoise.swf”, “holder”);
}[/AS]
It´s not an optimal solution but it works.
Thank you