Help! Deadline today! Scroll box problems and autoplay when connecting swfs. Please!

Hello,

I’m building a website made up of different swf pages. After some initial troubles, I have now managed to connect each one and they now all link to each other, however I have a couple of strange problems that I cannot work out.

I have one page that contains a non-editable text scroll box, which when previewed in the seperate file works fine, but when it appears in the test for the linked files the scroll box turns into a blank editable text box. I don’t understand why this is happening?

My second problem is with my photos page. The page has image thumbnails for the user to click on which displays a larger version of the photo using fade in animation. Again, this works fine when I preview the individual page, however when I test it through the linked files the animation automatically plays and cycles through all the photos. It doesn’t do it when previewed individually.

Does anyone have any ideas? I’d be so grateful as I need to have this sorted by the end of the day. I’m using CS4.

Many thanks!

Pixxie

import flash.display.MovieClip;
import flash.display.DisplayObject;

housebtn_btn.addEventListener(MouseEvent.CLICK, housepagecontent);
function housepagecontent(myevent:MouseEvent):void
{

var myURL:URLRequest = new URLRequest(“FC Website - House.swf”);

var lNewLoader:Loader = new Loader();
lNewLoader.load(myURL);

this.stage.addChild(lNewLoader);
this.stage.removeChildAt(0);

}

availbtn_btn.addEventListener(MouseEvent.CLICK, availpagecontent);
function availpagecontent(myevent:MouseEvent):void
{

var myURL:URLRequest = new URLRequest(“FC Website - Availability.swf”);

var lNewLoader:Loader = new Loader();
lNewLoader.load(myURL);

this.stage.addChild(lNewLoader);
this.stage.removeChildAt(0);
}

arranbtn_btn.addEventListener(MouseEvent.CLICK, arranpagecontent);
function arranpagecontent(myevent:MouseEvent):void
{

var myURL:URLRequest = new URLRequest(“FC Website - Arran.swf”);

var lNewLoader:Loader = new Loader();
lNewLoader.load(myURL);

this.stage.addChild(lNewLoader);
this.stage.removeChildAt(0);
}
photosbtn_btn.addEventListener(MouseEvent.CLICK, photospagecontent);
function photospagecontent(myevent:MouseEvent):void
{

var myURL:URLRequest = new URLRequest(“FC Website - Photos.swf”);

var lNewLoader:Loader = new Loader();
lNewLoader.load(myURL);

this.stage.addChild(lNewLoader);
this.stage.removeChildAt(0);
}

contactbtn_btn.addEventListener(MouseEvent.CLICK, contactpagecontent);
function contactpagecontent(myevent:MouseEvent):void
{

var myURL:URLRequest = new URLRequest(“FC Website - Contact.swf”);

var lNewLoader:Loader = new Loader();
lNewLoader.load(myURL);

this.stage.addChild(lNewLoader);
this.stage.removeChildAt(0);
}

linksbtn_btn.addEventListener(MouseEvent.CLICK, linkspagecontent);
function linkspagecontent(myevent:MouseEvent):void
{

var myURL:URLRequest = new URLRequest(“FC Website - Links.swf”);

var lNewLoader:Loader = new Loader();
lNewLoader.load(myURL);

this.stage.addChild(lNewLoader);
this.stage.removeChildAt(0);
}
homebtn_btn.addEventListener(MouseEvent.CLICK, homepagecontent);
function homepagecontent(myevent:MouseEvent):void
{

var myURL:URLRequest = new URLRequest(“FC Website - Main.swf”);

var lNewLoader:Loader = new Loader();
lNewLoader.load(myURL);

this.stage.addChild(lNewLoader);
this.stage.removeChildAt(0);
}