Images not in standalone

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
bobosquish
Posts: 9
Joined: Tue Dec 08, 2009 9:51 pm

Images not in standalone

Post by bobosquish » Sun Dec 20, 2009 12:03 am

This seems to be a common problem as I've seen in other posts, so I believe there is some bug that needs to be addressed. I started off using revMedia and somehow resolved this problem. I'm now using Studio and can't seem to resolve it. Here is the situation:

I have a png image in my image library (I can see it, place it on a card, etc). The stack works great in the IDE. When I create the standalone the image is a grey box. What is the solution?

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Re: Images not in standalone

Post by BvG » Sun Dec 20, 2009 3:12 pm

the solution is to not use the image library.

Images are either stored on the hard disk, or in a stack. If the image is stored in some stack of the ide, and you build a standalone, then the image is not available to the standalone. if you do not want to deal with filepath issues, i suggest to always choose the following menu item in the stack you want to use an image:

file -> import as control -> image file


the reason lost images crop up all the time is because it's a bit tricky to understand all the filepath and inheritage rules of rev image referencing. the image library is just not easy to understand when unsure about those concepts, and i never use it just because of that.
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

hamlynart
Posts: 101
Joined: Wed Mar 19, 2008 7:10 pm
Contact:

Re: Images not in standalone

Post by hamlynart » Mon Dec 21, 2009 6:10 pm

Hi,

Here's a thread which might help. It's a bit long but it'll certainly clarify things for you I think.

http://forums.runrev.com/phpBB2/viewtop ... f=8&t=3545

Best

Jim H

Post Reply