Blank screen trouble

Hi, i’ve only just started and already in trouble :slight_smile:

background = display.newImage( “rainbow dots42.jpg”, 20,20)
myText = display.newText( “ORGANISATION, MANIAC”, 85, 425, native.systemFont, 50 )
myText:setTextColor( 255,255,0 )
myText.yScale = 1.0
myText.rotation = 90

doesn’t work, it shows a blank screen that is the colour of the text, I’ve tried looking at tutorials but I couldn’t find the info.
Any suggestions please?
Thanks

Flipflap [import]uid: 86833 topic_id: 14616 reply_id: 314616[/import]

background = display.newImage( "rainbow dots42.jpg") [import]uid: 84637 topic_id: 14616 reply_id: 54054[/import]

Im sorry but the command does not seem to work, I don’t know why, but thank you. [import]uid: 86833 topic_id: 14616 reply_id: 54056[/import]

Check if the file exist, or maybe remove the space and try:

background = display.newImage( "rainbowdots42.jpg")  

[import]uid: 50459 topic_id: 14616 reply_id: 54065[/import]

@danny,
The command with the x, y co-ordinates works fine too, why would you want to call it without the co-ordinates? It would help to position it the first time.

However the first time when you position the image, it is TopLeft bu the next time you access it, the referencePoint is Center.

cheers,

?:slight_smile: [import]uid: 3826 topic_id: 14616 reply_id: 54126[/import]

I read wrong thats why :stuck_out_tongue:

My appologies [import]uid: 84637 topic_id: 14616 reply_id: 54192[/import]

Thank you, and just a question, as I’ve made a folder for this project I’ve also added the picture inside, anything wrong? as the simulator can’t find the picture. Otherwise everything’s perfectly fine with help from you guys, which I really appreciate. [import]uid: 86833 topic_id: 14616 reply_id: 54292[/import]

Can you provide a little more info?

Are you using Corona Project Manager? [import]uid: 84637 topic_id: 14616 reply_id: 54323[/import]

Im using notepad ++ to write then loading the file on to Corona Simulator [import]uid: 86833 topic_id: 14616 reply_id: 54435[/import]

The last thing to check (if your still having the issue) is to make sure the filename is exactly :

rainbowdots42.jpg

[import]uid: 84637 topic_id: 14616 reply_id: 54436[/import]

Thank you [import]uid: 86833 topic_id: 14616 reply_id: 54439[/import]

i’ve had a look at some more tutorials and it’s ended up that corona had found the image, it’s just it could not show it as the picture had a too high res. I’ve finally fixed the problem but i do thank you guys! [import]uid: 86833 topic_id: 14616 reply_id: 54444[/import]