 		{
 			var name:String = 'editable';
 			if (_flashVars.hasOwnProperty(name))
-				return StandardLib.asBoolean(_flashVars[name] as String);
+				return StandardLib.asBoolean(_flashVars[name]);
 			return undefined;
 		}
 		

	import flash.net.FileReference;
	import flash.net.SharedObject;
	import flash.net.URLRequest;
	import flash.net.URLVariables;
	import flash.net.navigateToURL;
	import flash.system.Capabilities;
	import flash.ui.ContextMenu;

		
		private function handleFlashVarPresentation():void
		{
			var presentationMode:Boolean = StandardLib.asBoolean(_flashVars['presentation']);
			Weave.history.enableLogging.value = !presentationMode;
		}
		
