I am using VB6 and Flash8.
I have a text input with instance name: CraneReady and variable name: txtCraneReady. The text of the text input is set as "Test".
The Vb Project has a button that triggers the fscommand and changes the value of the text input to "CraneReady".
Once I get the value CraneReady in the text input, I would like to create a new movie clip. However, the code isn't working accordingly.
Here is the code:
Please help!
I have a text input with instance name: CraneReady and variable name: txtCraneReady. The text of the text input is set as "Test".
The Vb Project has a button that triggers the fscommand and changes the value of the text input to "CraneReady".
Once I get the value CraneReady in the text input, I would like to create a new movie clip. However, the code isn't working accordingly.
Here is the code:
Code:
var txtCraneReady:String = "Test";
fscommand(sVariable, sValue);
if (CraneReady.text == "CRANEREADY")
{
this.createEmptyMovieClip("Sample_mc", 0);
//Gantry_mc.loadMovie("Sample.png");
}
Please help!