Hi!

I've done almost everything. I'm receiving the XML via
<mx:HTTPService> and diplaying it in DataGrid. It works great. But I
don't know how to redirect the user to a different screen or even ask
my self if he/she is allowed to enter the application. So here are my
questions:

1. How to transfer XML I got from HTTPService to AS so I can check if
he/she is allowed to enter the application?

2. What is the best way/method to redirect a user to a different
screen? Is it wise just to turn components from 'visible=true' to
'visible=false' or should I destroy the component with removeChild()?

Sorry for asking stupid question but I'm new to Flex 2.0
Thank you in advance.


--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> How far have you gotten? What do you want help with?  We can't build
> your whole app for you.
> 
>  
> 
> Tracy
> 
>  
> 
>  
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of arnold_charming
> Sent: Wednesday, June 21, 2006 1:14 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] working with XML data
> 
>  
> 
> Hi!
> 
> I'm new to Flex 2.0 so please help me out.
> 
> I'm trying to build a simple flex application which excepts user&pass
> which is then send via <mx:httpservice> to my php script. If the login
> is OK, then the flex application receives a XML file which states that
> the user can log-in. Now I have to build a checking
> mechanism, which will check if the user can be logged in or not. If yes,
> then it should be forwarded to another screen. 
> Please help me out.
> Thank you.
>







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to