Passing variable from Visual Basic

Hi everyone, new to the forums and need some help…

Basically, I am trying to fill a variable from Visual Basic and display in a textbox. This was easy in AS2:

Using AS2, I created a dynamic textbox and assigned it a variable name (i.e. var was “fromVB”). In Visual Basic, I used the SetVariable function to fill the textbox.

With AS3, I created a dynamic textbox with instance name “testField” and have the following code.

var fromVB:String;
fromVB = “”;
testField.text = fromVB

However, I can’t get the textbox to fill with variable “fromVB”
I gave it the blank value “” because it initially requires some value.

Probably a simple and obvious solution. but i’m a total newbie…
Any help appreciated…