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

remembering text as a variable

Status
Not open for further replies.

blended

Programmer
Aug 8, 2000
154
US
Ok. I'm sure I could figure this out, but it is of no use for some reason.

I have a mc that has a title which is drawn from an xml file which loads into the appropriate text variable. On the mouse over of the movie clip, I need for the text to dissapear, but on the leaving of the clip I need for the title to reappear. Is there a way to store text variables in an array of some sort so they can be called back again? Or, can you set the visibility of dynamic text boxes? Any suggestions?

Stars and props for successful suggestions,

Blended
 
I think you can put the dynamic text box inside a movie clip and then set the _visibility or _Alpha property of the movie clip with a button or whatever.

I think you can also store text variables but I am still very much in the learning process with that and probably not qualified to give you a good answer. Ya' Gotta Love It!
sleepyangelsBW.jpg
 
Why in an array? Only 1 variable(title)? Just read into two variables - or copy it from your first to your second variable - and on exit call it up.
If the dynamic text box is in a mc... Don't see why you couldn't set it's visibility to false!

;-)ldnewbie
 
I would make the dynamic text box into a symbol..then I would create a movie clip which fades the dynamic text box from 100% alpha to 0%alpha across 10 frames or so.

I would drag this mc into the over frame of my button. When the user moses over it will gradually fade to nothing.

You could also create another mc of the dynamic text box reappearing across 10 frames...going from 0%alpha to 100% alpha and have this to activate when your mouse moves away from the hit area of your button. Ya' Gotta Love It!
sleepyangelsBW.jpg
 
The difficult thing is that it is in a repeated movie clip (an instance of one movie clip repeated 8 times) and each movie clip calls upon instances which are set up into its own array. It's horribly complicated, but I got the client to go with a different approach. THanks, though, and when I get it solved I'll tell you.

Blended
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top