Why is this so hard!? I am such an amateur,
I have several movie clip buttons on stage of teacher’s names that when clicked plays another movie clip on stage that comes from off the screen and stops. Inside that movie clip is five dynamic text fields. The main mc is labeled mc_masterInfo and has an instance name of masterInfo and inside that clip is 5 dynamic text fields with instance names of txtMaster1 - txtMaster5.
I have a whole bunch of variable strings to write to those boxes. my code for one of the teachers names are as follows…
function marshclick(e:MouseEvent):void {
// for the button states
allTeachersUp();
allTeachersClick();
marsh.gotoAndStop(“clicked”);
//for a back button
back1.visible = true;
//dynamic text field commands
masterInfo.txtMaster1.text = marsh1;
masterInfo.txtMaster2.text = stationk5;
masterInfo.txtMaster3.text = lunchk1;
masterInfo.txtMaster4.text = coverk1;
masterInfo.txtMaster5.text = break1;
masterInfo.gotoAndPlay(“start”);
}
What am I doing wrong that it is not communicating to those boxes?
Thank you for all the help. I know my code needs work.
Josh