Hi there,
A curious one .. I've imported a PNG file to mark a button on Mouse Over (hover) which works fine in the 'Run' environment during development. I imported the image into the image library and yes, there it is, I can see it.
Problem is, when the app is built, the image doesn't show on either Mac or Windows. I've followed the instructions to the letter. Building on a Mac with 10.5.5
Any thoughts?
Hover icon
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Hover icon
The underlying purpose of Al is to allow wealth to access skill
while removing from the skilled the ability to access wealth.
while removing from the skilled the ability to access wealth.
RE: Hover icon
dalkin,
Make sure you import the image file to the stack, not just reference it from the library. The library doesn't get included when you create a standalone. This is how I always do it, and it's very reliable:
- Import the image file to the stack (File > Import as Control)
- Note the imported image's ID and hide it.
- Set the appropriate icon property of the button to the ID of the imported image.
This should be 100% reliable.
If I have lots of icon images, I'll sometimes include them in a library stack, which I include in the standalone. You just have to make sure you 'start using stack "library stack name" ' when you open your standalone stack.
HTH
Devin
Make sure you import the image file to the stack, not just reference it from the library. The library doesn't get included when you create a standalone. This is how I always do it, and it's very reliable:
- Import the image file to the stack (File > Import as Control)
- Note the imported image's ID and hide it.
- Set the appropriate icon property of the button to the ID of the imported image.
This should be 100% reliable.
If I have lots of icon images, I'll sometimes include them in a library stack, which I include in the standalone. You just have to make sure you 'start using stack "library stack name" ' when you open your standalone stack.
HTH
Devin
Devin Asay
Learn to code with LiveCode University
https://livecode.com/store/education/
Learn to code with LiveCode University
https://livecode.com/store/education/