0 Replies Latest reply on Feb 6, 2007 2:09 PM by jettix

    SWFLoader and XML ArrayCollection Bug when accessing remote swf ?

      I have a simple file which loads an external XML file into an arrayCollection using HTTPService send method and databinds it to a datagrid. This works fine as both a stand-alone, or when loaded into it's parent as a LOCAL file via the SWFLoader tag. However, when I place this child file onto a remote server and try to load it into the parent which resides on my desktop, the ArrayCollection default resultFormat of the send method triggers the following runtime error (listed below). Reason I question this is a bug is because when the ResultFormat of the HTTPService is set to say "e4x", it works fine remotely, which is also why I do not believe it is a sandbox issue. I've been hitting a wall on this for days now... Please advise and thanks to all in advance!!!
      ------------ RUNTIME ERROR ---------------------------------
      ArgumentError: Error #1063: Argument count mismatch on Object/ http://adobe.com/AS3/2006/builtin::hasOwnProperty(). Expected 0, got 2.
      at mx.rpc.xml::SimpleXMLDecoder/decodeXML()
      at mx.rpc.xml::SimpleXMLDecoder/decodeXML()
      at mx.rpc.xml::SimpleXMLDecoder/decodeXML()
      at mx.rpc.http::HTTPService/ http://www.adobe.com/2006/flex/mx/internal::processResult()
      at mx.rpc::AbstractInvoker/ http://www.adobe.com/2006/flex/mx/internal::resultHandler()
      at mx.rpc::Responder/result()
      at mx.rpc::AsyncRequest/acknowledge()
      at ::DirectHTTPMessageResponder/completeHandler()
      at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at flash.net::URLLoader/flash.net:URLLoader::onComplete()