[flexcoders] Skinning Flex Buttons: Sizing Stretching Issues

2008-03-13 Thread Kyle Neath
factor... Thanks for any help! - Kyle Neath

[flexcoders] Re: Skinning Flex Buttons: Sizing Stretching Issues

2008-03-13 Thread Kyle Neath
Well, it took me a long time of random searching but I did finally answer my questions. For the record, here's what I found. 1. This happened because my top/left marker was a bit off (you can see the star icon in the top/left of the scale9 image). It was creating some false negative left margin

[flexcoders] Good solution for rendering large tables of data

2008-01-31 Thread Kyle Neath
level. Thanks! Kyle Neath http://warpspire.com [EMAIL PROTECTED]

Re: [flexcoders] mx:dropshadowfilter f3 only??

2008-01-31 Thread Kyle Neath
You might want to check your namespaces. Last time I checked, DropShadowFilter is under the flash.filters namespace, not mx (Flex). The dropshadow is definitely available in Flex 2, and even implemented in almost all of the default skins :) - Kyle

Re: [flexcoders] got any good air styling references?

2008-01-30 Thread Kyle Neath
The best method I've found is to just remove all native controls (by uncommenting a directive in the air xml file, and adding showChrome=false to your WindowedApplication). From there, it's pretty trivial to mimic native functions. Here's the ones used for beta 3 (they changed it, so googling

Re: [flexcoders] DataGrid: Horizontal Scrolling very slow

2007-09-11 Thread Kyle Neath
They're display only. Here's my renderer: http://warpspire.com/misc/WAGridBooleanRenderer.as I also tried using an embedded image -- seemed like the performance was pretty similar between the two methods. Thanks! Kyle

Re: [flexcoders] DataGrid: Horizontal Scrolling very slow

2007-09-11 Thread Kyle Neath
As an aside: I'm starting to think that optimizing the horizontal scrolling is simply not going to be possible. What do you think of futzing with the scrollbar so I can make it render on the left side instead of the right side (for vertical scrolling) ? Would that be terribly difficult? If I

Re: [flexcoders] DataGrid: Horizontal Scrolling very slow

2007-09-11 Thread Kyle Neath
Hey Alex, As mentioned -- I did try that (using the code from your blog), even using a labelFunction instead of dynamically detecting the on/off: it was still about the same speed. The performance hit is somewhere else deep inside DataGrid. I've spent many hours researching performance of my

Re: [flexcoders] DataGrid: Horizontal Scrolling very slow

2007-09-11 Thread Kyle Neath
Hey Alex, I know, it's hard to believe -- but I guess you'll just have to trust me on this one ;) I've made this same renderer about 10 times and spent a good 40-50 hours trying to improve the performance -- even going so far as removing all logic from it at times. It's not the renderer itself

Re: [flexcoders] DataGrid: Horizontal Scrolling very slow

2007-09-11 Thread Kyle Neath
Ah sorry, I missed that question. There's 30 visible columns right now (70-ish total), with about 20 visible rows (depends on your viewport height).

Re: [flexcoders] Is CSS child selector supported?

2007-09-11 Thread Kyle Neath
Nope :( CSS is more of a bullet-point feature of Flash/Flex than the awesomeness it is in HTML. It can help style some elements without mucking up your MXML too much, but it only supports tag names and style names -- and only styles (fontWeight, fontSize), not properties (like width, height).

[flexcoders] DataGrid: Horizontal Scrolling very slow

2007-09-10 Thread Kyle Neath
Does anyone know what might make horizontal scrolling of datagrids really, really slow? Even with default headerRenderers, scrolling horizontally takes about 1-2 seconds per scroll, while vertical scrolling is nearly instantaneous. My cells are almost square -- so it seems like it should be

Re: [flexcoders] Skinning panels, ah it's borderSkin...

2007-09-10 Thread Kyle Neath
They're usually listed in the styles section: http://livedocs.adobe.com/flex/2/langref/mx/containers/Panel.html#styleSummary

Re: [flexcoders] DataGrid: Horizontal Scrolling very slow

2007-09-10 Thread Kyle Neath
I'm using a custom itemRenderer that displays a checkmark (or not) right now (I spent a long time optimizing it -- the itemRenderer is good to go). Right now about 600 itemRenderers are visible at once (though more than half of them are technically empty). I guess I'm mostly stumped at how

Re: [flexcoders] addChild to UITextField?

2007-08-30 Thread Kyle Neath
Well, I believe TextField's are leaf nodes, meaning they can't have children. Also, if you'll look at the Object Heirarchy, there's no DisplayObjectContainer in there -- so I doubt you're going to get much traction. You're better off making a UIComponent and putting a text field inside of it.

[flexcoders] Where to learn intermediate/advanced Flex?

2007-08-30 Thread Kyle Neath
I feel like I'm coming to a point now where I get the basics of Flex. I've got the whole component architecture down, I know the basics of Actionscript. I can create my own components by extending UIComponent and implementing the proper interfaces. But I still feel like there's so much I have to

Re: [flexcoders] Where to learn intermediate/advanced Flex?

2007-08-30 Thread Kyle Neath
Doug: Heh, I think that's part of the thing that drove me here. One of my first projects in Flex had a lot to do with DataGrid. After sitting there for 20 seconds while my Grid rendered, I had tons of fun reading pretty much every line in DataGrid and DataGridBase. What came out of it was that

Re: [flexcoders] Code behind in reverse (code-infront?)

2007-08-30 Thread Kyle Neath
You can extend either .mxml or .as universally. They're in fact the same thing to Flex. .as extending .mxml myComponents/TestComponent.mxml in your .as: public class TestComponentExtended extends TestComponent .mxml extending .as myComponents/TestComponent.as in your mxml root tag:

[flexcoders] Simple (?) question about styles

2007-08-29 Thread Kyle Neath
It seems like I'm having a stupid problem with reading styles from a stylesheet. Right now, I've got a renderer being used for a DataGridHeader. This header has three graphical icons that used to be buttons. But now I'm making the buttons DisplayObjects for the sake of optimization. I'm trying

[flexcoders] Flex TextMate

2007-08-28 Thread Kyle Neath
So, I'm a pretty hardcore OS X guy and absolutely love Texmate. I also am starting to really get into Flex, and the little things about Eclipse are starting to drive me absolutely batty (shift tab outdent, what??) Has anyone looked into building some simple functionality into Textmate (proper

[flexcoders] Re: Optimizing my HeaderRenderer

2007-08-28 Thread Kyle Neath
If someone can help me get this working, I've got $15 in Paypal for them. Seriously, I know I feel stupid but I don't know how to make this renderer lighter weight. Don't need any 100% code -- just some information to get the basics (i.e. should I use Button? should I use Image? should I use

[flexcoders] Optimizing my HeaderRenderer

2007-08-27 Thread Kyle Neath
Right now I have a fairly complex header renderer with rotated text and three buttons. It's my current bottleneck (thanks a ton for everyone who's helped me so far) and I'm not sure how to approach it. Right now it is a Canvas element with three Buttons and one Text using an embedded font