5 Replies Latest reply: Apr 20, 2012 11:22 PM by 1901rob RSS

    Having trouble with drawWithQuality

    Tinestram Community Member

      Using Flash CS5.5 with the SDK overlay. drawWithQuality comes up in code view no problem and it compiles fine, but at runtime I get:

       

      "ReferenceError: Error #1069: Property drawWithQuality not found on flash.display.BitmapData and there is no default value."

       

      Any ideas would be appreciated!

        • 1. Re: Having trouble with drawWithQuality
          cnuuja Adobe Employee

          publishing for swf version 15?

          • 2. Re: Having trouble with drawWithQuality
            1901rob

            I am getting the same issue with flash cs5.5

            tried swf version 15 and 16 with 3.3 sdk and these overlay instructions http://www.flashdeveloper.co/post/20583114199/air32-in-flash-cs-55

             

            ADL:

             

            ReferenceError: Error #1069: Property drawWithQuality not found on flash.display.BitmapData and there is no default value.

                at Untitled_fla::MainTimeline/frame1()[Untitled_fla.MainTimeline::frame1:8]

                at runtime::ContentPlayer/loadInitialContent()

                at runtime::ContentPlayer/playRawContent()

                at runtime::ContentPlayer/playContent()

                at runtime::AppRunner/run()

                at ADLAppEntry/run()

                at global/runtime::ADLEntry()

             

             

            android device (3.3 runtime installed):

             

            ReferenceError: Error #1069: Property drawWithQuality not found on flash.display.BitmapData and there is no default value.

                at Untitled_fla::MainTimeline/frame1()[Untitled_fla.MainTimeline::frame1:8]

                at runtime::ContentPlayer/loadInitialContent()

                at runtime::ContentPlayer/playRawContent()

                at runtime::ContentPlayer/playContent()

                at runtime::AppRunner/run()

                at AppEntryCommon/run()

                at global/runtime::AndroidMobileDeviceAppEntry()

            • 3. Re: Having trouble with drawWithQuality
              mkagita Adobe Employee

              Did you set the namespace to 3.3 in application xml?

              • 4. Re: Having trouble with drawWithQuality
                Tanya Parkhomovsky Community Member

                Please make sure that SWF version is 16, and namespace is set to 3.3. Did you replace airglobal.swc with the one found in AIR SDK 3.3?

                • 5. Re: Having trouble with drawWithQuality
                  1901rob Community Member

                  Ok, well it works now!

                   

                  Error on my part I suppose.

                   

                  swf version 16, 3.3 namespace, airglobal.swc replaced, it was showing the code hints, but not compiling. Same with the new BMD.encode()

                   

                  I simply deleted the Air 2.6 folder and did the procedure again and it works now.

                   

                  Maybe something was write protected and didn't copy over the first time when replacing the AIR2.6 folder, or maybe I made a mistake somewhere.

                   

                  Thanks for your help, and a great feature!!!