Hello dear Flash community,

I developed a dynamic menu bar in Flash that loads the text from an Array and in order to the number of tiles it duplicates the tabs using “duplicateMovieClip” and each tab automatically resize to the width of the title. Till here everything works fine.

“YOU CAN SEE AND DOWNLOAD THE EXAMPLE HERE”

The problem starts when Flash tries to sort the tabs dynamically whit the same offset space in between them… I think that the code should be correct and I don’t understand why the distance ends up so messy!

I’m better in designing that coding and I lost a lot of hours trying to find out where the problem is! Please help me out on this, I’M STUCK

“YOU CAN SEE AND DOWNLOAD THE EXAMPLE HERE”

Thanks for your help. (Of course you can use the example for your own interests)