11 Replies Latest reply on Sep 19, 2007 8:32 AM by kglad

    Centre align an anchor point

    Stefan83
      Hi there!

      I've been following a tutorial (found at http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm) and I'm having difficulties centre aligning the anchor point inside the empty movie that loads the images from the xml document. At present the anchor point is located at the top left corner of the image so the images will not be positioned correncly if they are different dimensions. Is it possible to centre align the anchor point using Actionscript so images will be displayed in the centre of the image window? Can anyone help? I've attached the code that exists in the first frame in the timeline which controls the movie. The instance name for this MC is "picture". Thanks in advance