Page 1 of 1

Question on skinned button

Posted: Mon Aug 02, 2010 9:13 pm
by matt
I followed the Rev tutorial on skinning buttons, and it seems to work perfectly until I save a standalone. When I load the standalone (Mac version) the graphic is replaced by a gray box. Although the button works properly, the image isn't displayed at all. I checked the ID on the image on my graphics stack, and it matches the graphic I've selected on the transparent button's icon & hilite icon selections within the property inspector. Has anyone else come across the problem? I didn't see mention of it in the forum, and as far as I can tell I followed the tutorial exactly. Thanks!

Re: Question on skinned button

Posted: Mon Aug 02, 2010 10:43 pm
by Curry
Check that image is indeed included in standalone...

Image from Rev icon library: Check standalone inclusions. Other image: Imported in stack or set to a filepath? Graphics stack: Included in your build and open?

Re: Question on skinned button

Posted: Tue Aug 03, 2010 12:34 am
by matt
Other image: Imported in stack or set to a filepath?
Thanks! I browsed for the image again on my image card, and then reset the icon & background properties of the button in question. Now it is working correctly.

Re: Question on skinned button

Posted: Fri Aug 06, 2010 1:59 am
by matt
I think I spoke too soon. It is working correctly on the Mac standalone only, but the Windows standalone doesn't display the png file. Instead I see a black box on the Windows standalone instead of the png file. Has anyone else experienced this? Thanks for your help, again.

Re: Question on skinned button

Posted: Fri Aug 06, 2010 2:08 am
by Curry
When you say browsed for the image again, do you mean the image is set to an external file?

If so, try importing the image directly into your stack.

Re: Question on skinned button

Posted: Fri Aug 06, 2010 10:02 pm
by matt
Hi Curry, thanks for your help on this issue. I missing something, I guess, but I haven't been able to see what. As far as I could tell from reading the user guide my image is included with the stack and not as a reference. I did this by:
  • Creating a new card for graphics
  • On that card going into the file menu -> import as control -> image file -> browsed for png file
  • Lastly I went the icons & borders property of the stack and set the correct image id

Re: Question on skinned button

Posted: Tue Aug 10, 2010 10:37 pm
by Curry
Sorry, I would need to see it. Feel free to email your stack (link below) and I'll have a look.

Re: Question on skinned button

Posted: Fri Aug 13, 2010 2:44 am
by matt
It's actually working properly now. I used Crossover Mac for testing the Windows standalone, and it ran the exe just fine but would not display all the images (though one image appeared normal under Crossover). My experience with Crossover Mac has been that software either runs perfectly or not at all, so given that one image was working I didn't think that could be the culprit. I tested on a Windows XP machine at work, and all the images showed up. Thanks again for the suggestions.

Re: Question on skinned button

Posted: Fri Aug 13, 2010 9:09 am
by Mark
Hi Matt,

CrossOver is based on Wine. To work with Wine, Revolution would need a few libraries to display 24 bit images or PNG images (I couldn't bother to find out what the actual problem is). Those libraries are unavailable in Wine. Perhaps, if you compiled Wine including those libraries, it might work, but I'm not going to try this. You could report this to CrossOver as a bug, but I expect them to argue that the libraries used by Rev are old and obsolete. RunRev should update the graphics engine to use more up-to-date libraries.

Best regards,

Mark

Re: Question on skinned button

Posted: Fri Aug 13, 2010 2:06 pm
by matt
That makes sense. Knowing this, I think what I'll do is install Windows into VirtualBox for testing the Windows standalones.