Skip to main content
September 2, 2008
Answered

External movie loading at highest level

  • September 2, 2008
  • 1 reply
  • 369 views
Hi.
I have two buttons loading two separate external .swf files into a movie container. When they come in, they play over the navigation. Do you know why this is happening? The navigation buttons reside on layer 2 and layer 3 on the timeline on top of the container. My "container" resides on layer 1 on the timeline. This is the AS code on layer 4 of the timeline:
This topic has been closed for replies.
Correct answer jpsoul
Maybe add the loader as a child of your container on layer1?

myContainer.addChild(IMGLoader).

Right now you are adding the IMGLoader to the document classes display list (which would be the root mc in AS 2 terms, since it is the last thing added, currently it will be on top of the content you added via the authoring tool on layers 2 and 3.

1 reply

jpsoulCorrect answer
Participating Frequently
September 2, 2008
Maybe add the loader as a child of your container on layer1?

myContainer.addChild(IMGLoader).

Right now you are adding the IMGLoader to the document classes display list (which would be the root mc in AS 2 terms, since it is the last thing added, currently it will be on top of the content you added via the authoring tool on layers 2 and 3.

September 2, 2008
Thanks! That is exactly what I was missing.