 	
 	
 	/// If this is an event item, the event that contains it. Returns nil if it is not an event item.
-	public var fcpxEvent: XMLElement? {
+	public var fcpxParentEvent: XMLElement? {
 		get {
 			guard self.isFCPXEventItem == true else { // If this is a clip inside an event
 				return nil

	A recursive function that goes through an element and all its children, finding clips that match the given type.
	
	- parameter elementType: A type of FCPXML element as FCPXMLElementType enumeration.
	- parameter inElement: The NSXMLElement to recursively search.
	
	- returns: An array of matching clips as NSXMLElement instances.
	*/

			if let strokeColor = strokeColor {
				
				textStyleDefTextStyle.setElementAttribute("strokeColor", value: "\(strokeColor.redComponent) \(strokeColor.greenComponent) \(strokeColor.blueComponent) \(strokeColor.alphaComponent)")
				textStyleDefTextStyle.setElementAttribute("strokeWidth", value: String(strokeWidth))
			}
			
			if let shadowColor = shadowColor {
				
				textStyleDefTextStyle.setElementAttribute("shadowColor", value: "\(shadowColor.redComponent) \(shadowColor.greenComponent) \(shadowColor.blueComponent) \(shadowColor.alphaComponent)")
				textStyleDefTextStyle.setElementAttribute("shadowOffset", value: "\(shadowDistance) \(shadowAngle)")
				textStyleDefTextStyle.setElementAttribute("shadowBlurRadius", value: String(shadowBlurRadius))
			}
