Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843

    size of images in button states

    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

  2. #2
    Join Date
    Aug 2003
    Location
    Maine, USA
    Posts
    1,695
    Yossi,

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

  3. #3
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    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

  4. #4
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    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

  5. #5
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    Duh!
    Sorry about that..So obvious..
    Thanks.
    Yossi

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts