You're going to have to use ExternalInterface to communicate with AS3, just like you do in an HTML page with JavaScript. In this case your VB application is the host instead of the browse+javascript environment.