Hi,

I'd like to design a flex app based on the user role.

The user role would be obtained from passing back via an RPC call to a remote 
object and would be available on the Model.

I'd like to design my screens depending on the role.
As an example, a button would be enabled/disabled depending on the role.

I have a small prototype working fine with mx:states. It's very easy to define 
one state per role. Like that, I can customise my screen in a very flexible way.

What I don't like is the fact that the method is intrusive. Do you know a more 
elegant way to achieve that?

> - Olivier Stembert - 
> DEXIA - Banque Internationale à Luxembourg
        IT Architecture & Integration
> *(+352) 4590 2749 - Fax 6749 / * SBC +059
        * [EMAIL PROTECTED] 


---------------------
An electronic message is not binding on its sender.
Any message referring to a binding engagement must be confirmed in writing and 
duly signed.
---------------------

Reply via email to