RE: [flexcoders] Chart - How to set up color on series ? Bug ?

2006-06-15 Thread Daniel Tuppeny






In that case, it does make sense. Is there any 
enumuration (or constants) of the styles, so we could do something 
like:

pieSeries.setStyle(Style.Fill, 
"...")

I noticed some of the Events have been included like 
this (though some of them, like CreationComplete, I couldn't find, so I'm still 
using a string!), and this would give compile-time messages. Skins with 
additional styles could be added to the skin, eg:

pieSeries.setStyle(mySkin.HFill, 
"...")

I guess it's trivial to add my own class that has these 
constant strings, but if it's already there...? :-)


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Ely 
GreenfieldSent: 14 June 2006 18:14To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Chart - How to 
set up color on series ? Bug ?




Yup, that's what it means. In general, we on the flex 
team agree with you. At one point we wanted to automatically provide property 
wrappers for all the styles, but it didn't make it onto the list. That approach 
also has some theoretical problems...most of the styles on a give component are 
consumed by its skins, not the component itself, so theoretically a different 
skin set could define different styles. Which means those properties would be 
useless.

Ely.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: Wednesday, June 14, 2006 9:20 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Chart - How to 
set up color on series ? Bug ?



Does this mean that typos in styles will now only be 
caught at runtime, rather than compile time? To me, the old methods 
looksnicer :-)


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Ely 
GreenfieldSent: 14 June 2006 17:13To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Chart - How to 
set up color on series ? Bug ?




Back in Flex 1.5, because of limitations of the compiler, 
we had to wrap a bunch of the charting styles with stubbed out get/set 
functions. Now that those limitations have been fixed, we scrubbed the 
classes in Beta3 and removed those stubbed out functions. So instad of 
:

pieSeries.fills = ...

you write 

pieSeries.setStyle("fills",...);

Ely.





From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
ruddyvanduynslagerSent: Wednesday, June 14, 2006 3:46 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
Chart - How to set up color on series ? Bug ?


In Beta 2, to assign colors on a Pie chart, I used this code (first 
serie, first 
color):chrt_pieTR.series[0].fills[0].color="0xFF".Now 
in Beta 3, that code doesn'nt work anymore., and I receive an error The 
only place where I can find something about fills.color, is just below the 
inheritingStyles. So, I have run this 
code:chrt_pieTR.series[0].inheritingStyles].fills[0].color="0xFF".I 
do no receive an error,.but nothing is changed, my first color is not 
"0xFF" pffAny suggestion is welcome 
[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__
 [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
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] Chart - How to set up color on series ? Bug ?

2006-06-15 Thread Ely Greenfield







No, there's no style enumerations. Good idea 
though.

Ely.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: Thursday, June 15, 2006 12:13 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Chart - How to 
set up color on series ? Bug ?




In that case, it does make sense. Is there any 
enumuration (or constants) of the styles, so we could do something 
like:

pieSeries.setStyle(Style.Fill, 
"...")

I noticed some of the Events have been included like 
this (though some of them, like CreationComplete, I couldn't find, so I'm still 
using a string!), and this would give compile-time messages. Skins with 
additional styles could be added to the skin, eg:

pieSeries.setStyle(mySkin.HFill, 
"...")

I guess it's trivial to add my own class that has these 
constant strings, but if it's already there...? :-)


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Ely 
GreenfieldSent: 14 June 2006 18:14To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Chart - How to 
set up color on series ? Bug ?




Yup, that's what it means. In general, we on the flex 
team agree with you. At one point we wanted to automatically provide property 
wrappers for all the styles, but it didn't make it onto the list. That approach 
also has some theoretical problems...most of the styles on a give component are 
consumed by its skins, not the component itself, so theoretically a different 
skin set could define different styles. Which means those properties would be 
useless.

Ely.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: Wednesday, June 14, 2006 9:20 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Chart - How to 
set up color on series ? Bug ?



Does this mean that typos in styles will now only be 
caught at runtime, rather than compile time? To me, the old methods 
looksnicer :-)


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Ely 
GreenfieldSent: 14 June 2006 17:13To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Chart - How to 
set up color on series ? Bug ?




Back in Flex 1.5, because of limitations of the compiler, 
we had to wrap a bunch of the charting styles with stubbed out get/set 
functions. Now that those limitations have been fixed, we scrubbed the 
classes in Beta3 and removed those stubbed out functions. So instad of 
:

pieSeries.fills = ...

you write 

pieSeries.setStyle("fills",...);

Ely.





From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
ruddyvanduynslagerSent: Wednesday, June 14, 2006 3:46 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
Chart - How to set up color on series ? Bug ?


