# Text-based hyperlinking in flash MX. how?

**URL:** <https://forum.kirupa.com/t/text-based-hyperlinking-in-flash-mx-how/15539>\
**Category:** flash\
**Created:** [March 15, 2003, 11:09am UTC](https://forum.kirupa.com/t/text-based-hyperlinking-in-flash-mx-how/15539 "2003-03-15T11:09:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Variables](https://avatars.discourse-cdn.com/v4/letter/v/d9b06d/32.png) [@Variables](https://forum.kirupa.com/u/Variables)\
**Post date:** [March 15, 2003, 11:09am UTC](https://forum.kirupa.com/t/text-based-hyperlinking-in-flash-mx-how/15539/1 "2003-03-15T11:09:34Z")

</div>

hello!

I’m completely new to flash stuff… I saw the tutorial which is made by kirupa about creating a hyperlink in flash mx… and I did it… but how can I create a text-based hyperlink… like the normal HTML A.Links? and how can I use the normal font “for example: verdana type”…in flash and make it looks like normal HTML text without smoothing , etc. effects…

Sorry for my newbie questions…but I’m so new to this, and wanna create a flash home page.

Thanks everyone,  
Regards,  
Variables

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 15, 2003, 11:50am UTC](https://forum.kirupa.com/t/text-based-hyperlinking-in-flash-mx-how/15539/2 "2003-03-15T11:50:28Z")

</div>

Make a text using the text tool then, convert that text into a button, add the actionscript. And you’re done 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 15, 2003, 2:00pm UTC](https://forum.kirupa.com/t/text-based-hyperlinking-in-flash-mx-how/15539/3 "2003-03-15T14:00:12Z")

</div>

> \*Originally posted by lairusi \*  
> \*\*Make a text using the text tool then, convert that text into a button, add the actionscript. And you’re done 🙂 \*\*

I tried that… but the hyperlinking won’t cover all text-area… it will only cover the points of each charactor…and not the whole frame of this text…that’s why I asked for support here…

Thanks lairusi,  
regards!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 15, 2003, 2:03pm UTC](https://forum.kirupa.com/t/text-based-hyperlinking-in-flash-mx-how/15539/4 "2003-03-15T14:03:25Z")

</div>

make a textbox with an instance name ‘myFeild’, and have this actionscript on the timeline  
[AS]myField.htmlText = “\<a href=“[www.kirupa.com](http://www.kirupa.com)”\>Kirupa\</a\>”[/AS] or something like that… and remember to have html rendering enabled…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 15, 2003, 2:14pm UTC](https://forum.kirupa.com/t/text-based-hyperlinking-in-flash-mx-how/15539/5 "2003-03-15T14:14:21Z")

</div>

> \*Originally posted by ahmed \*  
> \*\*make a textbox with an instance name ‘myFeild’, and have this actionscript on the timeline  
> [AS]myField.htmlText = “\<a href="www.kirupa.com"\>Kirupa\</a\>”[/AS] or something like that \*\*

HTML rendering, ehm… I was forgetting that!  
I appreciate your kind help, it works finally! is this way I can add any html tags to flash? 😉

Thanks ahmed,  
Regards!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 15, 2003, 2:24pm UTC](https://forum.kirupa.com/t/text-based-hyperlinking-in-flash-mx-how/15539/6 "2003-03-15T14:24:01Z")

</div>

It outputs this " Kirupa" as a link…but still the “a” charactor isn’t affected with hyperlinking… and only “kirup” is affected!

why? i wonder…

thanks!  
regards

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 15, 2003, 2:29pm UTC](https://forum.kirupa.com/t/text-based-hyperlinking-in-flash-mx-how/15539/7 "2003-03-15T14:29:38Z")

</div>

eek… i used this line, the same one i posted above, and it works fine… are you sure the field is wide enough to hold ‘kirupa’…  
[AS]myField.htmlText = “\<a href="www.kirupa.com"\>Kirupa\</a\>”[/AS]  
plus, you cant use all html tag

> 

HTML tags and entities supported by Flash (optional tag attributes in brackets):  
\<\*\*a href=“url”\>

\<\*\*b\>  
\<\*\*font [color=“#xxxxxx”] [face=“Type Face”] [size=“Type Size”]\>

\<\*\*I\>  
\<\*\*p [align=“left”|“right”|“center”]\>

\<\*\*u\>  
&\*\*lt; (\<, less-than sign)  
&\*\*gt; (\>, greater-than sign)

&\*\*amp; (&, ampersand)  
&\*\*quot; (", double-quote)  
&\*\*apos; (', apostrophe)
