Steve:

Several things you need to do.  First, make sure you have *defined a result
handler* for the function call.  Sounds like you have because you said you
could see the result come back.  Then, just access the result via the event,
like below:

private function getMyAnswer_Handler(event:ResultEvent):void{
   Alert.show(event.result);
}

If you are returning a string from your CF call, then the above code would
just show it in an alert box.  Replace it with your function to pass it
along to whatever you want to do with it.

Also, if you want quick responses in the future, be sure to provide a
summary of your question in the subject.  With the amount of questions that
get posted to this forum, many people don't open the messages without know
what they are about.

Thanks
-Pat Buchanan
www.DataNotion.com


On Wed, Apr 23, 2008 at 11:44 AM, Steve Good <[EMAIL PROTECTED]> wrote:

>    Let me start by saying that I am completely new to Flex and obviously
> the list.  I'll apologize upfront for asking the dumb and obvious questions,
> but I'm still going to ask them :P
>
>
>
> So here's a description of what I'm doing and my question.
>
>
>
> I built an Air app with Flex 3 that posts some form data to a remote cfm
> file.  The cfm file then returns a string.  If I watch the app running in
> the Flex Builder 3 debug perspective I can see the string that's returned.
> My question is this.  How do I get that string and make it available to
> another function?  I want to use the returned string in another post method
> in the same app.
>
>
>
> If more details are required I can give them, just holler J and Thanks in
> advance.
>
>
>
> ~Steve
>
> http://lanctr.com/
>
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 3049 (20080423) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>  
>

Reply via email to