The problem with flash as it stands is the "sand box" issues.
It will not let you trigger or browse anything below the fscommand
directory. You might want to take a loot at a third part add such
as "swf studio" which will give you that extra fexiblity.