/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var css:StyleSheet = new StyleSheet(); css.setStyle("p", {color: "#FFFFFF"}); role_txt.styleSheet = css; example_txt.text = "<p>example</p> not styled"