Hi Dave,

If you look in the Lingo by topic portion of the Help topics you'll find a good 
listing of text syntax there. Here is the one regarding which line you are pointing at 
with the mouse:

--------------------------------------
This Lingo displays the number of the line being clicked, as well as the text of the 
line, in the Message window: 

property spriteNum
 
on mouseDown me
        pointClicked = the mouseLoc
        currentMember = sprite(spriteNum).member
        lineNum = sprite(spriteNum).pointToLine(pointClicked)
        lineText = currentMember.line[lineNum]
        put "Clicked line" && lineNum & ", the text" && lineText
end
--------------------------------------

Regards,
Kraig

Macromedia
606 Townsend
San Francisco, California 94103
U.S.A.

-----------------------------------------
Macromedia CONFIDENTIAL AND PROPRIETARY
> Hello list,
> 
> I wish to use a text member in order to mimic a 'popup' menu 
> from a mouse
> click as it gives a cleaner look when anti-aliased which fields cannot
> achieve. How do I detect which line of the text member would 
> be selected as
> using the mouseLine function is not applicable in this instance?
> 
> I would also like to change the forecolor of the line that is 
> being rolled
> over to change, as in the forecolor of line function but 
> again text members
> do not appear to have the same diverse range of functions 
> available to them?
> 
> Any help in directing me would be gratefully appreciated!
> 
> Dave K.
> ___________________________________________________
> 
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]
> 

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to