Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / November 2007



Tip: Looking for answers? Try searching our database.

XML Object - status returned varies between calls

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
darkblueB - 26 Nov 2007 04:15 GMT
Sometimes I get "success", sometimes I get "no success, no error"
What gives?  Same results across the wire as far as I can see...
//=========================
var baseXML = new XML();
var baseURL = "http://pbG42.local/cgi-bin/fRealWidget_PG.cgi";

baseXML.ignoreWhite = true;
baseXML.onLoad = loadXML;
// also, button to trigger it
//---
//---------------------------------
function loadXML(success:Boolean):Void {
  if (success) {
    //process XML content
    trace("laodXML - success" );
    trace ("  loaded = " + this.loaded);
    trace( this);
  } else if (this.status == 0) {
     trace( "no success, no error" );
  } else {
    //display error message
    trace("loadXML - error " + this.status);
  }
}
darkblueB - 26 Nov 2007 04:16 GMT
using Flash Professional v8.0
darkblueB - 26 Nov 2007 06:39 GMT
y, and this.loaded comes back as FALSE, success is FALSE,
 but the XML response string is there ?!

weird
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.