I have a CF page that generates a Unique ID (UUID). I have an
HTTPRequest passes information to a CF page and I want it to generate
the number and then return it to ActionScript where it can use it as a
local variable. Any idea on how to do that? 
Does the HTTPRequest return a value? Does it have to be in XML?

Would I set the returned value in the
resulthandler? Here is what I have for a HTTPRequest:

private function startTrackIt(trackInfo:Object):void {
                var service:HTTPService = new HTTPService();
        service.url = "tracker.cfm"; //Dev
        service.method = "POST"; 
        service.addEventListener(ResultEvent.RESULT, timingSaved);
        service.addEventListener(FaultEvent.FAULT, alertFault);
        service.send(trackInfo);
        }

What
would I need to do next to set a local variable in my AS? In a
RemoteObject, I usually set the a variable, typed ArrayCollection, in
the ResultHandler.

Sorry, this little idea is all new me and I am trying to figure it out.

OR Can Flash create a unique number like ColdFusion?

Reply via email to