New Flex user, so please forgive me if this sounds stupid.
I'm fiddling around with a modified version of the dashboard sample
application, and am using the FlashVars param tag to pass in a
bunch of variables into the application. They all work fine, except
the variable I'm using for the URL in HTTPService, which is the
name of an XML file that another application I've written has
generated. It returns this error:
[RPC Fault faultString="A URL must be specified with useProxy
set to false." faultCode="Client.URLRequired" faultDetail="null"]
at mx.core::UIComponent/set initialized()
http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/::callLaterDispatcher2()
But I'm absolutely positive the URL value is correct. I've
tested and displayed the value that comes through, and when I
manually paste that value into the URL, it works fine. Tried
relative and absolute URLs, tried just passing the partial filename
through (so the FlashVars variable just has alphanumeric
characters) and hard-coding the rest of the URL. Same result.
Does HTTPservice just not allow this value to be passed via
FlashVars, or is there something I'm completely missing (maybe I
need to convert the value somehow)? Or, is there another solution
to this problem?