6 Replies Latest reply on Feb 29, 2012 12:20 PM by patgeiger

    -webkit-linear-gradient not working with Adobe Air 3.0

    zeeejy

      Hi -

       

      I recently downloaded Adobe Air 3.0 after reading that gradients are now supported (http://www.adobe.com/devnet/air/ajax/articles/air_and_webkit.html), but I have not been able to successfully implement them. For example, I have the following CSS class defined:

       

      .gradient_test {

           background-image: -webkit-linear-gradient(#68AB34, #3D721B);

           padding: 5px;

           color: #FFF;

      }

       

      This should (and does in Chrome, Safari, etc) create a linear gradient going from light to dark green. But in Air it just appears as if no background has been applied to the selector. Am I missing some unique way to be able to apply gradients in Adobe Air 3.0?

       

      Thanks,

       

      Zach