2 Replies Latest reply on Aug 14, 2012 6:09 PM by mamning80

    NativeApplication.nativeApplication.copy,cut,paste exec failed problem

    mamning80

      I am using <mx:HTML id="content" width="100%" height="100%" location="{kindEditorLocalPath}"/> in the mx:WindowedApplication .

      mx:WindowedApplication is blue part, and mx:HTML is yellow part, and location="{kindEditorLocalPath}" is green part.

      Green part is a wysiwyg  js Editor and it named kindEditor.

      未命名2.JPG

      When I use "copy", "cut", "paste" command in the editor,

      it calls NativeApplication.nativeApplication's "copy", "cut", "paste" ,

      and is works well,

      and "copy", "cut", "paste" function  return true.

      未命名.JPG

       

      But when i use "cut" button in the air "mx:WindowedApplication",

      it calls NativeApplication.nativeApplication's "cut" ,

      and is works failed,

      and "cut" function return false.

      未命名1.JPG

       

      My question is how to use air button to call "copy", "cut", "paste" command to deal the js editor's content.