Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Alt tags in Director????

Status
Not open for further replies.

mrbens

Technical User
Apr 26, 2001
5
GB
Is it possible to create alt tags in director, you know the ones where you mouse over an icon or picture and a little label appears saying what the picture or button actually is.

 
sure is.

put this script on each object. sprite(1) is a text member, change the sprite channel to match where it is in your movie. Make sure you have a visible back color.
untested, may need some work.

property altmsg

on getPropertyDescriptionList
dics = [:]
addprop dics,#altmsg,[#default:"",#format:#string,#comment:"alt message"]

return dics

end getPropertyDescriptionList

on mouseover
sprite(1).loc = point(the mouseH, the mouseV)
member("alttag").text = altmsg
end

on mouseleave
sprite(1).loc = (-1000,-1000)
end
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top