Variable = variable?

is there a way of telling a variable that itself its a variable, and if none present not to do anything, so it dose not say “undefined” in the textbox?

i need to load text in a dynamic box, through rollover on 10 different movieclips, each with a different text

thx