# Stylesheet Problem in my project

**URL:** <https://forum.kirupa.com/t/stylesheet-problem-in-my-project/300995>\
**Category:** flash\
**Created:** [December 2, 2009, 6:17am UTC](https://forum.kirupa.com/t/stylesheet-problem-in-my-project/300995 "2009-12-02T06:17:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vjn\_23](https://avatars.discourse-cdn.com/v4/letter/v/9de0a6/32.png) [@vjn\_23](https://forum.kirupa.com/u/vjn_23)\
**Post date:** [December 2, 2009, 6:17am UTC](https://forum.kirupa.com/t/stylesheet-problem-in-my-project/300995/1 "2009-12-02T06:17:13Z")

</div>

Hi Friends,

i have problem in my flash styleSheet. i add this script,  
import TextField.StyleSheet;  
var myStylesheet:TextField.StyleSheet = new TextField.StyleSheet();  
myStylesheet.setStyle(“a:link”,{color:"#990000", fontSize:“12px”, textDecoration:“underline”});  
myStylesheet.setStyle(“a:hover”,{color:"#FF0000", fontSize:“12px”, textDecoration:“underline”});  
var id:Number = this.getNextHighestDepth();  
var field1:TextField = this.createTextField(“field”+id, id, 20, 20, 300, 150);  
field1.wordWrap = true;  
field1.multiline = true;  
field1.html = true;  
field1.border = true;  
field1.styleSheet = myStylesheet;  
field1.htmlText = “\<a href=’[www.google.com](http://www.google.com)’\>This is a link with a hover state!\</a\> This is some more text, just to see how it looks.”;

but its not display(output). what can i do for solve this problem…

Vijayan M
