Losing background image

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ukimiku
Posts: 101
Joined: Thu Oct 22, 2009 10:45 am

Losing background image

Post by ukimiku » Wed Nov 04, 2009 2:15 pm

Hi all,

when I have RunRev (v3.5) build a standalone, both the stack in the IDE and the standalone app lose the background image (imported as a control, assigned to the background of the stack via the property inspector, "colors & patterns". In the standalone settings dialog, I order RunRev to include a couple of small .png images. In the folder with the standalone app, these images suddently appear as having a file size of "0 KB".

Strangely, also the stack in the Runtime development environment loses its background image after a standalone build. It becomes grey with some stripes in it. The standalone app gets bigger and bigger every time I reload the background image in RunRev and try to build another app.

What's going on?

Any help is appreciated!

Regards

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4172
Joined: Sun Jan 07, 2007 9:12 pm

Post by bn » Wed Nov 04, 2009 5:14 pm

ukimuki,
I tried to build a standalon with a stack that had its background image set. It worked. I am using a Intel Mac system 10.5.8. Rev Studio 4.0 dp4
What are you using?
Did you leave the imported image in the stack? I think this is important.
You did not import the image as referenced control? Then when building a standalone it would be lost, because the reference does not work anymore.
Other than that I have no idea as to why the background picture does not show up.
As to why the png files have a filesize of 0 I dont know,

regards
Bernd

ukimiku
Posts: 101
Joined: Thu Oct 22, 2009 10:45 am

Post by ukimiku » Wed Nov 04, 2009 8:00 pm

Hi Bernd,

thanks for thinking with me!

I am using Rev Studio v3.5.0, Build 870. I think my mistake might have been to delete the imported image once I had it set as a background image. I think I thought I didn't need another copy of that image floating around. After your message, I left the image in the stack and made it invisible, and now it worked. Strangely, the .png images did not cause any trouble anymore. So it seems your advice solved all my problems :)

Thanks!

Regards

Post Reply