Leggiti questo articolo:
http://flash-mx.html.it/guide/view_l...guida=9&id=195

ed i successivi.