Sorry Mike, should be Michael Schmalle. :: hitting head ::

-TH

--- In [email protected], "Tim Hoff" <[EMAIL PROTECTED]> 
wrote:
>
> 
> Gordon,
> 
> To eliminate the errors I added the following imports:
> 
>      import mx.controls.listClasses.IListItemRenderer;
>      import mx.controls.listClasses.BaseListData;
>      import mx.core.SpriteAsset;
>      import flash.display.DisplayObject;
>      import mx.core.IFlexDisplayObject;
>      import mx.core.UITextField;
>      import mx.events.TweenEvent;
>      import mx.effects.Tween;
>      import mx.core.IInvalidating;
>      //thanks to Michall Schmalle
>      import mx.core.mx_internal;
>      use namespace mx_internal;
> 
> Copied private functions:
> 
>       private function
> selectionTween_updateHandler(event:TweenEvent):void
>       private function selectionTween_endHandler
(event:TweenEvent):void
> 
> Other Isuues:
> 
>       var displayWidth not public
>            replaced with:
>       var displayWidth:Number = unscaledWidth - viewMetrics.right -
> viewMetrics.left;
> 
> Still working on this one:
> 
>       In the drawItem() function - item.width equals the width of 
the
> first column only.  The highlight only covers the first cell in the
> column.  I'm looking to see if this function is called by another 
class
> that repeats for each column.   If I replace item.width with
> displayWidth it works for the row, but I haven't checked the cell 
if
> selectable = true.
> __________________________________
> 
> I have the selection and highlight alphas working hackishly.  Just
> cleaning-up the bandaids.  Just seeing if I could make a glass 
DataGrid.
> Here's
> 
<http://www.iepl.net/DataGridTransparentHeaderSample/DataGridTranspar
ent\
> HeaderSample.html>  where I'm at with it.  Any suggestions would be
> appreciated.
> 
> -TH
> __________________________________
> 
> Tim Hoff
> Cynergy Systems, Inc.
> http://www.cynergysystems.com
> Office <http://www.cynergysystems.comoffice/> : 866-CYNERGY
> 
> 
> 
> --- In [email protected], "Gordon Smith" <gosmith@>
> wrote:
> >
> > What methods couldn't you override? What were the compile errors?
> >
> >
> >
> > - Gordon
> >
> >
> >
> > ________________________________
> >
> > From: [email protected]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
> > Sent: Thursday, October 19, 2006 2:44 PM
> > To: [email protected]
> > Subject: [flexcomponents] Override Functions in Parent Classes 
of a
> > Custom Component
> >
> >
> >
> > Hi all,
> >
> > I created this simple sample
> >
> 
<http://www.iepl.net/DataGridTransparentHeaderSample/DataGridTranspar
ent
> > HeaderSample.html> to allow transparent headers for a DataGrid
> control.
> > However, if I also wanted to allow transparency for the Row/Cell
> > Highlight and Selection, I have to override the draw methods in 
the
> > mx.controls.listClasses.ListBase class (two levels up). I tried
> > overriding the ListBase methods in my custom component, but ran 
into
> an
> > endless series of compile errors. This is probably a simple 
question,
> > but is there an easier (or possible) way to do this?
> >
> > Thank you for any suggestions,
> >
> > -TH
> > __________________________________
> >
> > Tim Hoff
> > Cynergy Systems, Inc.
> > http://www.cynergysystems.com
> > Office <http://www.cynergysystems.comoffice/> : 866-CYNERGY
> >
>





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcomponents/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcomponents/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to