#1) No, you store the data is some model object.
Example:
public UserModel {
public var
user:UserInfo;
public var
roles:ArrayCollection;
}
#2) I assume you want to do this based on the user that is
logged in. You would use data binding to do this. Example:
<bla:MyComponent user="{UserModel.getInstance().user}"
/>
So inside your MyComponent in the setter for the user
property, you would created a Button/Label, or hide them based on the
permissions a user has.
Sounds like you are just starting with Flex. Best thing to
do is to go thru the manual ("Flex Developer's Guide") located in the Help
section of Eclipse.
Dimitrios
Gianninas
RIA
Developer
Optimal
Payments Inc.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pdflibpilot Sent: Sunday, November 05, 2006 8:23 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Login application - several newbie questions I am trying to implement an application where the user logs in using
a
-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |
- [flexcoders] Login application - several newbie questi... pdflibpilot
- RE: [flexcoders] Login application - several newb... Dimitrios Gianninas