[flexcoders] DataVisualization Chart Axis Labels not showing up

2010-04-07 Thread taude1
Hi All,

I've posted a question over at Stack Overflow on a problem that I'm having with 
my Axis labels not showing up on a chart.

I think it has to do with my use of the framework RSL when it loads, but 
nonetheless, it's a big issue and I can't seem to figure it out.

Also, I've tried getting it to work in the SDK 3.3, 3.4, and even 3.5 and the 
labels still don't show up.

http://stackoverflow.com/questions/2585393/problem-with-flex-datavisualization-charting-components-rendering-labels-on-build

BTW, I think stackover.com is a superior method of developer interaction in a 
Q/A format and love to see more of the Adobe gurus that hang out here, over 
there.  For example, it's really easy to post screen shots and such in the 
question.

Thanks.



[flexcoders] Re: DataVisualization Chart Axis Labels not showing up

2010-04-07 Thread taude1
The labels definitely aren't rotated.  And the fonts being used show up 
everywhere else in the application, including the same screens that contain the 
charts.  (The posted chart graphics are a small subset of the entire screen.)

--- In flexcoders@yahoogroups.com, Battershall, Jeff jeff.battersh...@... 
wrote:

 Are the labels rotated?  If so, are you sure that the font used is getting 
 loaded as well?  I've seen some funny font behavior when related to loading 
 Data Vis RSLs in the past.
 
 Jeff
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
 Behalf Of taude1
 Sent: Wednesday, April 07, 2010 9:46 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] DataVisualization Chart Axis Labels not showing up
 
 Hi All,
 
 I've posted a question over at Stack Overflow on a problem that I'm having 
 with my Axis labels not showing up on a chart.
 
 I think it has to do with my use of the framework RSL when it loads, but 
 nonetheless, it's a big issue and I can't seem to figure it out.
 
 Also, I've tried getting it to work in the SDK 3.3, 3.4, and even 3.5 and the 
 labels still don't show up.
 
 http://stackoverflow.com/questions/2585393/problem-with-flex-datavisualization-charting-components-rendering-labels-on-build
 
 BTW, I think stackover.com is a superior method of developer interaction in a 
 Q/A format and love to see more of the Adobe gurus that hang out here, over 
 there.  For example, it's really easy to post screen shots and such in the 
 question.
 
 Thanks.
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location: 
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links





[flexcoders] Re: DataVisualization Chart Axis Labels not showing up

2010-04-07 Thread taude1
I definitely dont' see it when the framework and datavisualization is merged.  
However, not too keen on adding another 500 KB to the SWF size of an already 
way-too-large application.

I'm going to keep tinkering with fonts.

--- In flexcoders@yahoogroups.com, Battershall, Jeff jeff.battersh...@... 
wrote:

 Well, rotated or not, I've definitely seen some unexpected behavior related 
 to fonts and RSLs. In one application I ended up merging into code to address 
 the issue. 
 
 Maybe what I encountered isn't the same as what you're seeing but it sure 
 sounds similar. Is the font being used for the axis labels embedded?
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
 Behalf Of taude1
 Sent: Wednesday, April 07, 2010 10:37 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: DataVisualization Chart Axis Labels not showing up
 
 The labels definitely aren't rotated.  And the fonts being used show up 
 everywhere else in the application, including the same screens that contain 
 the charts.  (The posted chart graphics are a small subset of the entire 
 screen.)
 
 --- In flexcoders@yahoogroups.com, Battershall, Jeff jeff.battershall@ 
 wrote:
 
  Are the labels rotated?  If so, are you sure that the font used is getting 
  loaded as well?  I've seen some funny font behavior when related to loading 
  Data Vis RSLs in the past.
  
  Jeff
  
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
  Behalf Of taude1
  Sent: Wednesday, April 07, 2010 9:46 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] DataVisualization Chart Axis Labels not showing up
  
  Hi All,
  
  I've posted a question over at Stack Overflow on a problem that I'm having 
  with my Axis labels not showing up on a chart.
  
  I think it has to do with my use of the framework RSL when it loads, but 
  nonetheless, it's a big issue and I can't seem to figure it out.
  
  Also, I've tried getting it to work in the SDK 3.3, 3.4, and even 3.5 and 
  the labels still don't show up.
  
  http://stackoverflow.com/questions/2585393/problem-with-flex-datavisualization-charting-components-rendering-labels-on-build
  
  BTW, I think stackover.com is a superior method of developer interaction in 
  a Q/A format and love to see more of the Adobe gurus that hang out here, 
  over there.  For example, it's really easy to post screen shots and such in 
  the question.
  
  Thanks.
  
  
  
  
  
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Alternative FAQ location: 
  https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
  Search Archives: 
  http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location: 
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links





