flash actionscript:
I need help. I have a xml tree menu that was listed in the help. It works great! NOW...I would LOVE to find a way to embed fonts..change the font size.... and change the background. I have gone into the 'First Run' files, but I am confused as to how to implement these changes. Please help. Thank you, Emma
ok...so I figured that part out!!! BUT the wordwrap does not work. I have used _width..but it affects the entire textarea... thank you for your help, Emma myStyle=TextField.StyleSheet; with(myStyle) { fontFamily="SF Ironsides"; fontSize=15; color=0x66633; bold=false; italic=false; multiline=true; wordWrap=true; html = true embedFonts=true; } myTreeDP.setNewTextFormat(myStyle);
filter through it and that is what will work... myStyle=TextField.StyleSheet; with(myStyle) { fontFamily="SF Ironsides"; fontSize=15; color=0xFF7A25; bold=false; italic=false; multiline=true; wordWrap=true; html = true embedFonts=true; textWidth=50; } myTree.setNewTextFormat(myStyle); //init TextArea component myTree.html = true; myTree.label.htmlText=true; myTree.label.wordWrap = true; myTree.label.multiline = true; myTree.label.width = 80; //myTree.depthChild0._alpha=0 myTree.setStyle("backgroundColor","0x000000"); myTree.setStyle("borderStyle","none"); myTree.setStyle("rollOverColor",""); myTree.setStyle("textRollOverColor","0xF7AE30"); myTree.setStyle("textSelectedColor","0xC08E3E"); myTree.setStyle("selectionColor","none"); myTree._alpha=65; myTree.setStyle("borderColor","0x21100D"); myTree.setStyle("highlightColor","0x21100D");
Don't see what you're looking for? Try a search.
|