PDA

View Full Version : loader issues. please help



KANGBROKE
February 10th, 2010, 06:35 PM
I use this for navigation between frames.

home.addEventListener(MouseEvent.CLICK,clickhome);
function clickhome(event:Event):void {
trace("home");
gotoAndStop("home");
}
Music.addEventListener(MouseEvent.CLICK, clickMusic);
function clickMusic(event:Event):void {
trace("Music");
gotoAndStop("Music");
}
Memories.addEventListener(MouseEvent.CLICK, clickMemories);
function clickMemories(event:Event):void {
trace("Memories");
gotoAndStop("Memories");
}
Pictures.addEventListener(MouseEvent.CLICK,clickPi ctures);
function clickPictures(event:Event):void {
trace("Pictures");
gotoAndStop("Pictures");
}


then i use this to load an external swf


var myLoader:Loader = new Loader();
addChild(myLoader);
var url:URLRequest = new URLRequest("myalbum.swf");
myLoader.load(url);


You can see for yourself at sonnygunnz.com that flash 9 errors pop up in FF and I cant figure out why.

Please help me somebody

creatify
February 10th, 2010, 07:50 PM
did you program myalbum.swf? the error is showing that there is an as1-as2 / as3 problem?

KANGBROKE
February 10th, 2010, 08:19 PM
did you program myalbum.swf? the error is showing that there is an as1-as2 / as3 problem?


I wish... I used coffee cup slideshow. Because I am learning flash as we speak. Any ideas on a better slideshow that uses AS3.

check my website right now. I got it to load when you click pictures but it stays on stage no matter what link you click

KANGBROKE
February 10th, 2010, 08:22 PM
If you have time and would like to help I just added my windows live info.

webmastereddie@hotmail.com