I was reading the Duplicate Background tutorial (http://www.kirupa.com/developer/mx2004/duplicatebackground.htm) on how to make an image tile in the background of a SWF tile. I am trying to figure out how to position that tile so that it is centered instead of starting at the top left. I realize it must be in this part of the code:
bg._x = tile_widthx;
bg._y = tile_heighty;
but i’m not real sure on how to make it actually work. Any help would be much appreciated.
Thanks,
Aaron