Indigo Rose Software
  #1  
Old 09-17-2005
cgirolet cgirolet is offline
Forum Member
 
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
Reply With Quote
  #2  
Old 09-17-2005
yosik's Avatar
yosik yosik is offline
Indigo Rose Customer
 
Join Date: Jun 2002
Location: Israel
Posts: 1,863
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
Reply With Quote
  #3  
Old 09-17-2005
cgirolet cgirolet is offline
Forum Member
 
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
Reply With Quote
  #4  
Old 09-17-2005
Corey's Avatar
Corey Corey is offline
Registered User
 
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?
Reply With Quote
  #5  
Old 09-17-2005
cgirolet cgirolet is offline
Forum Member
 
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
Reply With Quote
  #6  
Old 09-17-2005
cgirolet cgirolet is offline
Forum Member
 
Join Date: Jun 2002
Location: france
Posts: 94
i didn't touched the hit thresold by the way
Reply With Quote
  #7  
Old 09-17-2005
Corey's Avatar
Corey Corey is offline
Registered User
 
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.
Reply With Quote
  #8  
Old 09-17-2005
yosik's Avatar
yosik yosik is offline
Indigo Rose Customer
 
Join Date: Jun 2002
Location: Israel
Posts: 1,863
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
Reply With Quote
  #9  
Old 09-17-2005
cgirolet cgirolet is offline
Forum Member
 
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
Reply With Quote
  #10  
Old 09-17-2005
Corey's Avatar
Corey Corey is offline
Registered User
 
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.
Reply With Quote
  #11  
Old 09-17-2005
cgirolet cgirolet is offline
Forum Member
 
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
Reply With Quote
  #12  
Old 09-17-2005
Corey's Avatar
Corey Corey is offline
Registered User
 
Join Date: Aug 2002
Posts: 9,746
Hi. Yes there is, just experiment with the Hit Threshold value until you find the right balance.
Reply With Quote
  #13  
Old 09-17-2005
cgirolet cgirolet is offline
Forum Member
 
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.
Reply With Quote
  #14  
Old 09-17-2005
Corey's Avatar
Corey Corey is offline
Registered User
 
Join Date: Aug 2002
Posts: 9,746
Sweet.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


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.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software