Index: /CKEditor/branches/features/adobeair/_source/plugins/adobeair/plugin.js
===================================================================
--- /CKEditor/branches/features/adobeair/_source/plugins/adobeair/plugin.js	(revision 6157)
+++ /CKEditor/branches/features/adobeair/_source/plugins/adobeair/plugin.js	(revision 6158)
@@ -106,6 +106,11 @@
 				{
 					convertInlineHandlers( editor.container );
-					editor.sharedtop && convertInlineHandlers( editor.sharedtop );
-					editor.sharedbottom && convertInlineHandlers( editor.sharedbottom );
+
+					if ( editor.sharedSpaces )
+					{
+						for ( var space in editor.sharedSpaces )
+							convertInlineHandlers( editor.sharedSpaces[ space ] );
+					}
+
 					editor.on( 'elementsPathUpdate', function( evt ) { convertInlineHandlers( evt.data ); } );
 				});
Index: /CKEditor/branches/features/adobeair/_source/themes/default/theme.js
===================================================================
--- /CKEditor/branches/features/adobeair/_source/themes/default/theme.js	(revision 6157)
+++ /CKEditor/branches/features/adobeair/_source/themes/default/theme.js	(revision 6158)
@@ -46,5 +46,7 @@
 			container = mainContainer.getChild( [0,0,0,0] );
 
-			editor[ 'shared' + spaceName ] = container;
+			// Save a reference to the shared space container.
+			!editor.sharedSpaces && ( editor.sharedSpaces = {} );
+			editor.sharedSpaces[ spaceName ] = container;
 
 			// When the editor gets focus, we show the space container, hiding others.
