PDA

View Full Version : size of images in button states



yosik
02-05-2004, 11:36 AM
Hi,
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?
Thanks

Yossi

rhosk
02-05-2004, 11:43 AM
Yossi,

Just use Image.SetVisible/SetOpacity states to control your button [image] actions. Works great!

yosik
02-05-2004, 04:21 PM
Ron,
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.
Yossi

Corey
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... :)

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

yosik
02-06-2004, 05:39 AM
Duh!
Sorry about that..So obvious..
Thanks.
Yossi