String thisAttrib = null;
IDefinition propertyDefinition = ((FlexProject)project).resolveProperty(type, attribName);
if (propertyDefinition != null) //is it a property?
{
ITypeDefinition propertyType = propertyDefinition.resolveType(project);
if (propertyType.isInstanceOf(stringType, project)
|| propertyType == objectType
|| propertyType == anyType)
{
thisAttrib = attribName + " = \"" + attribValue + "\"";