Skip to main content
Participant
February 10, 2011
解決済み

XML Images loaded to a layer under animated timeline?

  • February 10, 2011
  • 返信数 2.
  • 613 ビュー

Hello Flash community,

I want to load jpgs using an external XML file into a flash layer and have a timeline playing over the top of them.

I invision having photos loaded to a box on the left side of the stage covering 1/3 of the area, and then loading photos also to a box on the right side of the stage while an animation plays of the clients logo in the middle 1/3 of the stage area. My Action script skills are very limited. I have been able in the pass to modify what I have found on the web to work for my purposes. But, I have not been able to find anything that has multiple players on one stage or anything close. I created a swf that alternates loading an image on left and then right but it plays over the top of ... and then loads a third image behind the client logo in the middle covering the entire stage. But I would be happy with just a left and right alternating if possible.

このトピックへの返信は締め切られました。
解決に役立った回答 Ned Murphy

Content you load dynamically does not have a home on the timeline unless you load it into something that you have manually placed on a layer of your timeline, such as an empty movieclip.  So you'll need to create an empty movieclip or two on layers below your other content and load the images into those objects.

返信数 2

Known Participant
February 20, 2021

Hi

My action script skills are also very limited (from as2) - I would also like to load pictures from an xml into an empty movieclip, as I could do it before with as2 - but I am doing something wrong....

is there a simple example or tutorial, where it is demonstrated, how it works in principal? until now I could not find anything that would help me. maybe someone has a hinch?

Ned Murphy
Ned Murphy解決!
Legend
February 10, 2011

Content you load dynamically does not have a home on the timeline unless you load it into something that you have manually placed on a layer of your timeline, such as an empty movieclip.  So you'll need to create an empty movieclip or two on layers below your other content and load the images into those objects.

Thytar作成者
Participant
February 10, 2011

Thank you Ned,

My boss started looking at it and that is exactly what he was trying to do. So, good we were in the right ball park. Thank you very much for your timely response... do appreciate it.