[Flash8]help please! BASIC target_mc._x Problem

IM GOING MAD :stare:

In Tutorial: The Best Structure for your Flash Site Page 6
http://www.kirupa.com/developer/flash8/best_structure_flash_site6.htm

Where it say …

var buttonImgHeight:Number = target_mc._height;
var buttonImgWidth:Number = target_mc._width;

target_mc._y = Math.round( yPosition );
yPosition += buttonImgHeight+3;

I want to position the images horizontally so I change to

var buttonImgHeight:Number = target_mc._height;
var buttonImgWidth:Number = target_mc._width;

target_mc._x = Math.round( xPosition );
xPosition += buttonImgWidth+3;
    
and it does not work!!!!

… also

  • don’t know why the images do not show if I use the png format in the XML so I had to change it to jpg

PS I’m publishing in AS2