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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mouse-over info. panels

Status
Not open for further replies.
how I probably would have done that is to put all the panels in one mc and change the frame for that mc depending on which country (button) you roll over...

[conehead]
 

This would be one way of doing it, except that rather than following the mouse cursor, the movie clip (half-transparent) would be set in a fixed position. Rolling over invisible buttons, or using onRollOver functions on the country buttons would direct the movie clip to one particular frame corresponding to which button was rolled over. When outside of buttons, the movie clip is either set to be invisible, or sent to it's first blank keyframe, thus also becoming invisible.



Regards,

cubalibre2.gif
 
dont mess around with frames...no need

dont much matter how the data is loaded..text file , XML, database...same principle applies...loadvars and load or sendandload

1 dynamic text box with a white background

something like

france.onRollOver = function(){
mytext._visible = true;
mytext.text = myloadvars.france
}
france.onRollOut = function(){
mytext._visible = false;
}

with a little bit of imagination the code for all the buttons/movieclips can be condensed into a few lines but endless repeats of the above would work just fine


 
Oh and Digitalpencil! Bill's proposal would work assuming, you only have text and not flags (as your example link) or any other graphic elements.

Regards,

cubalibre2.gif
 
adding graphic elements is not a problem....there is an excellent extension to the textfield class allowing for full implematation of graphic elemets ..smilies etc into text fields


be happy to give you a link and help you with modifications if thats the way you want to go
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top