[flexcoders] Re: DataVisualization Chart Axis Labels not showing up

2010-04-07 Thread taude1
I got it working using another question that I found here (well, it was from 
this Yahoo! Group, but at the mail-archive.com website)  
http://www.mail-archive.com/flexcoders@yahoogroups.com/msg128578.html



--- In flexcoders@yahoogroups.com, taude1 tpreka...@... wrote:

 I definitely dont' see it when the framework and datavisualization is merged. 
  However, not too keen on adding another 500 KB to the SWF size of an already 
 way-too-large application.
 
 I'm going to keep tinkering with fonts.
 
 --- In flexcoders@yahoogroups.com, Battershall, Jeff jeff.battershall@ 
 wrote:
 
  Well, rotated or not, I've definitely seen some unexpected behavior related 
  to fonts and RSLs. In one application I ended up merging into code to 
  address the issue. 
  
  Maybe what I encountered isn't the same as what you're seeing but it sure 
  sounds similar. Is the font being used for the axis labels embedded?
  
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
  Behalf Of taude1
  Sent: Wednesday, April 07, 2010 10:37 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: DataVisualization Chart Axis Labels not showing up
  
  The labels definitely aren't rotated.  And the fonts being used show up 
  everywhere else in the application, including the same screens that contain 
  the charts.  (The posted chart graphics are a small subset of the entire 
  screen.)
  
  --- In flexcoders@yahoogroups.com, Battershall, Jeff jeff.battershall@ 
  wrote:
  
   Are the labels rotated?  If so, are you sure that the font used is 
   getting loaded as well?  I've seen some funny font behavior when related 
   to loading Data Vis RSLs in the past.
   
   Jeff
   
   -Original Message-
   From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
   Behalf Of taude1
   Sent: Wednesday, April 07, 2010 9:46 AM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] DataVisualization Chart Axis Labels not showing up
   
   Hi All,
   
   I've posted a question over at Stack Overflow on a problem that I'm 
   having with my Axis labels not showing up on a chart.
   
   I think it has to do with my use of the framework RSL when it loads, but 
   nonetheless, it's a big issue and I can't seem to figure it out.
   
   Also, I've tried getting it to work in the SDK 3.3, 3.4, and even 3.5 and 
   the labels still don't show up.
   
   http://stackoverflow.com/questions/2585393/problem-with-flex-datavisualization-charting-components-rendering-labels-on-build
   
   BTW, I think stackover.com is a superior method of developer interaction 
   in a Q/A format and love to see more of the Adobe gurus that hang out 
   here, over there.  For example, it's really easy to post screen shots and 
   such in the question.
   
   Thanks.
   
   
   
   
   
   --
   Flexcoders Mailing List
   FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Alternative FAQ location: 
   https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
   Search Archives: 
   http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups 
   Links
  
  
  
  
  
  
  
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Alternative FAQ location: 
  https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
  Search Archives: 
  http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
 





[flexcoders] Technique so that containers with rounded corners mask out child components

2010-02-26 Thread taude1
I have a lot of containers with rounded corners that host DataGrids, Listboxes, 
etc..

The problem is that the child containers draw on top of the ParentContainer's 
rounded corner.  See this picture for an example:  
http://tweetphoto.com/12602585

It doesn't look good.

Any clever workarounds.  It needs to work for almost all types of children 
components.  I've been playing with masks, but haven't gotten anything to work 
yet.

Thanks.



[flexcoders] Technice so that containers with rounded corners mask out child components

2010-02-26 Thread taude1
I have a lot of containers with rounded corners that host DataGrids, listboxes, 
etc..

The problem is that the child containers draw on top of the ParentContainer's 
rounded corner.  See this picture for an example:  
http://tweetphoto.com/12602585

