final JSAttributeList attributeList = mainClass == null ? null : mainClass.getAttributeList();
swfMetadataRef.set(attributeList == null ? null : attributeList.findAttributeByName("SWF"));
}
final JSAttribute swfMetadata = swfMetadataRef.isNull() ? null : swfMetadataRef.get();
final JSAttributeNameValuePair titleAttr = swfMetadata == null ? null : swfMetadata.getValueByName("pageTitle");
<BUG>final String title = titleAttr != null ? titleAttr.getSimpleValue() : outputFileName;
</BUG>
final JSAttributeNameValuePair bgColorAttr = swfMetadata == null ? null : swfMetadata.getValueByName("backgroundColor");
<BUG>final String bgColor = bgColorAttr != null ? bgColorAttr.getSimpleValue() : "#ffffff";
</BUG>
final JSAttributeNameValuePair widthAttr = swfMetadata == null ? null : swfMetadata.getValueByName("width");

final JSAttributeList attributeList = mainClass == null ? null : mainClass.getAttributeList();
swfMetadataRef.set(attributeList == null ? null : attributeList.findAttributeByName("SWF"));
}
final JSAttribute swfMetadata = swfMetadataRef.isNull() ? null : swfMetadataRef.get();
final JSAttributeNameValuePair titleAttr = swfMetadata == null ? null : swfMetadata.getValueByName("pageTitle");
final String title = titleAttr != null ? StringUtil.notNullize(titleAttr.getSimpleValue(), outputFileName) : outputFileName;
final JSAttributeNameValuePair bgColorAttr = swfMetadata == null ? null : swfMetadata.getValueByName("backgroundColor");
final String bgColor = bgColorAttr != null ? StringUtil.notNullize(bgColorAttr.getSimpleValue(), "#ffffff") : "#ffffff";
