Extending css parsing

I’ve been looking at this code below to extend the parsing capibilities of flash.( The oringinal is found at http://www.abdulqabiz.com/blog/archives/flash_and_actionscript/000065.php) along with fla and style sheet.

I’ve been trying to define a way of declaring a string with in a property in a css sheet IE .

p{
name:String;
}

will this enable me to do it as so far i have been having no luck

import TextField.StyleSheet;

class StyleSheetEx extends TextField.StyleSheet {
  
  // override the transform method
  function transform(style:Object):TextFormat {
	var _fmt:TextFormat = super.transform(style);
	for (var z in style) {
      if (z == "leading") {
        _fmt.leading = style[z];
		delete style[z];
        break;
      }
    }
	for(var i in _fmt) {
		trace(i + " : " + _fmt*);
	}
   	return _fmt;
  }
}
// end class definition

Else is there another way of writing a superclass to enhance what flash looks for the the parsing of a style sheet

Thanks
Shane