Internal CSS Style


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. var css:StyleSheet = new StyleSheet();
  2. css.setStyle("p", {color: "#FFFFFF"});
  3. role_txt.styleSheet = css;
  4. example_txt.text = "<p>example</p> not styled"

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.