Problem with the basic function display.newImage()

Hey Guys

Just now started using the Corona

Am having a basic problem

myText = display.newText("Hello World!", 100, 300, native.systemFont, 48)  
background = display.newImage("basketball.png")  

The program is able to show the text no problem there.
But in reference to the image am only able to see a red square in place of the image.

Is there something wrong with the installation.
Already installed the SSL & the VC++ packages as mentioned.

Any help will be appreciated
Even when i tried the first code from the sample - fishes got the following error on the terminal
display.setStatusBarMode() not supported in the simulator for the current device.
Already tried viewing the device as all the 4 available phones / tablets - but got the same error message.

Thanks!
[import]uid: 36029 topic_id: 6276 reply_id: 306276[/import]

Is this for Android or iPhone?

One thing to check for are you file paths. Make sure the picture is either in the same directory or folder as your main.lua file (or from where ever you call the file). [import]uid: 8045 topic_id: 6276 reply_id: 21659[/import]

Also you can safely ignore that ‘error’. [import]uid: 23949 topic_id: 6276 reply_id: 21792[/import]

its just been like a day i have tried this software…

luna : i am trying on the simulator… on my Vista Computer

programmer : the main problem is that i can only see squares instead of the images (png / jpeg files)

cant find why the display is not properly working

Update - i even think that Open SSL has not been properly installed on my computer - installer simply hangs in the end. [import]uid: 36029 topic_id: 6276 reply_id: 21882[/import]

Hard to say without seeing more code. Do the sample apps that display images work? Have you checked your image file is ok? Have you tried another image in place of it? Do you have physics debug mode on? [import]uid: 23949 topic_id: 6276 reply_id: 21886[/import]

none of the sample codes work properly… same thing… everything is a green box or a rectangle… without texture…

and i have only used 2 lines of code as mentioned in the first part

myText = display.newText("Hello World!", 100, 300, native.systemFont, 48) background = display.newImage("basketball.png") [import]uid: 36029 topic_id: 6276 reply_id: 21888[/import]

I’m having the same problem! Anyone with a solution already? [import]uid: 41997 topic_id: 6276 reply_id: 26892[/import]

I believe the simulator requires an OpenGL 1.3 or above video card. While most all modern cards support this, the OpenGL drivers are not installed by default in Vista or Windows 7. Just download and install the current drivers from NVidia or ATI and this will solve most of the problems I see described here. [import]uid: 5742 topic_id: 6276 reply_id: 26906[/import]