Visual Basic setvariable in swf

Hello,

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.

balk.stop();
loading = function () {
_root.balk.gotoAndStop(percentage);
}
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: