Нате вот мучайтесь:
http://livedocs.adobe.com/flash/9.0/...=00000320.html
I had to do a lot of searching and testing to figure out a way to allow users to upload images on the word associator, turns out the AS2 was is completely out as it’s been replaced with a much easier method using file reference, but since there’s not a lot of documentation out about it I thought I’d post my code if anyone else is having trouble searching for it as well.
First: define variables and import FileReference
import flash.net.FileReference;
flash.system.Security.allowDomain(