PDA

View Full Version : Making buttons inside of a textField?


snagbird
08-16-2006, 08:42 PM
Hello,

What I am trying to accomplish is having a textField full of text, and making certain words buttons, that will load movies into another container.

First, is there an easier way than selecting a word in a textfield and converting it to a symbol?

All the tutorials I can find just link words to HTML content in a blank browser window, I need to load a swf into a container.

Any help woulkd be appreciated.

Thanks!

DarthJay
08-17-2006, 05:53 AM
Well -- one way you could do it would be to load in dynamic text and embed HTML links in the text that call Javascript functions that control the movie.

Here are some Javascript controls you can use:
http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithflash_03.html

Maybe someone has a better idea, but that's what I would do.

Skitz O'Fuel
08-17-2006, 08:40 AM
yup... html

TarenKapel
08-17-2006, 12:40 PM
You could create invisible buttons over the text, and add your code to them. I assume you want to do this at runtime, so there mey be a few tricky aspects to sizing them.