# \[Flash8\]help please! BASIC target\_mc.\_x Problem

**URL:** <https://forum.kirupa.com/t/flash8-help-please-basic-target-mc--x-problem/247130>\
**Category:** Uncategorized\
**Created:** [December 18, 2007, 8:40pm UTC](https://forum.kirupa.com/t/flash8-help-please-basic-target-mc--x-problem/247130 "2007-12-18T20:40:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![morvi](https://avatars.discourse-cdn.com/v4/letter/m/ecb155/32.png) [@morvi](https://forum.kirupa.com/u/morvi)\
**Post date:** [December 18, 2007, 8:40pm UTC](https://forum.kirupa.com/t/flash8-help-please-basic-target-mc--x-problem/247130/1 "2007-12-18T20:40:11Z")

</div>

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](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
