hi Peter,

I'm using a combination of mouseDown, mouseMove and MouseUp event and also taking care of the offset when mouse clicked on the bottom right black grip. (there's a x/y delta between mouse down point and the top/left point of black grip)



On 4/13/06, Peter Martin <[EMAIL PROTECTED]> wrote:
I have tried event.updateAfterEvent() but it made no difference.

I looked at the links below and the resizing is exactly what I want to
achieve - how did you deal with the sluggish cursor movement?

Thanks
Peter.


--- In flexcoders@yahoogroups.com, "jeremy lu" <[EMAIL PROTECTED]> wrote:
>
> handling resizing using mouse event is tricky, sluggish cursor
movement is
> usally the main problem.
>
> I made something similar several weeks ago, check it here:
>
>
http://ria.richtechmedia.com/go.php?http://ria.richtechmedia.com/upload/resizePanel2/
>
>
> jeremy.
>
> On 4/13/06, Michael Schmalle <[EMAIL PROTECTED]> wrote:
> >
> >  Hi,
> >
> > In the event handler write;
> >
> > event.updateAfterEvent()
> >
> > Peace, Mike
> >
> > On 4/12/06, Peter Martin <[EMAIL PROTECTED]> wrote:
> >
> > >  I have created a Window component (in Flex 2 beta 2) that
subclasses
> > > TitleWindow. It allows the user to resize the window by grabbing the
> > > bottom corner. It works fine if you are making the window smaller,
> > > however if you are making it bigger Flex can't keep up with the
mouse,
> > > unless you go very, very slowly.
> > >
> > > What I have is an event listener that handles onMouseMove and
sets the
> > > width and height to mouseX and mouseY.
> > >
> > > Thanks
> > > Peter.
> > >
> > >
> > >
> > >
> > >
> > >  --
> > > Flexcoders Mailing List
> > > FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Search Archives:
> > > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > >
> > >
> > >  ------------------------------
> > >  YAHOO! GROUPS LINKS
> > >
> > >
> > >     -  Visit your group
"flexcoders< http://groups.yahoo.com/group/flexcoders>"
> > >    on the web.
> > >
> > >
> > >   To unsubscribe from this group, send an email to:
> > >
[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> > >
> > >   Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service<http://docs.yahoo.com/info/terms/>
> > > .
> > >  ------------------------------
> > >
> >
> >
> >
> > --
> > What goes up, does come down.
> >
> >
> >  --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> >
> >
> >  ------------------------------
> > YAHOO! GROUPS LINKS
> >
> >
> >    -  Visit your group
"flexcoders< http://groups.yahoo.com/group/flexcoders>"
> >    on the web.
> >
> >
> >  To unsubscribe from this group, send an email to:
> >
[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >
> >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service<http://docs.yahoo.com/info/terms/>
> > .
> >  ------------------------------
> >
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links

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

<*> 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/






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to