0 Replies Latest reply: Oct 7, 2013 8:18 PM by onneponne RSS

    addItem() -> "Embedding OLE objects is unsupported"

    onneponne Community Member

      Whan adding (imported) bitmap items from library to scene this is shown in the output: "Embedding OLE objects is unsupported. Use File->Import to import media.". The adding is done using jsfl. It worked fine in CS6, but in CC it does not.

       

      This is the code used:

       


      var itemIndex = fl.getDocumentDOM().library.findItemIndex("assets/"+ imagename);

      var theItem = fl.getDocumentDOM().library.items[itemIndex];

      fl.getDocumentDOM().addItem({x:0,y:0}, theItem);