|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Do you have any idea how do i hyperlink to a website from a button in the Flash through a text file?? Meaning i cannot hard code the link address in the Flash itself. The link address is saved in a txt file.
Thanks alot |
|
#2
|
|||
|
|||
|
I'll assume you alread know how to load the text file into flash.
Set your textField to an html textfield first. Then in your text file format the link just like you would in an html document, well, sort of. You'll have to escape all the quotes so that flash will read the url properly. Like so <a href=\"http://www.google.com\">google it</a> Make sure you load the text into the textFields htmlText property, not the nomral text property. |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Link from a text file???? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|