Hi Everyone,

I have a swf file, that loads other swf files.

I have code in my loader swf file:

function init(){ var url:String = "page1.swf";
   var urlReq:URLRequest = new URLRequest(url);
   ldr = new Loader();
   ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, loaded);
ldr.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loading); ldr.load(urlReq); }


This works when all the files are in the same directory and I run it locally. This doesnt seem to work when I publish to my webserver. I put all the files into the
same directory, but the swf file can seem to get the other swf files.

I always get a URL Not Found. error. What am I doing wrong?
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to