size of images in button states

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • yosik
    Indigo Rose Customer
    • Jun 2002
    • 1858

    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
  • rhosk
    Indigo Rose Customer
    • Aug 2003
    • 1698

    #2
    Yossi,

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

    -Ron

    Music | Video | Pictures

    Comment

    • yosik
      Indigo Rose Customer
      • Jun 2002
      • 1858

      #3
      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

      Comment

      • Corey
        Indigo Rose Staff Alumni
        • Aug 2002
        • 9745

        #4
        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

        Comment

        • yosik
          Indigo Rose Customer
          • Jun 2002
          • 1858

          #5
          Duh!
          Sorry about that..So obvious..
          Thanks.
          Yossi

          Comment

          Working...
          X