Here in my web application, I have User and Admin profiles
for the users.
So, depending on the user login id, am selecting who's who.
And then for the normal user, I want to hide a displayObject
from my controlbar. but, I could not think of a way doing it.
My code for controlbar is as follows:
<mx:ControlBar id="cbar1" backgroundColor="0xCCCCCC"
<mx:LinkButton label="Need to Register?" id="registerLink"