Assign relations to function keys
[potlatch2.git] / net / systemeD / potlatch2 / FunctionKeyManager.as
index 511f5c63bfcfc57e10ad773c59deb304657cd1c7..f3ab21500e6517408d0a24f75fa6dbf64507a387 100644 (file)
@@ -44,7 +44,7 @@ package net.systemeD.potlatch2 {
                        keys[fkey]={ code:code, value:value };
                        var obj:SharedObject=SharedObject.getLocal("user_state","/");
                        obj.setProperty('F'+fkey,{ code:code, value:value });
-                       try { obj.flush(); } catch (e:Error) {}
+                       try { obj.flush(); } catch (e:Error) { trace("Error: "+e.toString()); }
                        dispatchEvent(new Event("key_changed"));
                }