Andromo - Start Making Apps - Free Signup

Announcement

Collapse

New Forum Software

If you're here, you've found the new home for our forums. There will be some bugs to iron out, so thanks for your patience...
See more
See less

size of images in button states

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Yossi,

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

    -Ron

    Music | Video | Pictures

    Comment


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


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


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

          Comment

          Working...
          X