I found the correct syntax for the overrides to be:
public function get measuredBranchIconWidth():Number { return 10;}
On 3/14/08, justSteve <[EMAIL PROTECTED]> wrote:
>
> I've found a sample of using a MenuItemRenderer at:
>
>
> http://blog.flexmonkeypatches.com/2007/10/08/flex-rounded-menues-using-masking/
>
> However, under the current SDK the above code tosses:
>
> Interface method get measuredBranchIconWidth in namespace
> mx.controls.menuClasses:IMenuItemRenderer not implemented by class
> MyMenuItemRenderer.
>
> Adding:
> override public function get measuredBranchIconWidth():Number {}
> tosses:
> 1020: Method marked override must override another method.
>
> Sure would appreciate another pointer.
>
> thx
> --steve...
>
>
> On 3/13/08, Alex Harui <[EMAIL PROTECTED]> wrote:
> >
> > I don't have that, but I show how datagrid item renderers can color
> > differently based on the data. Blogs.adobe.com/aharui itemRenderers
> > category
> >
> >
> > ------------------------------
> >
> > *From:* [email protected] [mailto:[EMAIL PROTECTED] *On
> > Behalf Of *justSteve
> > *Sent:* Thursday, March 13, 2008 5:20 PM
> > *To:* flexcoders
> > *Subject:* [flexcoders] Stylizing menu items on a per item basis
> >
> >
> >
> > My menu items have to show 'state' in the sense that overdue items are
> > highlighted. - any tutorials/samples showing something like that?
> >
> > thx much
> > --steve...
> >
> >
> >
>
>