Please Help, My Assignment is Due Tomorrow

Actually even worse there’s a presentation. I got stuck with coding AS3 (and the only AS I did was 5 years ago using AS1) for a subject at University that requires small groups to take on tasks and create products for an industry client. One of my group members’ boyfriend’s is going to make the whole prototype himself by tomorrow making mine obsolete – now of course I don’t want this, I want to finish mine by tomorrow and not feel like I let my group down. Heck even after this problem is resolved I still need to fix allot up 
I keep getting the EXACT error: “TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Assignment2_fla::MainTimeline/frame1()”

Now I Googled this and looked into it, and don’t understand (honestly I’m scraping through as it). What’s more is I tried to get a lecturer at the University to help me – which he was doing until he had to go home becuase his daughter was sick; before he left though he told me to organize all the code onto one layer and place it at the bottom of the timeline so it loads first. Anyway, all help is really appreciated and thank you for your time.

                                   //TO GET TO MENU AND BACK
stop();
import flash.events.MouseEvent;
function onMySQLStartPortalClick(evtObject:MouseEvent):void
{
 gotoAndStop("BeginMySQL");
}
MySQLStartPortal_Btn.addEventListener(MouseEvent.CLICK, onMySQLStartPortalClick);
                                   //END
   
   
   
   
   //CODING FOR HELPBOX POPUP BOX
/* Add Instance from Library to the Stage
Adds an instance of the specified MovieClip or Button Library symbol to the stage. If you want to add a Bitmap Library symbol to the stage, please use the "Click to Load Image from Library" code snippet.
Instructions:
1. Right click on any symbol inside the library and select "Properties...".
2. Click the "Advanced" button to expand the "Symbol Properties" dialog.
3. Enable the "Export for Actionscript" option.
4. Type 'HelpBox' in the Class text field.
5. Click OK twice.
*/
// If you want to add a different symbol from the library,
// enter a different name in the Class text field at step 4 above and in the code below.
var Help_MyInstance:HelpBox = new HelpBox();
addChild(Help_MyInstance);
Help_MyInstance.visible = false;
Help_MyInstance.x = 92.70;
Help_MyInstance.y = 46.70;
Help_MyInstance.border = false;
Help_MyInstance.width = 372.20;
Help_MyInstance.height = 220.75;
Help_Btn.addEventListener(MouseEvent.CLICK, HelpDisplay);
function HelpDisplay(event:MouseEvent):void
{
 if (Help_MyInstance.visible)
 {
  Help_MyInstance.visible = false;
 }
 else
 {
  Help_MyInstance.visible = true;
 }
}
 

                                               //END
   
   
   
   
//RewindButton Array   
var textArray:Array = [];
var dialoguePosition:int;
//FastForward_btn.mouseEnabled = false;
addChild(Dialogue_txt);
 
 
function TextRewind(event:Event):void
{
 var dialogue:String = event.target.data;
 var textStart:int = 0;
 do
 {
  var textFinish:int = dialogue.indexOf("~",textStart);
  if (textFinish == -1)
  {
   textFinish = dialogue.length;
  }
  textArray.push(dialogue.slice(textStart, textFinish));
  textStart = textFinish + 1;
 } while (textFinish < dialogue.length);
 //FastForward_Btn.mouseEnabled = true;
}
function onRewindClick(event:MouseEvent):void
{
 Dialogue_txt.text = textArray[dialoguePosition];
 dialoguePosition--;
}
 
FastForward_Btn.addEventListener(MouseEvent.CLICK, DialogueDisplay);
function RewindDisplay(event:MouseEvent):void
{
 var FastForward_MyInstance:DialogueBox = new DialogueBox();
 addChild(FastForward_MyInstance);
 FastForward_MyInstance.x = 27.85;
 FastForward_MyInstance.y = 211.15;
 FastForward_MyInstance.border = false;
 FastForward_MyInstance.width = 492.80;
 FastForward_MyInstance.height = 105.10;
}
   
                                 //END
 
 
 
 
 
 
 //REPLAY SOUND CODE
 
 
