Getting information back from flash template


Is it possible to get back information from a loaded flash template back to VB.NET client? Like a text from TextField..

I tried connecting via Clipboard...

Code: Select all

            Clipboard.generalClipboard.setData(ClipboardFormats.TEXT_FORMAT, text);
The above code works in design time (within Flash environment) the 'text' gets copied to Clipboard and able to paste it into a Notepad. But when the code is compiled (No error during compilation), an error occurs when the above code is encountered and template doesn't get loaded. Error ensures..

How do I accomplish communication with flash back to my VB client?