In Beta 2, to assign colors on a Pie chart, I used this code (first 
serie, first 
color):chrt_pieTR.series[0].fills[0].color="0xFF".Now 
in Beta 3, that code doesn'nt work anymore., and I receive an error The 
only place where I can find something about fills.color, is just below the 
inheritingStyles. So, I have run this 
code:chrt_pieTR.series[0].inheritingStyles].fills[0].color="0xFF".I 
do no receive an error,.but nothing is changed, my first color is not 
"0xFF" pffAny suggestion is welcome 
[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__
[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
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] Chart - How to set up color on series ? Bug ?

2006-06-14 Thread Ely Greenfield








Back in Flex 1.5, because of limitations of the compiler, 
we had to wrap a bunch of the charting styles with stubbed out get/set 
functions. Now that those limitations have been fixed, we scrubbed the 
classes in Beta3 and removed those stubbed out functions. So instad of 
:

pieSeries.fills = ...

you write 

pieSeries.setStyle("fills",...);

Ely.





From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
ruddyvanduynslagerSent: Wednesday, June 14, 2006 3:46 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
Chart - How to set up color on series ? Bug ?


In Beta 2, to assign colors on a Pie chart, I used this code (first 
serie, first 
color):chrt_pieTR.series[0].fills[0].color="0xFF".Now 
in Beta 3, that code doesn'nt work anymore., and I receive an error The 
only place where I can find something about fills.color, is just below the 
inheritingStyles. So, I have run this 
code:chrt_pieTR.series[0].inheritingStyles].fills[0].color="0xFF".I 
do no receive an error,.but nothing is changed, my first color is not 
"0xFF" pffAny suggestion is welcome 

__._,_.___





--
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] Chart - How to set up color on series ? Bug ?

2006-06-14 Thread Daniel Tuppeny





Does this mean that typos in styles will now only be 
caught at runtime, rather than compile time? To me, the old methods 
looksnicer :-)


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Ely 
GreenfieldSent: 14 June 2006 17:13To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Chart - How to 
set up color on series ? Bug ?




Back in Flex 1.5, because of limitations of the compiler, 
we had to wrap a bunch of the charting styles with stubbed out get/set 
functions. Now that those limitations have been fixed, we scrubbed the 
classes in Beta3 and removed those stubbed out functions. So instad of 
:

pieSeries.fills = ...

you write 

pieSeries.setStyle("fills",...);

Ely.





From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
ruddyvanduynslagerSent: Wednesday, June 14, 2006 3:46 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
Chart - How to set up color on series ? Bug ?


In Beta 2, to assign colors on a Pie chart, I used this code (first 
serie, first 
color):chrt_pieTR.series[0].fills[0].color="0xFF".Now 
in Beta 3, that code doesn'nt work anymore., and I receive an error The 
only place where I can find something about fills.color, is just below the 
inheritingStyles. So, I have run this 
code:chrt_pieTR.series[0].inheritingStyles].fills[0].color="0xFF".I 
do no receive an error,.but nothing is changed, my first color is not 
"0xFF" pffAny suggestion is welcome 
 [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
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] Chart - How to set up color on series ? Bug ?

2006-06-14 Thread Ely Greenfield








Yup, that's what it means. In general, we on the flex 
team agree with you. At one point we wanted to automatically provide property 
wrappers for all the styles, but it didn't make it onto the list. That approach 
also has some theoretical problems...most of the styles on a give component are 
consumed by its skins, not the component itself, so theoretically a different 
skin set could define different styles. Which means those properties would be 
useless.

Ely.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: Wednesday, June 14, 2006 9:20 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Chart - How to 
set up color on series ? Bug ?



Does this mean that typos in styles will now only be 
caught at runtime, rather than compile time? To me, the old methods 
looksnicer :-)


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Ely 
GreenfieldSent: 14 June 2006 17:13To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Chart - How to 
set up color on series ? Bug ?




Back in Flex 1.5, because of limitations of the compiler, 
we had to wrap a bunch of the charting styles with stubbed out get/set 
functions. Now that those limitations have been fixed, we scrubbed the 
classes in Beta3 and removed those stubbed out functions. So instad of 
:

pieSeries.fills = ...

you write 

pieSeries.setStyle("fills",...);

Ely.





From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
ruddyvanduynslagerSent: Wednesday, June 14, 2006 3:46 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
Chart - How to set up color on series ? Bug ?


In Beta 2, to assign colors on a Pie chart, I used this code (first 
serie, first 
color):chrt_pieTR.series[0].fills[0].color="0xFF".Now 
in Beta 3, that code doesn'nt work anymore., and I receive an error The 
only place where I can find something about fills.color, is just below the 
inheritingStyles. So, I have run this 
code:chrt_pieTR.series[0].inheritingStyles].fills[0].color="0xFF".I 
do no receive an error,.but nothing is changed, my first color is not 
"0xFF" pffAny suggestion is welcome 
[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__

__._,_.___





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



  






__,_._,___