PDA

View Full Version : AS3 Loader freezes with certain web hosts.



Javed Ahmed
February 9th, 2009, 01:09 PM
I've recently registered with MS Office Live where I now host my site, and my embedded .swf file will not load properly... however, all was fine with my old host "110mb.com". My Office Live URL is http://javedahmed.co.uk

All files uploaded there are the exact same as the ones here: http://www.javedahmed.110mb.com

As you can see, the www.javedahmed.co.uk site will not load (although behaves differently with certain browsers, it will not load normally).

What exactly do I need to do to fix this? Is there anything I can add to the preloader code? Here's what I have at the moment:



import flash.display.*;

this.stop();


this.loaderInfo.addEventListener (ProgressEvent.PROGRESS, PL_LOADING);


function PL_LOADING(event:ProgressEvent):void {
var pcent:Number=event.bytesLoaded/event.bytesTotal*100;

lbar.scaleX=pcent/100;

lpc.text=int(pcent)+"%";

if(pcent==100){
this.gotoAndPlay("Homepage");
}
}



Any help will be appreciated... many thanks in advance.
Javed Ahmed
www.javedahmed.co.uk

*note: The line with the smiley face is ':' followed by the letter 'p'... how do I turn of f emoticons?

Javed Ahmed
February 10th, 2009, 08:35 PM
Ok, I don't think the problem was with ActionScripting... It's Microsoft's stupid 'My Network Places' system, you can't dynamically load certain media content from there (or at least if you are using an Office Live Small Business account). Is there any way around this?

I have now updated my site to a HTML site, however the gallery is still an SWF which will not show up.
MS have the most frustrating upload service ever... why can't they just have an FTP system?

Javed Ahmed
www.javedahmed.co.uk