Re: [flexcoders] Panel hearder-colors restriction or bug

2005-05-19 Thread Manish Jethani
On 5/18/05, Kent Henneuse [EMAIL PROTECTED] wrote:

 If I specify a single color for the header I get that color no matter the
 value.  If I specify a second color, for the gradient I assume, I get black.
 See example code below.

The code example you posted works fine for me if I run it directly.

There might be a bug in the Style Explorer.  It may be trying to parse
the comma-separated values as a Number instead of an Array.


 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Panel hearder-colors restriction or bug

2005-05-19 Thread Kent Henneuse
Thanks Manish.  I can safely say that there are two bugs.  One in the
StyleExplorer, which makes some sense, and one in FlexBuilder itself.  When
you view the design in FlexBuilder you get a funky look for the same
gradient.  It drove me nuts.

-Kent

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Thursday, May 19, 2005 12:15 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Panel hearder-colors restriction or bug

On 5/18/05, Kent Henneuse [EMAIL PROTECTED] wrote:

 If I specify a single color for the header I get that color no matter the
 value.  If I specify a second color, for the gradient I assume, I get
black.
 See example code below.

The code example you posted works fine for me if I run it directly.

There might be a bug in the Style Explorer.  It may be trying to parse
the comma-separated values as a Number instead of an Array.


 
Yahoo! Groups Links



 





smime.p7s
Description: S/MIME cryptographic signature


[flexcoders] Panel hearder-colors restriction or bug

2005-05-18 Thread Kent Henneuse
I started playing with the Style Explorer (very cool!!!) and was trying to 
mess with the head-colors and making a nice gradient.  I tried some hex colors 
and it came out wrong.  So I made a quick example in FlexBuilder only to find 
that Flex/Flash is not behaving how I would expect it.

If I specify a single color for the header I get that color no matter the 
value.  If I specify a second color, for the gradient I assume, I get black.
See example code below.

I know that I am not using colors from the color picker in the Style Explorer 
so I am guessing there is some restriction on the colors I can choose.  Can 
somebody confirm or deny this?  If there are restrictions what are they?

Thanks,

-Kent



?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
  mx:Panel title=This is a test Panel
mx:LabelPlace holder label/mx:Label
  /mx:Panel

  mx:Style
  Panel {
header-colors: #B5E3E2, #DCF5F4;
  }
  /mx:Style
/mx:Application




The significant problems we face cannot be solved at the same level of 
thinking we were at when we created them. -Albert Einstein



smime.p7s
Description: S/MIME cryptographic signature