3 Replies Latest reply on Dec 9, 2015 9:05 AM by kglad

    fl.drawingLayer not working in Flash CC

    Anardhell

      Haw use fl.drawingLayer in JSFL? This example ( http://help.adobe.com/en_US/flash/cs/extend/WS5b3ccc516d4fbf351e63e3d118a9024f3f-7c5bCS5.h tml ) not working in flash CC, but work in CS6 !!

        • 1. Re: fl.drawingLayer not working in Flash CC
          kglad Adobe Community Professional & MVP

          Dropped methods and properties in Flash CC

          The following methods and properties for existing objects are dropped in Flash Professional CC:

          • ActionsPanel.getClassForObject()
          • ActionsPanel.getScriptAssistMode()
          • ActionsPanel.setScriptAssistMode()
          • CompiledClipInstance.actionscript
          • fl.reloadEffects()
          • fl.resetPackagePaths()
          • document.activeEffect
          • document.allowScreens()
          • document.drawingLayer
          • document.importSWF()
          • document.loadCuePointXML()
          • document.packagePaths
          • document.saveAndCompact()
          • document.screenType
          • library.importEmbeddedSWF()
          • SymbolInstance.actionscript
          • 2. Re: fl.drawingLayer not working in Flash CC
            Anardhell Level 1

            document.drawingLayer but not fl.drawingLayer
            drawingLayer could not be completely removed, because it is used for creating a custom tools, like this - ( http://sixsided.org/2013-06-03/ ) OR ( https://creative.adobe.com/addons/products/1911 )


            also if drawingLayer would be completely removed, he would not be defined in the code editor flash CC  -  mi5ZrDp.png

            • 3. Re: fl.drawingLayer not working in Flash CC
              kglad Adobe Community Professional & MVP

              i see your point, but i don't think it's supported.

               

              you can use the document class to draw shapes and lines:

               

              document.addNewLine()

              Adds a new path between two points.

              document.addNewOval()

              Adds a new Oval object in the specified bounding rectangle.

              document.addNewPrimitiveOval()

              Adds a new oval primitive fitting into the specified bounds.

              document.addNewPrimitiveRectangle()

              Adds a new rectangle primitive fitting into the specified bounds.

              document.addNewPublishProfile(