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 [email protected], "bobpardoe1959" <[EMAIL PROTECTED]> wrote:
>>
>> Using the b3 style explorer and getting the follwing css
>>
>> LinkBar {
>>    dropShadowColor: #999999;
>> }
>>
>> ApplicationControlBar {
>>    dropShadowEnabled: true;
>>    shadowDistance: 2;
>>    shadowDirection: center;
>>    borderStyle: default;
>>    backgroundColor: #ffffff;
>>    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
>
>
>

>
>
>

8888/ \8888®   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




Reply via email to