Skip to main content
Known Participant
June 3, 2008
Question

xml images and dynamic movieclips

  • June 3, 2008
  • 1 reply
  • 244 views
Hi,

i'm trying to create a file where i load up individual images using xml, once loaded, these are put into individual movieclips, which i want to be placed immediately next to each other. Whilst the heights will all be the same, the widths will be different. Can anyone tell me what i could use so that each movieclip created is a pixel after the last movie clip created going horizontally?

Thanks,

Bobby
This topic has been closed for replies.

1 reply

Ned Murphy
Legend
June 3, 2008
What you could do is place them all in another (empty) movieclip sequentially and use the _width property of that outer movieclip to determine where to plant the next inner movieclip as in innermovieclip._x = outermovieclip._width+1