It doesn't look good.

Any clever workarounds.  It needs to work for almost all types of children 
components.  I've been playing with masks, but haven't gotten anything to work 
yet.

Thanks.



[flexcoders] Re: Stop ToolTips from Appearing on Certain Buttons.

2010-01-06 Thread taude1
Yeah, I already tried that.  For some reason, it still shows.  In looking at 
the Button.as code, in the updateDisplayList, I see some code that seems like 
it's always going to render a tooltip if a label is set on the Button.  

I guess I can always Monkey Patch the button, but it seems like there's 
something simpler to do.

One of the strange uses of this particular button is that the label is set when 
the person mouses over it.

Here's a DEMO: http://www.simplifiedchaos.com/test/slidingButton/


--- In flexcoders@yahoogroups.com, jamesfin james.alan.finni...@... wrote:

 close...use this
 
 myButton.toolTip = null;
 
 
 
 --- In flexcoders@yahoogroups.com, taude1 tprekaski@ wrote:
 
  That doesn't work, it then creates the tooltip from the label value.
  
  --- In flexcoders@yahoogroups.com, Ariel J arieljake@ wrote:
  
   i believe you can do this by setting the tooltip text to the empty string
   
   --- In flexcoders@yahoogroups.com, taude1 tprekaski@ wrote:
   
This seems like it should be easy. I know I can turn tooltips off with 
the ToolTipManager, but that's applciation wide.  I want to disable 
tooltips from certain Buttons.

I've implemented various combinations of tooltipShow, tooltipStart, 
tooltipCreate on teh Button and tried setting the toolTips to NULL, to 
creating a dummy toolTip, etc...


Any ideas on how to totally supress tooltips?

Thanks,
   
  
 





[flexcoders] Stop ToolTips from Appearing on Certain Buttons.

2010-01-05 Thread taude1
This seems like it should be easy. I know I can turn tooltips off with the 
ToolTipManager, but that's applciation wide.  I want to disable tooltips from 
certain Buttons.

I've implemented various combinations of tooltipShow, tooltipStart, 
tooltipCreate on teh Button and tried setting the toolTips to NULL, to creating 
a dummy toolTip, etc...


Any ideas on how to totally supress tooltips?

Thanks,



[flexcoders] Re: Stop ToolTips from Appearing on Certain Buttons.

2010-01-05 Thread taude1
That doesn't work, it then creates the tooltip from the label value.

--- In flexcoders@yahoogroups.com, Ariel J arielj...@... wrote:

 i believe you can do this by setting the tooltip text to the empty string
 
 --- In flexcoders@yahoogroups.com, taude1 tprekaski@ wrote:
 
  This seems like it should be easy. I know I can turn tooltips off with the 
  ToolTipManager, but that's applciation wide.  I want to disable tooltips 
  from certain Buttons.
  
  I've implemented various combinations of tooltipShow, tooltipStart, 
  tooltipCreate on teh Button and tried setting the toolTips to NULL, to 
  creating a dummy toolTip, etc...
  
  
  Any ideas on how to totally supress tooltips?
  
  Thanks,
 





[flexcoders] Trying to compile LZW compresses resource strings into aResource Rodule

2009-12-02 Thread taude1
Hello,
  I'm using the command-line flex compiler to compile LZW resource strings into 
a SWF that can be dynamically loaded into an application at run time.  I have 
no problem generating the Module and and loading it into the application when 
I'm doing simple name value pairs.
  I wish to use more complex name value pairings where the value is a LZW 
compressed WSDL file...
  I'm having issues with the encoded string wrapping multiple lines in the 
resource file.  I've tries appending the \ at the end of the line, and this 
seems to fix the problem of getting the resrouce SWF to actually compile.  
However, it's (or something is) corrupting the compressed LZW string so it 
doesn't decode properly.

  Anyone ever done anything like this?  Any ideas?
 
Thanks




[flexcoders] Re: Trying to compile LZW compresses resource strings into aResource Rodule

2009-12-02 Thread taude1
I've changed my strategy a bit on this and I'm using the [Embed] directive with 
application/octet-stream.

It seems that there's some default compression going on when the MXMLC compiler 
embeds these text assets.  

