Hey, Tim, I get an error when I try to run that example on CFLEX:

 

ReferenceError: Error #1069: Property hasDefinition not found on flash.system.ApplicationDomain and there is no default value.

            at mx.managers::SystemManager/getDefinitionByName()

            at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::addingChild()

            at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::rawChildren_addChildAt()

            at mx.managers::SystemChildrenList/addChild()

            at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::initialize()

            at mx.managers::SystemManager/::initHandler()

 

Tracy


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
Sent: Thursday, July 27, 2006 12:18 AM
To: [email protected]
Subject: [flexcomponents] Re: First real component attempt

 

Thanks Manish,

Your suggestions helped move me in right direction.  With the help of Jason (Pan Troglodytes at flexcoders), here is a DataGrid component that can be used to conditionally change rowColors through CSS.

View Component

It's not that complicated, but it's a start.  Thank you all for your input.

Tim Hoff

--- In [email protected], "Manish Jethani" <[EMAIL PROTECTED]> wrote:
>
> On 7/17/06, Tim Hoff [EMAIL PROTECTED] wrote:
>
> > 1. In drawRowBackgrounds(), I'm looping by curRow, CSS
> > rowBackgroundColors, and curCol (Columns) - to match the columns
> > [curCol].dataField with the CSS fieldName. This works fine. The
> > problem that I'm having is getting the cell data to compare with the
> > CSS value. I've banged on this for while now, but keep coming up
> > short.
>
> The 'iterator' variable (protected) always points to the topmost
> visible row. You can get the data from there by looking up the
> 'dataField' in the collection.
>
> > 2. Is there a way to draw the row background at the same time that
> > the data is rendered? Currently the row backgrounds are painted and
> > a delay occurs before the cells are filed with data. Not the best
> > look.
>
> :-/
>
> > 3. Wish-list: Is there an easy way to blend (mid-tween) two row
> > backgroundColors, should the row meet multiple conditions. I
> > suppose that I would also need to consider the column
> > backgroundColor, but let's take it one step at a time.
>
> So if you're drawing with a non-1 alpha, the colours will blend.
>
> Manish
>

__._,_.___


SPONSORED LINKS
Custom software development Database development software Embedded software development
Offshore software development Software development


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to