Visto che usi CS3, leggi anche questo:
http://flash.html.it/articoli/leggi/2153/flashvars/