2 Replies Latest reply on Dec 10, 2010 9:22 AM by Emanuele Radaelli

    Annoying bug...

    Emanuele Radaelli Level 1

      Trying to get Character contents from an InDesign text:


      for(var a:uint = 0; a < myParagraph.characters.length; a++){

           var myCharacter:Object = myParagraph.characters.item(a).contents;



      Obviously this simple routine works correctly in ETK and returns the character or the special character enumerator (eg. FORCED_LINE_BREAK etc...).

      In FlexBuilder when character is a special character I got this error:

      "In wrapReturnedHostObject(), attempted invalid wrap: com.adobe.indesign::Enumerator returned as Object"


      It lloks like there's no way to solve this, since it is a bug.

      Any suggested workaround?