Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
OggXtra
DirectInteraction Xtra
zWinVer Xtra
VBScript Xtra / ActiveCompanionSet
Convert Fonts
Font Size DropDown
List Inspector 1.1 with Tree View
Powerpoint in Director
Change Cursor
Cycle Fades of Images and Text
 

 

 

Behavior HighLighting text

Added on 5/30/2002

 

Compatibilities:
D8 D8_5

Rating:

Author: sybs

A line of text gets highlighted when you pass your mouse over. You can add other events like mouseUp to do something else --mlkj my pet bug's nick name. Apply it to as many buttons as you can create in a lifetime..

on btn_out
  set mlkj to sprite(the currentSpriteNum).member
  mlkj.color = rgb(0,0,0)
  mlkj.bgcolor = rgb(255,255,255)
cursor -1
end btn_out

on btn_in
  set mlkj to sprite(the currentSpriteNum).member
  mlkj.color = rgb(255,255,255)
  mlkj.bgcolor = rgb(0,0,0)
cursor -1
end btn_in

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail