|
From: Tim R. <ti...@my...> - 2000-11-29 16:46:37
|
whoa. that's the best idea yet. (I tried the earlier idea fo the cover DIV,
but didn't get too far (though I didn't pursue it to a final conclusion,
either)).
This... This is great! AT least, in theory, it's great. I'll try it today
and see what happens.
Thanks big time!
tim
-----Original Message-----
From: dyn...@li...
[mailto:dyn...@li...]On Behalf Of Jordi
'IlMaestro' Ministral
Sent: Wednesday, November 29, 2000 1:40 AM
To: dyn...@li...
Subject: Re: [Dynapi-Dev] Faking Events
If you only want to drag the Flash place keep a pair of variables inside
your
Movie.
oldX oldY
and then, when you detect movement inside the movie and the mouse is
pressed:
GetURL("javascript:myHolder.moveBy("+(_xmouse-oldX)+","+(_ymouse-oldY)+")")
oldX = _xmouse
oldY = _ymouse
It should do the trick. I think
I hope my Flash knowledge doesn't get me banned from the project :)
Tim Royal wrote:
> Howdy howdy.
>
> Anyone have an idea how to create an event and pass it to an object
through
> the DynAPI events stuff? Here's what I'm trying to do. I have draggable
> layers that can be moved around and set by the user. There are three
layers.
> Each one has a Flash object imbedded in it (hence, moving around Flash
> objects on the screen). We used Flash because of its smoother animation
and
> its smaller size.
>
> The problem is that as we drag, the mouse moves over the Flash object and
> the events are no longered triggered by the browser (instead, the Flash
> object itself 'eats' the event). This makes dragging a tricky, not so fun
> process.
>
> What I'd *like* to happen is to have the user be able to click on the
Flash
> file background, and when the mouse moves (with the LMB depressed), have
the
> Flash object send out a message to a function which creates a drag event
on
> the housing DynLayer and moves the Flash object.
>
> Any thoughts?
>
> Thanks!
> Tim
>
> _______________________________________________
> Dynapi-Dev mailing list
> Dyn...@li...
> http://lists.sourceforge.net/mailman/listinfo/dynapi-dev
_______________________________________________
Dynapi-Dev mailing list
Dyn...@li...
http://lists.sourceforge.net/mailman/listinfo/dynapi-dev
|