[flexcoders] Re: Context menu mouseTarget vs. itemRenderer with Image control

2007-06-02 Thread andrewalderson650
If you are using a custom item renderer why aren't you just adding the context menu to the item renderer? As a note if you are extending one of the default item renderers they have the mouse disabled in the constructor so this needs to be fixed. --- In flexcoders@yahoogroups.com, tsiesser

[flexcoders] Re: Context menu mouseTarget vs. itemRenderer with Image control

2007-06-02 Thread tsiesser
Wow - images are not mouse targets. Okay, that's going to be challenging - because I was actually planning on some special actions to occur when the user clicked on the corners of the image. So maybe the transparent sprite will be the key? I'll try it... Thanks! --Tracey --- In

[flexcoders] Re: Context menu mouseTarget vs. itemRenderer with Image control

2007-06-02 Thread tsiesser
It occurred to me to try adding the context menu to the item renderer, but I wasn't sure what would happen to the blank areas of the TileList, like if there aren't enough data items to fill the entire space... does the list get item renderers with data=null, or are there only renderers where

RE: [flexcoders] Re: Context menu mouseTarget vs. itemRenderer with Image control

2007-06-02 Thread Alex Harui
areas of a renderer into separate targets. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tsiesser Sent: Saturday, June 02, 2007 9:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Context menu mouseTarget vs. itemRenderer