hked...just what I was thinking of when you sent it. Me
> thinks this will be a better approach then my new post with subect
> line: drg and expan..outlook style (was Re: [flexcoders] lists and
> DD). Using a list will be easier to prepopulate from a DB and get the
> data from to populat
oh gessh, doh. damn arithematic. Thanks again!
off to get this to work with a list instead.
DK
On 8/4/05, Manish Jethani <[EMAIL PROTECTED]> wrote:
> On 8/5/05, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
>
> > these two ops cancel each other out. any ideas?
> >
>
> >
On 8/5/05, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
> these two ops cancel each other out. any ideas?
>
> } else {
> selector.width = lastW - deltaX ;
> selector.x += deltaX;
>
yes! wichked...just what I was thinking of when you sent it. Me
thinks this will be a better approach then my new post with subect
line: drg and expan..outlook style (was Re: [flexcoders] lists and
DD). Using a list will be easier to prepopulate from a DB and get the
data from to populate a DB
my reason for needing this is to build a control similar to outlooks
calendar thingy where you can drag and expand an event time span on a
calendar thing. From another suggestion, I'm using canvas now with a
box. The blow code, warning the colours are absolutely horrible, it
is just an example af
On 8/5/05, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
> but which on eof those items is the mouse on? Say the user selected 5
> items contiguously then initiated a drag on them. I want to know
> which item teh mouse is on.
Listen for the mouseDown event...
http://www.macromedia.com/2003/mxml";
interesting...thanks for the reply.
one way I just thought of was to ensure that all list items were the
same width, something in my problem I can assume. Then based on
mouseX and these widths should be able to figure out which item the
mouse is over in the slected group.
DK
On 8/4/05, Aldo
Hi,
If there is no clean way to do it ( i would still look further ), a
nasty hack would be something like this:
- when the drag starts.
- determine the mc below the mouse at that time ( take a look at
lowlevelevents, if that doesn't do it, I can give you a snippet that
works just fine )
- traver
but which on eof those items is the mouse on? Say the user selected 5
items contiguously then initiated a drag on them. I want to know
which item teh mouse is on.
DK
On 8/4/05, Manish Jethani <[EMAIL PROTECTED]> wrote:
> On 8/4/05, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
> > Consider using a
On 8/4/05, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
> Consider using a list and the drag+drop manager. Assume the user has
> selected three items in the list contiguously. Can I determine which
> of the three items the users mouse is on upon a click and hold? I
> can't seem to see anything in
Consider using a list and the drag+drop manager. Assume the user has
selected three items in the list contiguously. Can I determine which
of the three items the users mouse is on upon a click and hold? I
can't seem to see anything in the docs as of yet.
--
Douglas Knudsen
http://www.cubicleman
11 matches
Mail list logo