SOS!a few as3 woes

I am a green guy who jumped into this actionscript 3 thing head first.It’s a real “day one” scenario for me.All I want to do is to press a button and the swf loads(prod)then after the swf loads, I can unload it with a button attached to it…I exported this button for actionscript with the swf.I also need to add a contact form to the contact us page then upload.When i did the whole thing i got an error.I used some of the code i found on the forum posted by GriffinetSabine but it left me liping.Feels like I am almost there…
I need to load the contact form in the text area below the email link…
rror #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL:
at impfina2_fla::MainTimeline/impfina2_fla::frame1()
when i test movie in flash it is okay but after exportint it gives me the 2044 thing…
anyways this is the code for the main fla.If some kind soul could offer me some advice, i’d be very grateful…:sen:

var tagContent:String = “Keeping it fresh.EveryDay…”;
var tFormatPage = new TextFormat;
tFormatPage.size = 14;
tFormatPage.color =0x000000;
tFormatPage.font =“Verdana,Arial,Helvetica”;
tFormatPage.align = TextFormatAlign.JUSTIFY;

var tFormatTag =new TextFormat;
tFormatTag.color = 0x000000;
tFormatTag.font =“Arial”;

var textContainer:Sprite = new Sprite();
textContainer.x = 200;
textContainer.y = 70;

var tContent:TextField = new TextField();
tContent.width = 540;
tContent.height = 320;
tContent.background = true;
tContent.backgroundColor = 0xFFFFFF;

tContent.defaultTextFormat = tFormatPage;

tContent.wordWrap = true;

var tTag:TextField = new TextField();
tTag.text = tagContent;
tTag.x =390;
tTag.y =260;
tTag.width = 182;
tTag.defaultTextFormat = tFormatTag;

var hpageLoader:URLLoader = new URLLoader();
var hpageRequest:URLRequest = new URLRequest(“hpage.txt”);
hpageLoader.dataFormat = URLLoaderDataFormat.TEXT;
hpageLoader.addEventListener(Event.COMPLETE, hpageLoaded);

function hpageLoaded(evt:Event):void {
tContent.text =;
var allLoader:URLLoader = new URLLoader();

allLoader.dataFormat = URLLoaderDataFormat.TEXT;
allLoader.addEventListener(Event.COMPLETE, allLoaded);

function allLoaded(evt:Event):void {
tContent.text =;
function downMenu(evt:MouseEvent):void {
var all:String = + “.txt”;
var allRequest:URLRequest = new URLRequest(all);

var dBaseloader:Loader;

function dBasewindow(e:MouseEvent): void {

var dBaserequest:URLRequest = new URLRequest("produce.swf");
dBaseloader = new Loader();
	dBaseloader.x =130;
	dBaseloader.y =460;
 //dBasecon = new Sprite();


var receiver:LocalConnection = new LocalConnection();
receiver.client = this;
function dBclose(): void {

trace("lc called successfully");


who.addEventListener(MouseEvent.CLICK, downMenu);
what.addEventListener(MouseEvent.CLICK, downMenu);
touch.addEventListener(MouseEvent.CLICK, downMenu);

prod.addEventListener(MouseEvent.CLICK, dBasewindow, false, 0, true);