0 Replies Latest reply on Mar 15, 2015 4:35 AM by amjadyahya

    New VideoTexture class can't be found

    amjadyahya

      Hello,

       

      I have been waiting for the videoTexture class for a long time and now it's been included with the new release of Air 17 sdk, but unfortunately I can't get it to work in my small test project. I read the release notes to find an answer for my issue with no luck at all, my problem is that Air 17 runtime can't find VideoTexture class and throws this error: VerifyError: Error #1014: Class flash.display3D.textures::VideoTexture could not be found.

       

      It's really a simple project with 1 line only using Flasg Builder

       

      package

      {

           import flash.desktop.NativeApplication;

          import flash.display.Sprite;

          import flash.display3D.textures.VideoTexture;

         

          public class videoTextureTest extends Sprite

          {

              public function videoTextureTest()

              {

                  trace("version="+NativeApplication.nativeApplication.runtimeVersion);

                  var v:VideoTexture;

              }

          }

      }

       

      My working environment:

       

      - iMac late 2013 with OSX 10.9 maverick 64-bit, 8GB RAM, 2.7 GHz Intel core i5, video card: Intel Iris Pro 1MB

      - Flash Builder 4.6

      - Desktop project

      - Air 17.0.0.124 (flex developers) with Flex 4.6 merged

      - swf-version=28 Compiler argument is set

      - added <renderMode>direct</renderMode> in my xml discriptor

       

      I have checked the runtime version with trace output, it's 17.0.0.124

      I also ran a mobile version on my ipad mini 2 late 2013, same result: VideoTexture is no where to be found

       

      Please help and thank you in advance