Hi all im tring to write a button that changes the format of a textbox from normal to italic and back again. I have written the below code but i cannot seam to get it to work!
var formatter:TextFormat = new TextFormat(); if (formatter.italic == false) { formatter.italic = true; } else { formatter.italic = false; } _selectedBox.setTextFormat(formatter); So my question is how do i read the properties of a textbox in order to create an if statment to change the properties? SM _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders