mercredi 17 février 2016

Actionscript3 Tile Height is not dynamic

I created a tile with images on it. The problem is that I wanted the height of the tile to be dynamic depending on its children. I tried removing height and width, but the columns become 3 instead of 6 and the height is equal to all heights of children. I wanted the columns to be 6 not 3. This 6 columns depends the width of my v box, where i put the tile..

When i put back the width of tile and set to 100%, the columns turn to 6 which i wanted, but the height of tile is longer than the height of all its children.

Please help. Thank you.

Aucun commentaire:

Enregistrer un commentaire