[flexcoders] mx:datagrid renderer problem

2011-10-16 Thread Sells, Fred
I'm using Flex 4 with an mx:datagrid with a value of 40 for row height and drag and drop enabled. I'm having a very hard time getting a custom renderer to work. The layout keeps getting messed up in the grid cell. I really need to be able to diplay two lines in each cell and maybe some color

[flexcoders] systematic way to expand an XML node programmatically

2011-10-16 Thread henrianno
Hello folks, i have an array that contains the exact node to be expanded. How do i use this to open that same node in the dataProvider? this array is some kind of location where the node to be expanded is compared with the dataProvider as the dataProvider is traversed. Anyone knows how best to

[flexcoders] Embedded SVG scales like bitmap.

2011-10-16 Thread Dave Glasser
I drew a simple irregular polygon in Adobe Illustrator and saved it as an SVG. I embedded it in my Flex app as a SpriteAsset.  I then set it as the skin (all states) for a button. When I set the button size much larger than the original size of the SVG (approx 75X75 pixels), the sides of the

Re: [flexcoders] Embedded SVG scales like bitmap.

2011-10-16 Thread Johannes Nel
export it as a swf On Sun, Oct 16, 2011 at 6:46 PM, Dave Glasser dglas...@pobox.com wrote: ** I drew a simple irregular polygon in Adobe Illustrator and saved it as an SVG. I embedded it in my Flex app as a SpriteAsset. I then set it as the skin (all states) for a button. When I set the

Re: [flexcoders] Embedded SVG scales like bitmap.

2011-10-16 Thread Dave Glasser
Thanks, that did it! One thing that's a little odd: This compiles:     [Embed(source=MyIcon.swf)]     public static const MyIcon:Class; but this:     import mx.core.MovieClipLoaderAsset;     [Embed(source=MyIcon.swf)]     public class MyIcon extends MovieClipLoaderAsset {     ...