Hi Bob,

If the icon still shows up as the icon of the button, you still have the image - at least the icon-size one.

Try this script in a new button and see what you get:
on mouseUp
   ask file "Save as PNG:"
   if it = empty then exit to top
   put the icon of btn "myButtonWithMissingIcon" into x
   export image ID x to file it as PNG
end mouseUp

Now you should have a PNG file you can edit.

If you want to scale it, results will improve if you change its resolution to <whateverItIsNow> * 10, then scale it, then restore the original resolution. At least that's how I do it and I get better results than doing a straight 'scale'. (I use GraphicConverter for this)

More than you wanted to know - Happy Weekend -
Phil


On 3/11/11 8:24 PM, Bob Sneidar wrote:
Hi all.

I have a button with an icon. The icon is too big and I don't have the image 
anymore so I cannot photoshop it. I want to make the button about half the size 
and have the icon scale with it. Is this possible? Changing th size of the 
button only clips the icon image.

Bob



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to