Does anyone know what it is?  I can't find much in the docs, though I probably 
missed it.

Thanks

--- In flexcoders@yahoogroups.com, taude1 tpreka...@... wrote:

 Hello,
   I'm using the command-line flex compiler to compile LZW resource strings 
 into a SWF that can be dynamically loaded into an application at run time.  I 
 have no problem generating the Module and and loading it into the application 
 when I'm doing simple name value pairs.
   I wish to use more complex name value pairings where the value is a LZW 
 compressed WSDL file...
   I'm having issues with the encoded string wrapping multiple lines in the 
 resource file.  I've tries appending the \ at the end of the line, and this 
 seems to fix the problem of getting the resrouce SWF to actually compile.  
 However, it's (or something is) corrupting the compressed LZW string so it 
 doesn't decode properly.
 
   Anyone ever done anything like this?  Any ideas?
  
 Thanks





[flexcoders] Re: Button and custom FocusSkins not raising Click events

2009-10-27 Thread taude1
I figured out my problem. 

There was an accidental call to graphics.beginFill.  The ALPHA was set to 0 
(which meant I couldn't visually see anything).

I have now separated my focusSkin out from the regular skin, and have made sure 
that I'm only drawing a thin border since the FOCUS skin is overlayed on top of 
the component.

I will say, the documentation on all this is pretty sparse.

--- In flexcoders@yahoogroups.com, taude1 tpreka...@... wrote:

 Hi All,
   I have a button with a custom skin and a custom focusSkin.  when tabbing 
 into the button and the focus skin is showing, it doesn't raise click events.
   I know that I'm supposed to have a HOLE in my focus skin.  Not just 
 transparent pixels and what not.  However, I'm not really sure how to do this 
 PROGRAMATICALY -- I've tried setting the Alpha to 0 and to even try all black 
 (0x000) and all white (oxff), but still can't get it to work.
 
   My problems are similar to: https://bugs.adobe.com/jira/browse/SDK-15363.
 
Again, this is a programatic skin that requires me drawing the border.
 
 Can this be done?  Should be pretty trivial but I'm stuck.
 
 Thanks





[flexcoders] Button and custom FocusSkins not raising Click events

2009-10-26 Thread taude1
Hi All,
  I have a button with a custom skin and a custom focusSkin.  when tabbing into 
the button and the focus skin is showing, it doesn't raise click events.
  I know that I'm supposed to have a HOLE in my focus skin.  Not just 
transparent pixels and what not.  However, I'm not really sure how to do this 
PROGRAMATICALY -- I've tried setting the Alpha to 0 and to even try all black 
(0x000) and all white (oxff), but still can't get it to work.

  My problems are similar to: https://bugs.adobe.com/jira/browse/SDK-15363.

   Again, this is a programatic skin that requires me drawing the border.

Can this be done?  Should be pretty trivial but I'm stuck.

Thanks




[flexcoders] DataGrid ItemEditor help

2009-09-23 Thread taude1
Hi All,
  I've been working with DataGrid itemEditors with a custom checkbox column.  
It's been challenging, to say the least.  I'm at the point where I'm getting 
ready to scrap the itemEditor infrastructure and just code itemRenderers that 
can display edit components.  It might be easier.

I'm hoping some of you will have random tidbits around the web that I can read, 
or suggested workarounds.

1st issue)  When I check a checkbox on the row, I'm wishing for all the 
ItemEditors on that row to show in edit mode.  

2)  When user checks a checkbox, I want to set data values on the item editors 
to default values.

3)  When rendering the screen and loading up items that were selected before 
(via checkbox), I want to set the item editors to contain the default bound 
data.

4)  When unchecking a checkbox in the row, I wish to remove all set values.

I'm using a variation of Alex H's CheckBoxDataGrid with CheckBoxItemRenderer 
for the checkbox portion of the row.

I've judiciously used a lot of the itemEditor events, like itemEditBegining, 
etc...

But I'm still having all sorts of state problems and annoying inconsistencies.  

Should I bail on itemEditors and just write a custom fancy itemRenderer that 
can display edit fields at my whim?  Are there any good tutorials out there for 
doing fancy bindings with ItemEditors?  (I've read through all the docs at the 
adobe site.)  

Thanks