|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
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
|
|||
|
|||
|
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
|
||||
|
||||
|
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
|
|||
|
|||
|
Quote:
|
|
#6
|
|||
|
|||
|
i didn't touched the hit thresold by the way
|
|
#7
|
||||
|
||||
|
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
|
||||
|
||||
|
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
|
|||
|
|||
|
you were right Corey the solution was to set the hit thresold to -1 instead of it's default value of 200
|
|
#10
|
||||
|
||||
|
Cool beans guys, I'm just glad you got your buttons working the way you want them to.
|
|
#11
|
|||
|
|||
|
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
|
||||
|
||||
|
Hi. Yes there is, just experiment with the Hit Threshold value until you find the right balance.
|
|
#13
|
|||
|
|||
|
Quote:
Yep i found it, the right value seems to be 128. |
|
#14
|
||||
|
||||
|
Sweet.
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Button Problem | thetford | AutoPlay Media Studio 5.0 | 4 | 04-21-2005 04:03 PM |
| animated flash button problem | Witkizz | AutoPlay Media Studio 4.0 | 0 | 07-21-2004 02:17 PM |
| Example: Creating an on/off button to toggle background audio | Jonas DK | AutoPlay Media Studio 5.0 Examples | 0 | 07-10-2004 03:54 PM |
| Button Hiding Blues | Tezcatlipoca | AutoPlay Media Studio 4.0 | 5 | 04-11-2003 05:57 PM |
| INFO: The Explore Button on the Distribution Folder Dialog | Support | AutoPlay Media Studio 4.0 Examples | 0 | 10-11-2002 01:06 PM |
All times are GMT -6. The time now is 09:52 PM.








Linear Mode

