For the following line:

public var xmlLocation:String = "./questionaire.xml";

A few simple questions...

Is "questionaire.xml" spelled correctly?
Is this file found in the same directory as the Main.mxml?
Where is this file located?

You can also put <mx:traceTarget /> at the beginning of the source
code right after the <mx:Application ...> tag. This will spew out the
entire request which is being sent out onto the wire...it may give you
some clues.

Hope this helps,

Bob I.

--- In [email protected], "barry.beattie" <[EMAIL PROTECTED]>
wrote:
>
> 
> > Why are you setting:
> > xmlRequest.contentType = "Application/xml";
> 
> simply due to a lack of clear examples. just about everything else
> uses the mx:HTTPService as an tag.
> 
> sadly, leaving it out didn't help. same problem.
> 
> is there anything obvious wrong with the code?
> can the listeners be debugged by trace and stepping thru the code?
> 
> has anyone got a working example pulling in an external xml file but
> *not* using the MXML tag to do so (just the AS3 code)?
> 
> thanx
> b
>


Reply via email to