# Css question (easy, I hope) \[AS 3\]

**URL:** https://forum.kirupa.com/t/css-question-easy-i-hope-as-3/302590
**Category:** Uncategorized
**Created:** [January 4, 2010, 1:03am UTC](https://forum.kirupa.com/t/css-question-easy-i-hope-as-3/302590 "2010-01-04T01:03:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tristessa](https://avatars.discourse-cdn.com/v4/letter/t/a88e4f/32.png) [@tristessa](https://forum.kirupa.com/u/tristessa)
#### Post date: [January 4, 2010, 1:03am UTC](https://forum.kirupa.com/t/css-question-easy-i-hope-as-3/302590/1 "2010-01-04T01:03:07Z")

</div>

Greetings, first things first, happy new year reader, have a good & healthy 2010.

Heres my issue:

```auto

var mytext:String = "<a href='http://google.com'>nice name url google.com</a>";
var css:StyleSheet = new StyleSheet();
css.parseCSS ("a:link{text-decoration:underline}");
css.parseCSS ("a:hover{text-decoration:none; color:#FF3300}");
tf.htmlText = mytext;
tf.styleSheet = css;

```

my css works, and the url is clickable.

Yet!  
When I load in the text from a dynamic file(which is nothing more than a txt file) so my htmltext = e.target.data) aka all pretty standard stuff.  
The txt file contains full valid css markup and perfectly works as in color, underline, headers, etc etc…  
**but NO link opens when i try to click on it.**  
I can click it, hover it, but no link opens in my browser.

I immediately thought that my loaded result is an object , so I tried to parse it out as a string, but even that doesn’t make my url clickable & fully working either, then I didn’t know anymore what I could possibly do to make it work.

Even better:  
I do exactly the same in AS 2 and guess what? Everything works fine. static/dynamic text.

Does anyone knows whats going on?  
I’ve searched the web, but i didn’t find a solution.  
:jail:

thank you.
