fadeIn not working?

local arrow = display.newImage( "1.png" ) arrow.x = display.contentWidth / 2 arrow.y = display.contentHeight/ 2 arrow.width = 100; arrow.height = 100; --transition.to( arrow, { delay=1, time=10000, alpha=0.0, alpha=1.0} ) transition.fadeIn( arrow, {time=1000} )

But this code is not working.

Where have i done the mistake?

Does Corona supports other programming language (c,c++,c# style)?

Thanks

  1. One question per post is better, but “No,”  only Lua for the scripting.

  2. Here is how to fade in:

    local arrow = display.newImage( “1.png” ) arrow.x = display.contentWidth / 2 arrow.y = display.contentHeight/ 2 arrow.width = 100; arrow.height = 100; arrow.alpha = 0 transition.to( arrow, { delay = 1000, time = 10000, alpha = 1} )

  1. One question per post is better, but “No,”  only Lua for the scripting.

  2. Here is how to fade in:

    local arrow = display.newImage( “1.png” ) arrow.x = display.contentWidth / 2 arrow.y = display.contentHeight/ 2 arrow.width = 100; arrow.height = 100; arrow.alpha = 0 transition.to( arrow, { delay = 1000, time = 10000, alpha = 1} )