questo articolo dovrebbe aiutarti a capire e risolvere:
http://flash-mx.html.it/articoli/vie...?idarticolo=31