prova ad utilizzare xml...dai un'occhiata qui
http://flash.html.it/guide/leggi/118/guida-flash-e-xml/