Tom,
To pass url variables you should look into the flash.net.URLVariables class

package {
    import flash.display.Sprite;
    import flash.net.navigateToURL;
    import flash.net.URLRequest;
    import flash.net.URLVariables;

    public class URLVariablesExample extends Sprite {

        public function URLVariablesExample() {
            var url:String = "http://www.[yourDomain].com/application.jsp";;
            var request:URLRequest = new URLRequest(url);
            var variables:URLVariables = new URLVariables();
            variables.exampleSessionId = new Date().getTime();
            variables.exampleUserLabel = "guest";
            request.data = variables;
            navigateToURL(request);
        }
    }
}



Thank You
Dan Vega
[EMAIL PROTECTED]
http://www.danvega.org

On Tue, Jul 15, 2008 at 4:41 PM, Tom McNeer <[EMAIL PROTECTED]> wrote:

>   Hi,
>
> I am building a product configurator, which creates an Estimate object. The
> Estimate contains a Customer object and an array of Configuration objects,
> each of which contains an array of Products.
>
> The objects are built properly in Flex. But when I attempt to send the
> Estimate object back to a ColdFusion CFC, the CFC acts as if there was no
> parameter passed.
>
> Specifically, if I call productService.saveEstimate(estimate), I get an
> error saying the parameter "estimate" is required, but not passed in.
>
> In debugging, just at the point of the RemoteObject (productService) call,
> I can see that the estimate object does exist in the proper scope.
>
> And if I create a string or array and put one in the method call:
>   productService.saveEstimate("blah"), or
>   productService.saveEstimate(myArray)
>
> ... the method fires properly on the CFC. (The arg type in the CFC is set
> to "any" for testing, so any data type is accepted.)
>
> Why would the Estimate object (which exists) not be passed?
>
> Any thoughts would be greatly appreciated.
>
> --
> Thanks,
>
> Tom
>
> Tom McNeer
> MediumCool
> http://www.mediumcool.com
> 1735 Johnson Road NE
> Atlanta, GA 30306
> 404.589.0560
>  
>

Reply via email to