Put buttons on Dynamic Text..!

Hello there.

Does anyone knows how can you convert dynamic text to buttons?

I have a box with dynamic text and i want to make some words buttons
to put some actions…

thank you,
www.filete.net

If you are loading the text through AS or an external .txt file then you can use

textBoxInstanceName.html = true;
textBoxInstanceName.htmlText = textVariable;

This will html enable your textbox and tell it to convert the font formatting html tags in the file.

One of the tags Flash supports is the <A HREF=‘url’> tag.

But if you need to manipulate something inside your movie instead of opening a browser window then you should check out an undocumented function called ASFunction. Do a search on google for it, you can find useful information there :slight_smile:

Hi , lostinbeta

No, im not using external dynamic text…

I just using dynamic text to be able to make scroll boxes…
But i can´t convert any word to button.
I´ve tried to use invisible buttons, don´t work…!
Can you tell how can you put some actions in this situation?

thanks,
www.filete.net

Well what are you trying to make these buttons do? Do they go to URLs or do they Manipulate your movie in some way?

I want them to load movieclips or fade in images…

www.filete.net

Ok, so you want it to manipulate your movie.

In that case you can only do that with an undocumented (which also means unsupported) feature in Flash AS called ASFunction.

I have only used ASFunction like once or twice before, and I don’t think I can explain clearly how it works, so I recommend doing a search on google for it because you can probably find more useful information about it there than I can give you.

ok,
I will check it out…

thanks,
www.filete.net