hello, anyone can help me doing the effect on an image like in the following
link that I send:
http://www.estebandevice.com/frame_pt.html
when I pass with the mousse the image moves..can you help me?
ricardojp_valente@hotmail.com
nice dice - 30 Jul 2008 17:08 GMT
Hi - I came up with something similar a few years ago, if you download the zip
from the link below it contains the fla which you can alter to your needs.
Some changes to the AS to include a _y value will be needed but it will point
you in the right direction. Hope it helps!
http://www.nicedicedesign.com/source/3dscroll.zip
Cheers,
D
bigmac031760 - 30 Jul 2008 20:20 GMT
I'm also trying to find a way to link movement to a mouse but not quite what
you're doing. I'd like to click and drag an object over the top of another
object. When I release the mouse button, it triggers an event.
Any clues?
Kenn
nice dice - 30 Jul 2008 20:30 GMT
Hi bigmac - try this tutorial:
http://www.flashkit.com/tutorials/Actionscripting/Basic/Drag-and-Oleg_Laz-1204/i
ndex.php
It's got the basics for drag and drop, you may need to add an event when the
mouse is released or when the object is dropped within a hit area.
Hope it helps.
Cheers
D
DMennenoh **AdobeCommunityExpert** - 30 Jul 2008 22:58 GMT
All you need to do is stick a mouse listener on the root timeline and move
the image based on the mouse's offset from the stage center. If you look up
the Mouse class in Help, and see the addListener method, it shows you in the
example how to react whenever the mouse moves.

Signature
Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
bigmac031760 - 30 Jul 2008 23:58 GMT
Thanks for the link. While I was there I found this on too...
http://www.flashkit.com/tutorials/Actionscripting/Drag_Dr-Gorky-126/index.php
Kenn