Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Flash: Mouse Coordinate Question
From: Robert Bleeker
Date: Thu, 17 Aug 2000 04:27:37 +0100

Hi Chris,

You can to do the following:

� create an empty movie clip instance.
� place it on the main timeline somewhere (doesn't matter where, but I
usually place it just above the stage, easier to find).
� call the instance "mouseLoc".
� now whenever you want to find out the mouse X you will have to start drag
("mouseLoc") with "lock mouse to center" selected.
� you now can use the getProperty("/mouseLoc",_x) function to find out the
mouse X.

Just remember you can only drag one instance at any one time, so if you are
dragging a menu item already this won't work, but then you could get the
property of that item anyway.

Good luck

Robert
--
Robert Bleeker
CADRE design
http://www.cadre.com.au
+61-2-96859889

-+-


on 17/8/00 9:17 AM, Chris Tifer at ctifer1attampabay [dot] rr [dot] com wrote:

> Hello List,
>
> Is it possible to find the x coordinate of your mouse over the
> main timeline? I'm almost positive it is, but I just need your
> help in figuring out how.
>
> I already checked the built-in Help files for mouse and then
> coordinate, but in scanning them, I didn't spot anything.
>
> Thanx in advance,
>
> Chris Tifer


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Flash: Mouse Coordinate Question, Chris Tifer

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]