Is this where I post a Flash question?
Well this is kinda technical but I wanted to post it here.
How do you find the x,y position of the mouse? I know it's actionscript I've used actionscript. But how do you find the position of it, and from what position is the registration point [0,0]?
Thanks for any help, if any.
VulKen
Keepin' It Realistic
Pimpin like a pimp with an electrofied pimpin machine!
TheGraphicsExpe... posted this at 04:40 — 18th June 2000.
They have: 184 posts
Joined: Jun 2000
Flash is a Vector Graphics Program, and as such it belongs in the graphics forum.
------------------
...TGE...
...A new reality...
...coming soon....
[Boom]
[This message has been edited by TheGraphicsExperience (edited 18 June 2000).]
Mike Fisher
Hypertrophy (design)
[email protected]
ICQ: 38389521
"Taking over TWF, one post at a time."
WebStyles posted this at 05:06 — 18th June 2000.
They have: 2 posts
Joined: Dec 1999
What you have to do is create a draggable movie clip that's "invisible" (ie: has no contents), then you can get the mouse coordinates by getting the x and y positions of that clip. I've made an example source file awhile back that illustrates how to do this.
Preview the SWF here
Grab the source here
Hope this helps.
------------------
[email protected]
WebStyles Design Studio
Flash Tutorials...
[email protected]
WebStyles Design Studio
Flash Tutorials...
Ken Elliott posted this at 15:47 — 18th June 2000.
They have: 358 posts
Joined: Jun 1999
Thanks WebStyles you da man...
JP...I think we need a flash forum...
VulKen
Keepin' It Realistic
werehere posted this at 04:32 — 19th June 2000.
They have: 98 posts
Joined: Dec 1999
Or more appropriately the women!
------------------
We're Here Forums!
Ken Elliott posted this at 14:47 — 19th June 2000.
They have: 358 posts
Joined: Jun 1999
Oh God...I'm sorry WebStyles. You da woman..hehe. I don't even need to try and explain my schovonistic train of thought. But if it helps, I just 'ass'u'me'd...ah never mind. *-)
Pimpin like a pimp with an electrofied pimpin machine!
WebStyles posted this at 22:02 — 21st June 2000.
They have: 2 posts
Joined: Dec 1999
Don't worry about it VulKen, I get that mistake a lot.
------------------
[email protected]
WebStyles Design Studio
Flash Tutorials...
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.