Для того, чтобы скрипт вызывался "скрытно", используйте метод sendAndLoad, а не send.*
Откройте хелп и посмотрите пример.
PS. И не пишите код на кнопках.
----------------------
*
Цитата:
|
A successful send() method call will always open a new browser window or replace content in an existing window or frame. If you would rather send information to a server and continue playing your SWF file without opening a new window or replacing content in a window or frame, then you should use LoadVars.sendAndLoad().
|