View Full Version : size of images in button states
02-05-2004, 11:36 AM
In AMS 4, you could take a different image for normal/highlight and selected state. That image could also be of different size.
Now that AMS 5 has moved this feature to the button object, I noticed that you cannot have different sizes of images for the up and down states.
Is this true?
Is there a way around this problem?
02-05-2004, 11:43 AM
Just use Image.SetVisible/SetOpacity states to control your button [image] actions. Works great!
02-05-2004, 04:21 PM
Thanks. I am familiar with the "set" functions.
What I thought was that using the button maker tool, it should be possible to set a different image to each state WITHOUT having the other states resizing without control.
02-05-2004, 04:30 PM
Hi. Yossi. You can already do that using transparency. :) Use one canvas size, equal to the largest button state. Then create the smaller states by leaving a bunch of transparent area around it. Know what I mean? All the PNGs have same outer size but the object in the PNG is smaller for some... Let me know if you need an example and I'll cook one up. :)
Brett's brilliant Hit Test will track the button automatically, amazing, powerful stuff... :)
Creative Director, Indigo Rose Software (http://www.indigorose.com)
02-06-2004, 05:39 AM
Sorry about that..So obvious..
Powered by vBulletin™ Version 4.0.6 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.