This is a good article on creating more secure swf app
If your primary focus is on making the data secure in transit, then you should read the "encrypting data" section. That is how I found this article. I had a need to encrypt data in transit.
Hope it helps.