var loadSnd:URLRequest = new URLRequest("Music.mp3");
var thisSnd:Sound = new Sound();
var sndTrans:SoundChannel= new SoundChannel();
thisSnd.load(loadSnd);
Play_Btn.addEventListener(MouseEvent.CLICK, PlayF);
Stop_Btn.visible = false;
Stop_Btn.addEventListener(MouseEvent.CLICK, StopF);
function PlayF(event:MouseEvent):void
{
 //SoundMixer.stopAll();
 sndTrans = thisSnd.play();
 Play_Btn.visible = false;
 Stop_Btn.visible = true;
}
function StopF(event:MouseEvent):void
{
 sndTrans.stop();
 Stop_Btn.visible = false;
 Play_Btn.visible = true;
}
 
 //END
 
 
 
//FASTFORWARD BUTTON ARRAY
 
 
 
 
import flash.accessibility.Accessibility;
var Dialogue_txt:TextField = new TextField();
var externalReq:URLRequest = new URLRequest("MySQL script.txt");
var externalLoad:URLLoader = new URLLoader();
externalLoad.load(externalReq);
externalLoad.addEventListener(Event.COMPLETE, textReady);
FastForward_Btn.addEventListener(MouseEvent.CLICK, onClick);
Dialogue_txt.x = 27.85;
Dialogue_txt.y = 211.15;
Dialogue_txt.border = false;
Dialogue_txt.width = 492.80;
Dialogue_txt.height = 105.10;
Dialogue_txt.wordWrap = true;
Dialogue_txt.textColor = 0xFF0000;

/*function textReady(event:Event):void
{
Dialogue_txt.text = event.target.data;
}
function onClick(event:MouseEvent):void
{
addChild(Dialogue_txt);
}*/
 
var RewindArray:Array = [];
var RewindPosition:int;
//FastForward_btn.mouseEnabled = false;
addChild(Dialogue_txt);
 
 
function textReady(event:Event):void
{
 var dialogue:String = event.target.data;
 var textStart:int = 0;
 do
 {
  var textFinish:int = dialogue.indexOf("~",textStart);
  if (textFinish == -1)
  {
   textFinish = dialogue.length;
  }
  textArray.push(dialogue.slice(textStart, textFinish));
  textStart = textFinish + 1;
 } while (textFinish < dialogue.length);
 //FastForward_Btn.mouseEnabled = true;
}
function onClick(event:MouseEvent):void
{
 Dialogue_txt.text = textArray[dialoguePosition];
 dialoguePosition++;
}

FastForward_Btn.addEventListener(MouseEvent.CLICK, DialogueDisplay);
function DialogueDisplay(event:MouseEvent):void
{
 var FastForward_MyInstance:DialogueBox = new DialogueBox();
 addChild(FastForward_MyInstance);
 FastForward_MyInstance.x = 27.85;
 FastForward_MyInstance.y = 211.15;
 FastForward_MyInstance.border = false;
 FastForward_MyInstance.width = 492.80;
 FastForward_MyInstance.height = 105.10;
}
 

                                      //END
 
 
 
 
 
 
//MENU BUTTON 
import flash.events.MouseEvent;
function onHomeClick(evtObject:MouseEvent):void
{
 gotoAndStop("MySQLStartMenu");
}
Menu_Btn.addEventListener(MouseEvent.CLICK, onHomeClick);
 
                                  //END
 
 
 
 
 
 
 //WINDOW SCENE
 
stop();
//END
 
 
 
 
 
 //INTERNAL LAB 
stop();
//END
 
 
 
 
 //HATCH BUTTON
 
 

import flash.events.MouseEvent;
function onEnterHatch(evtObject:MouseEvent):void
{
 gotoAndStop("InternalLabStart");
}
Hatch_Btn.addEventListener(MouseEvent.CLICK, onEnterHatch);
 
 
 
 //END
 
 
 
 
 
 
 
 
 
 //CUSTOM MOUSE CURSOR
 
  
 
/* Custom Mouse Cursor
Replaces the default mouse cursor with the specified symbol instance.
*/
stage.addChild(movieClip_1);
movieClip_1.mouseEnabled = false;
movieClip_1.addEventListener(Event.ENTER_FRAME, fl_CustomMouseCursor_2);
function fl_CustomMouseCursor_2(event:Event)
{
 movieClip_1.x = stage.mouseX;
 movieClip_1.y = stage.mouseY;
}
Mouse.hide();
//To restore the default mouse pointer, uncomment the following lines:
//movieClip_1.removeEventListener(Event.ENTER_FRAME, fl_CustomMouseCursor_2);
//stage.removeChild(movieClip_1);
//Mouse.show();
 
 
                                    //END