overhotspot question

Started by Candle, Thu 30/06/2005 01:38:02

Previous topic - Next topic

Candle

Say I have a newspaper and I want it when the mouse goes over the newspaper to say in text "Daily news" someplace by the paper .
Can that be done ?

Candle

I guess I can do the @overhotspot@ but was looking for something a little nicer .

Gilbert

You need to be more specific on what you really want, like in "but was looking for something a little nicer", what do you mean by nicer?
I think what you may need is to use a text overlay to display the text, and if you want you can even move the overlay when you move your cursor's position.

Candle

I didn't think of that . I know how to do the overlay but how do I have it right where ther mouse would be when it moves over the object .

Gilbert

After the overlay is created use MoveOverlay () to move ie, like for example:
MoveOverlay (overid, mouse.x, mouse.y);

Or if you use V2.7+ code:
Overlay.X=mouse.x;
Overlay.Y=mouse.y;




Candle

Thanks for the help .. I understand :)

SMF spam blocked by CleanTalk