PDA

View Full Version : Problems with re-publishing


IntenseIGFX
07-08-2005, 04:04 PM
Hi,
I'm currently working on a project that I didnt originally start. When I try and re-publish the .fla, it fails to load.

These are the first 3 frames of actionscript which tells the .swf to load the file. My problem is that when I try and republish it, it doesnt work.

stop();

// Display Default Message
loadingMsg.text = "Loading System Survey...";

// Load Corrosion Coupon Status
loadingMsg.text = "Loading Corrosion Coupon Status...";
couponStatus = new XML();
couponStatus.ignoreWhite = true;
couponStatus.load("coupons.php");
couponStatus.onLoad = function(sucess) {
if(sucess) {
loadingMsg.text = "Corrosion Coupon Status Loaded Sucessfully...";

// Load Sample Points
loadingMsg.text = "Loading Sample Points...";
sampleData = new XML();
sampleData.ignoreWhite = true;
sampleData.load("samplepoints.php");
sampleData.onLoad = function(sucess) {
if(sucess) {
loadingMsg.text = "Sample Points Loaded Sucessfully...";
loadingMsg.text = "Loading Injectors...";
injectorData = new XML();
injectorData.ignoreWhite = true;
injectorData.load("injectors.php");
injectorData.onLoad = function(sucess) {
if(sucess) {
loadingMsg.text = "Injectors Loaded Sucessfully...";
loadingMsg.text = "Loading Additional Data...";
otherData = new XML();
otherData.ignoreWhite = true;
otherData.load("otherbtns.php");
otherData.onLoad = function(sucess) {
if(sucess) {
loadingMsg.text = "Additional Data Loaded Sucessfully...";
gotoAndStop(2);
} else {
loadingMsg.text = "Failed To Load Additional Data...";
}
}
} else {
loadingMsg.text = "Failed To Load Injectors...";
}
}
} else {
loadingMsg.text = "Failed To Load Sample Points...";
}
}
} else {
loadingMsg.text = "Failed To Load Corrosion Coupon Status...";
}
}

------------------------------------------------------




if(_framesloaded == 4) {
gotoAndStop(4);
} else {
gotoAndStop(3);
}



-----------------------------------------------------------

if(_framesloaded == 4) {
gotoAndStop(4);
} else {
gotoAndStop(2);
}

---------------------------------------------------------------

When I try and publish, it brings me to the page that says "Fails to Load".

The files that its getting are .xml, but says they're getting .php as you can see in the first frame.

I can open the file that he created originally properly, however when I republish, it fails to load.


Please, any advice?