I put the code on pastebin,here are the link.. http://www.pastebin.org/1296 Anyway,do you mind to give me an example for returning different data??Thanks a lot...
On 7/13/09, valdhor <[email protected]> wrote: > If I were to do this I would return different data depending on user or > admin login. The dataprovider would remain the same - just the data would > change. > > > --- In [email protected], "yonghan79" <yongha...@...> wrote: >> >> Hi all,i'm trying to change Flex 3 ToggleButtonBar dataprovider on user or >> admin log in..I'm trying to use 2 viewstack,one for user,one for admin and >> i got a component where the login form is in the component..What should i >> do to define the dataprovider on the mainbased on user log in??Thanks a >> lot... >> > > >

