Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 14 of 14
  1. #1
    Join Date
    Jun 2002
    Location
    france
    Posts
    94

    Problem with button tool

    Hello

    I would like to use the button tool to make a button. where the differents state of the button are made from PNG files. All is well when PNG are 100% opaque (except the transparency around the button of course). but if I want to make a button where the differents states are made from PNG with varying transparency this doesn't work.

    Claude

  2. #2
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    You are right!!
    Strange that no one (including me....) has signaled this, as it occurred also in ver5.

    The workaround is to use two images and actions which toogle between them in the onEnter and onLeave events.

    Yossi

  3. #3
    Join Date
    Jun 2002
    Location
    france
    Posts
    94
    thanks for the workaround i will try that, a better way would be to correct this in a future update, knowing how cool people at indigorose are they will surely do that, at least i hope so.

    claude

  4. #4
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Hi, actually it does work. I've made lots of buttons with different degrees of opacity in the various states. What is the specific problem you're having? Is it possible you just need to adjust your Hit Threshold?

  5. #5
    Join Date
    Jun 2002
    Location
    france
    Posts
    94
    Quote Originally Posted by Corey
    Hi, actually it does work. I've made lots of buttons with different degrees of opacity in the various states. What is the specific problem you're having? Is it possible you just need to adjust your Hit Threshold?
    Hi Corey how would i send you a screen capture of my button and of the obtained result in order for you to see what's happening if you want i can also send you the three png files used for the differents states

  6. #6
    Join Date
    Jun 2002
    Location
    france
    Posts
    94
    i didn't touched the hit thresold by the way

  7. #7
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Hi, a screencap of your button wouldn't really help, if you could describe the details of the problem you are having... At any rate I'm %99.9 sure that you just need to adjust the "Hit Threshold" in the button maker, check it out, it's easy to figure out.

  8. #8
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    You are ABSOLUTELY right, Corey. Threshold value is the key.
    In my mind, I saw that value as defining the hit area of the button, not the actual transparency behaviour. I don't know where the misunderstanding is, but I am glad that this functionality does work.
    Thanks!

    Yossi

  9. #9
    Join Date
    Jun 2002
    Location
    france
    Posts
    94
    you were right Corey the solution was to set the hit thresold to -1 instead of it's default value of 200

  10. #10
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Cool beans guys, I'm just glad you got your buttons working the way you want them to.

  11. #11
    Join Date
    Jun 2002
    Location
    france
    Posts
    94
    the drawback is that these buttons are now seen as square no matter their shape, i mean the mouse cursor is changed as soon as the mouse is entering in the button zone, with the default thresold the mouse cursor changed depending on the button shape, but we lost the varrying transparency, is there a thresold that would combine the advantages of both

  12. #12
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Hi. Yes there is, just experiment with the Hit Threshold value until you find the right balance.

  13. #13
    Join Date
    Jun 2002
    Location
    france
    Posts
    94
    Quote Originally Posted by Corey
    Hi. Yes there is, just experiment with the Hit Threshold value until you find the right balance.

    Yep i found it, the right value seems to be 128.

  14. #14
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Sweet.

Similar Threads

  1. Button Problem
    By thetford in forum AutoPlay Media Studio 5.0
    Replies: 4
    Last Post: 04-21-2005, 03:03 PM
  2. animated flash button problem
    By Witkizz in forum AutoPlay Media Studio 4.0
    Replies: 0
    Last Post: 07-21-2004, 01:17 PM
  3. Example: Creating an on/off button to toggle background audio
    By Jonas DK in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 07-10-2004, 02:54 PM
  4. Button Hiding Blues
    By Tezcatlipoca in forum AutoPlay Media Studio 4.0
    Replies: 5
    Last Post: 04-11-2003, 04:57 PM
  5. INFO: The Explore Button on the Distribution Folder Dialog
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-11-2002, 12:06 PM

Posting Permissions

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