Does anybody know how to scale a remote image? I’ve done this to get the image:
[lua]day1WeatherIcon = display.loadRemoteImage(day1WeatherIconURL, “GET”, self, “Day 1 Weather Icon”, system.TemporaryDirectory, 25, screenHeight-50)[/lua]
I’ve then tried both day1WeatherIcon:scale(.5, .5) as well as day1WeatherIcon.xScale = .5 and get an error each time.
[text]
Runtime error
…Corona Projects/My Projects/Redneck Weather/main.lua:212: attempt to index global ‘day1WeatherIcon’ (a nil value)
stack traceback:
[C]: ?
…Corona Projects/My Projects/Redneck Weather/main.lua:212: in function <…corona projects weather>
[/text]
Using build 767, but don’t think it’s build specific. Any ideas?
Thanks! [import]uid: 64538 topic_id: 23593 reply_id: 323593[/import] </…corona>