Gradient changes due to migration to Graphic 2.0

Previously, prior to Dec 2013, we use gradient in corona sdk as below: However, latest update have deprecated the graphics.newGradient. More info can be found here at: http://docs.coronalabs.com/guide/graphics/migration_g20.html#TOC Your Corona SDK will give you the following warning when you try to run the old code. gradient So, use this for now: