Thanks for the feedback folks. The component is a Canvas subclass but I am using the same methodology as the listBase components where you have a dataProvider and you also have a itemRenderer setup.
I am using the mouseDown handler to initiated the startDrag action. I haven't done any logic for the scrollbar stuff yet. But I will def. look into your suggestion. To be honest, I hadn't given it any thought. As for the updating the positioning of the tiles, I am using the Move class to do that work. Eventually this will work just like a native flex component once I work on the kinks. Please, keep the comments and questions coming. Thanks again for the input folks. --- In [email protected], "Michael Schmalle" <[EMAIL PROTECTED]> wrote: > > Hey, > > Nice job! > > I noticed one thing, you must be using a general mouseDown handler for you > startDrag operation. > > Once mousing down on the scrollbars, you start to drag the tile beneath the > scroll bar. > > If you don't want to change the handler algorithm, just put an if statment > checking the target, if it's a scroolBar instance just returns. > > Are you using tweens or effects? > > great component. > > Peace, MIke > > On 2/15/07, JWOpitz <[EMAIL PROTECTED]> wrote: > > > > http://www.geocities.com/jwopitz/portfolio/tileCanvas/TileCanvasTest.swf > > > > Any comments, constructive criticism, etc. are appreciated. It is > > still a work in progress. > > > > I need to work on a few things: > > - better drag/drop functionality > > - data accommodations from other components > > > > Once I get my code base straightened out, I will post the source as well. > > > > Thanks, > > jwopitz > > > > [EMAIL PROTECTED] <jwopitz%40gmail.com> > > > > > > > > > > -- > Teoti Graphix > http://www.teotigraphix.com > > Blog - Flex2Components > http://www.flex2components.com > > You can find more by solving the problem then by 'asking the question'. >
