RE: [flexcoders] Re: problems with ApplicationControlBar ...

2006-05-12 Thread Stephen Gilson



borderStyle is not listed as a valid style of ApplicationControlBar.

Stephen 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Thursday, May 11, 2006 1:31 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: problems with ApplicationControlBar ...

On 5/11/06, bobpardoe1959 [EMAIL PROTECTED] wrote:

 If you set the borderstyle to applicationControlBar it all works as 
 expected, set the borderstyle to default and you get a black 
 background, set it to solid and the colour is blue in my case

Setting borderStyle on ApplicationControlBar is not supported. What do
the docs say?


 Yahoo! Groups Sponsor ~--
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~- 

--
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



 









--
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" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Re: problems with ApplicationControlBar ...

2006-05-11 Thread bobpardoe1959



Well I sorted it out, but it is far from clear as to why the solution
works ...

If you set the borderstyle to applicationControlBar it all works as
expected, set the borderstyle to default and you get a black
background, set it to solid and the colour is blue in my case

Why does a setting of borderstyle have such a huge affect on the
background of the control ? 

Why does it all work in the style explorer but not in my app ?

BOb

--- In flexcoders@yahoogroups.com, bobpardoe1959 [EMAIL PROTECTED] wrote:

 Using the b3 style explorer and getting the follwing css 
 
 LinkBar { 
 dropShadowColor: #99;
 }
 
 ApplicationControlBar {
 dropShadowEnabled: true;
 shadowDistance: 2;
 shadowDirection: center;
 borderStyle: default;
 backgroundColor: #ff;
 highlightAlphas: 0.61, 0.14;
 fillAlphas: 0.53, 0.42;
 fillColors: #0033ff, #0066ff;
 backgroundAlpha: 0;
 }
 
 I paste this into my app and I do not get the same results.
 
 It appears that I cannot set the fillcolours (I think). The colours
 here are blue here but the control shows as brown as my background to
 my app is the smoke_bg.jpg.
 
 Any help appreciated
 
 BOb
 
 p.s. 
 
 I think there is a bug in the style explorer. When you set the drop
 shadow colour of the applicationcontrolbar the css is created for the
 linkbar











--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











Re: [flexcoders] Re: problems with ApplicationControlBar ...

2006-05-11 Thread Peter Baird



Actually, there's more to it than that.

If you notice in your CSS from the Style Explorer, you've got fillAlphas set
to [0.53, 0.42] ... That means your ApplicationControlBar is transparent and
your brown background is showing through. On the Flex Style Explorer, the
default background is that blue gradient... So, the ApplicationControlBar
appears blue... If you go to application section of the style explorer and
change the page background to match yours, you should see the same results.

So, what you really want to do is simply change your fillAlphas to [1, 1] so
that there's no transparency, and the color beneath doesn't show through.

Also, thanks for catching and passing along the dropShadowColor bug. I've
fixed it in the source, and you'll see the fix in the next release.

Thanks again,

-Peter



On 5/11/06 4:52 AM, bobpardoe1959 [EMAIL PROTECTED] wrote:

 Well I sorted it out, but it is far from clear as to why the solution
 works ...
 
 If you set the borderstyle to applicationControlBar it all works as
 expected, set the borderstyle to default and you get a black
 background, set it to solid and the colour is blue in my case
 
 Why does a setting of borderstyle have such a huge affect on the
 background of the control ?
 
 Why does it all work in the style explorer but not in my app ?
 
 BOb
 
 --- In flexcoders@yahoogroups.com, bobpardoe1959 [EMAIL PROTECTED] wrote:
 
 Using the b3 style explorer and getting the follwing css
 
 LinkBar { 
 dropShadowColor: #99;
 }
 
 ApplicationControlBar {
 dropShadowEnabled: true;
 shadowDistance: 2;
 shadowDirection: center;
 borderStyle: default;
 backgroundColor: #ff;
 highlightAlphas: 0.61, 0.14;
 fillAlphas: 0.53, 0.42;
 fillColors: #0033ff, #0066ff;
 backgroundAlpha: 0;
 }
 
 I paste this into my app and I do not get the same results.
 
 It appears that I cannot set the fillcolours (I think). The colours
 here are blue here but the control shows as brown as my background to
 my app is the smoke_bg.jpg.
 
 Any help appreciated
 
 BOb
 
 p.s. 
 
 I think there is a bug in the style explorer. When you set the drop
 shadow colour of the applicationcontrolbar the css is created for the
 linkbar
 
 
 
 
 
 
 
 
 --
 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
 
 
 
 
 
 
 

/ \® PETER BAIRD
888/ \888 User Experience Consultant
88/ / \88 Adobe Consulting | Adobe Systems, Inc
8/ /8\ \8 275 Grove St. Newton, MA
/ /888\ \ Office: 617.219.2126 | Cell: 617.803.6804
 \8\ AIM: pbaird00 | Y!IM: pbaird00











--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  












Re: [flexcoders] Re: problems with ApplicationControlBar ...

2006-05-11 Thread Manish Jethani



On 5/11/06, bobpardoe1959 [EMAIL PROTECTED] wrote:

 If you set the borderstyle to applicationControlBar it all works as
 expected, set the borderstyle to default and you get a black
 background, set it to solid and the colour is blue in my case

Setting borderStyle on ApplicationControlBar is not supported. What
do the docs say?






--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.