[flexcoders] Re: Sorting on Datagrid

2009-03-13 Thread ross_w_henderson
Poornima, Can you give a little more information? Are you using any item renderers? Ross

[flexcoders] Re: TextArea : change fontcolor of selected text

2009-03-11 Thread ross_w_henderson
The RichTextEditor component does this. If you look at that class's code, you'll see that it calls a function named setTextStyles and passes an argument of 'color'. Basically, it creates a TextFormat object with the desired style (font color, in this case), and applies it to the selected

[flexcoders] Re: Can't seem to get Myriad Pro to encode in Flex

2009-02-24 Thread ross_w_henderson
Hi, Adrian. I had a terrible time with this a few months back, but finally got it all figured out. If you can post exactly what you're including in your FLA (that's the way I ended up doing it), and exactly what you're including in your font declarations, I think I can help you get this cleared

[flexcoders] Re: itemRenderer data question (recycling)

2009-01-22 Thread ross_w_henderson
Hi. Are you updating super.data in your set data function? If you aren't, give this a try: public override function set data(value:Object):void { super.data = value; if(value == null) return; . }

[flexcoders] Re: Still getting old swf

2008-12-10 Thread ross_w_henderson
Jitendra, You might have something buggy going on in your FlexBuilder (I'm assuming that's what you're building with), but I think your problem may be solved just by pressing Shift + Refresh in your browser. The HTTP-EQUIV tag might work, but it might not, depending on variables that I don't

[flexcoders] Re: Using japanese langiage in my application

2008-12-08 Thread ross_w_henderson
Naveen, Hi. Are you already familiar with embedding fonts in a Flex application? And, if you are, are you using the programmatic approach, or the SWF approach? You've probably already explored this, but one other option is to just use the _sans system font, rather than embed a Japanese font.

[flexcoders] Re: ItemRenderer, mislabels scrolling

2008-12-03 Thread ross_w_henderson
Robert, I may have misled you by saying you needed to override the data setter in my last reply. I've gotten away with doing that in List components, but maybe I should have been addressing listdata, instead of data. Hope I didn't screw you up. Amy, glad you posted this. Thanks. --- In

[flexcoders] Re: ItemRenderer, mislabels scrolling

2008-12-02 Thread ross_w_henderson
I've had similar issues. One of the things I've found is that it is important to reduce the steps between this.data, or this.listData, and the property you're populating. If you can rewrite so that you bind directly on this.listData.label, rather than set the value of 'value' and bind on

[flexcoders] Re: ItemRenderer, mislabels scrolling

2008-12-02 Thread ross_w_henderson
, -Robert   --- On Tue, 12/2/08, ross_w_henderson [EMAIL PROTECTED] wrote: From: ross_w_henderson [EMAIL PROTECTED] Subject: [flexcoders] Re: ItemRenderer, mislabels scrolling To: flexcoders@yahoogroups.com Date: Tuesday, December 2, 2008, 3:19 PM I've had similar issues. One

[flexcoders] Re: Tooltip Errors

2008-11-21 Thread ross_w_henderson
I've had a similar issue with tooltips, though, not with ViewStacks, and I think Sefi's solution is correct. That's more or less what I've done, at least. My understanding of what is happens in these cases is the ToolTipManager that created the tooltip gets destroyed without destroying the child

[flexcoders] Re: TextField and Stylesheets

2008-11-12 Thread ross_w_henderson
Hi, Sceneshift. The TextField object uses a styleSheet property, rather than the styleName attribute. The styleSheet property takes an object of type StyleSheet. Check out the livedoc at http://livedocs.adobe.com/flex/3/langref/flash/text/TextField.html#styleSheet There's a link to the

[flexcoders] Re: Do you use a Mac?

2008-10-28 Thread ross_w_henderson
I switched about 10 months ago, and I'll still tell anyone who is interested how happy I am about it. I do all of my work, comfortably and happily, on a 15 MBP. The overall positive impact on my productivity is more than worth the 5x pricetag. But, on top of that, my working life is so much

[flexcoders] Re: Do you use a Mac?

2008-10-28 Thread ross_w_henderson
about switching. Hope that's useful. --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: - Original Message - From: ross_w_henderson [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, October 28, 2008 1:39 PM Subject: [flexcoders] Re: Do you

[flexcoders] Re: Custom Tooltip

2008-10-14 Thread ross_w_henderson
Manu, There may be an easier way to do this, but I think you'll need to create a new ToolTipBorder object, and either have it accept an ArrayCollection (or whatever) in its constructor, or else make a public var on the object (i.e. myToolTipData:ArrayCollection = new ArrayCollection;).