Updating external Flex components from an action

Posted by Scott on Stack Overflow See other posts from Stack Overflow or by Scott
Published on 2010-04-06T20:39:04Z Indexed on 2010/04/06 20:43 UTC
Read the original article Hit count: 112

Hello, I'm new to Flex and am having trouble understanding Events. I think Events are what I want to use for my situation. I have 2 components, addUser.mxml and listUsers.mxml. I access these from a ViewStack in my main application. When I load listUsers.mxml it shows a list of current users in a datagrid via a HTTPService call. When I add a user using the form on addUser.mxml I would like the datagrid in listUsers.mxml to refresh when I return to that view to show the new user. I've tried several different things with addEventListener and dispatchEvent but can't seem to get it working. Can someone help me with this logic?

© Stack Overflow or respective owner

Related posts about flex

Related posts about event