1 Reply Latest reply on Dec 18, 2009 10:44 AM by Flex harUI

    Need help with System.setClipboard error

    jeff.johnson

      SDK version: 3.3.0.4589

       

      Requires flash 10.0.12 or higher

       

      Code:

       

      private function sendTextToClipboard():void

      {

           System.setClipboard("User Name: " + uname + "\n" + "Password: " + pword);

      }

       

      I am using the System.setClipboard function in my application and have incountered an interesting problem.

      When the call is made on a windows box (XP and Vista) IE crashes.

       

      The following is the Vista IE error that is being thrown:

       

      Problem signature:

      Problem Event Name: APPCRASH

      Application Name: iexplore.exe

      Application Version: 8.0.6001.18865

      Application Timestamp: 4b077416

      Fault Module Name: Flash10c.ocx

      Fault Module Version: 10.0.32.18

      Fault Module Timestamp: 4a613d79

      Exception Code: c0000005

      Exception Offset: 0016f1f2

      OS Version: 6.0.6002.2.2.0.256.6

      Locale ID: 1033

      Additional Information 1: fd00

      Additional Information 2: ea6f5fe8924aaa756324d57f87834160

      Additional Information 3: fd00

      Additional Information 4: ea6f5fe8924aaa756324d57f87834160

       

      The following is the XP SP3 IE error:

       

      Internet Explorer has encountered a problem with an add-on and needs to close.

       

      The following add-on was running when this problem occured:

       

      File:    FlDbg10b.ocx

       

       

      iexplore.exe - Application Error

       

      The instruction "0x052bee0e" referenced memory at "0x00000018".  The memory could not be read.

       

       

      Any help would be greatly apprieciated.