for entire application, you can use _global.style.setStyle('style', 'value');
for a specific component, you should give them IDs and reference them:
<srch:first id="first"/>
first.setStyle(...)
 
I guess there are other techniques to achieve this (CSS...), not even sure this would work in Flex 2.
 
Philippe Maegerman


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sandip Patil
Sent: lundi 5 décembre 2005 10:33
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Look & Feel of Application as per user choice

Thx Philippe,
 
for your response.
But say,
 
I have page Main.mxml in which I have  ViewStack on this viewstack I am calling various pages like
 
 <mx:ViewStack >
     <srch:first/>
       <srch:second/>
</mx:ViewStack >
where srch reference name for my directory.
 
I want from Main.mxml I can set background color,theme color of first / second .mxml
i.e. from Main.mxml I want to set look & feel of entire application.
 
Sandip P

Philippe Maegerman <[EMAIL PROTECTED]> wrote:
I think you must use setStyle('style', 'value')

Comp.setStyle('color', CECECE);

Philippe

________________________________

From: flexcoders@yahoogroups.com on behalf of sandip_patil01
Sent: Fri 2/12/2005 9:37
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Look & Feel of Application as per user choice


Hi All,

I developed a application.
Now I want the user can select look & feel of this application as
he/she wants.
Means he can select background color,theme color for entire
application.
Like, 
   http://weblogs.macromedia.com/mc/archives/FlexStyleExplorer.html

any suggestions.


Sandip P.







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com



________________________________

YAHOO! GROUPS LINKS


     
*      Visit your group "flexcoders <http://groups.yahoo.com/group/flexcoders> " on the web.
       
*      To unsubscribe from this group, send an email to:
      [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
       
*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .


________________________________



------------------------------------------------------------------
**STATEMENT OF CONFIDENTIALITY**

This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.

We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.
------------------------------------------------------------------



Yahoo! Personals
Single? There's someone we'd like you to meet.
Lots of someones, actually. Yahoo! Personals


Yahoo! Personals
Let fate take it's course directly to your email.
See who's waiting for you Yahoo! Personals

--
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
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




------------------------------------------------------------------
**STATEMENT OF CONFIDENTIALITY**

This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.

We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.
------------------------------------------------------------------

Reply via email to