Visual Basic setvariable in swf


I’m working on a project, i have to make a progress bar, wich have to communicate with visual basic.

I made some buttons before, that worked in VB, using the FScommand.

But i can’t get the variables from visual basic in my flash file.
I’m using the following script.

loading = function () {
laden ();

percentage is the variable, wich i can’t get it flash.

Hope somebody has a sort of solution, never worked with VB before… :hangover: