 				case ClosedCaptionsNotifications.LOAD_EMBEDDED_CAPTIONS:
 					onTextData(note.getBody());
 					break;
+			}
+		}
+		
+		private function saveToSO(langKey:String):void {
+			if (_flashvars.allowCookies=="true" && langKey )
+			{
+				try
+				{
+					var sharedObj : SharedObject = SharedObject.getLocal("Kaltura_CC_SO");
+					sharedObj.data.language = langKey;
+					sharedObj.flush();
+				}
+				catch (e : Error)
+				{
+					sendNotification( NotificationType.ALERT, {message: "Application is unable to access your file system.", title: "Error saving localized settings"} );
+				}
 			}
 		}
 		

								switchActiveCCFile( ccObj );
							}
							
							if (_flashvars.allowCookies=="true" && ccObj.language )
							{
								try
								{
									var sharedObj : SharedObject = SharedObject.getLocal("Kaltura_CC_SO");
									sharedObj.data.language = ccObj.language;
									sharedObj.flush();
								}
								catch (e : Error)
								{
									sendNotification( NotificationType.ALERT, {message: "Application is unable to access your file system.", title: "Error saving localized settings"} );
								}
							}
							
							break;
						}

				
				_closedCaptionsDefs.availableCCFilesLabels.addItemAt( selectNone , 0 );
				
				if (_closedCaptionsDefs.defaultLanguageKey==_closedCaptionsDefs.noneString || preferredLang==_closedCaptionsDefs.noneString)
				{
					_closedCaptionsDefs.currentCCFileIndex = 0;
					(viewComponent as ClosedCaptions).visible = false;
