CSS In Flash: How to recognize strong tag


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



Copy this code and paste it in your HTML
  1. var css:TextField.StyleSheet = new TextField.StyleSheet();
  2. css.setStyle("strong", {fontWeight:"bold"});
  3. css.setStyle("somethingElse", {color:"#17829B", fontStyle:"italic"});
  4. myTextField.styleSheet = css;

URL: http://www.bigresource.com/Tracker/Track-flash-eazBKRTId3/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.