Indigo Rose Software
  #1  
Old 07-03-2009
brycehu brycehu is offline
Indigo Rose Customer
 
Join Date: Jul 2009
Posts: 1
Grin Buttons with transparency are broken

Why is it that my buttons with transparency work fine in the Button Maker (hovering or clicking in the transparent areas) but once they are part of my project the transparency becomes an unclickable area?

For example I've laid out my project in Photoshop and then hidden all layers but my button's up state (which contains transparent gaps in it), I then crop and save it out with a transparent background as a PNG-24. I then do the same for the down state which is also the active state.

I then open up the Autorun MAX! 2.0 Button Maker and browse to the up and down/active states of my button and you can click on the transparency and it registers as a click 100% of the time, I think, "Great!" I save. Then once I place my button in my project and preview it the transparent sections no longer register hits.

I even added a 1% white layer to see if that would aid the hit detection, no dice.

What do I have to do to get the transparencies to register clicks?
Reply With Quote
  #2  
Old 07-03-2009
Ulrich's Avatar
Ulrich Ulrich is offline
Indigo Rose Staff Member
 
Join Date: Apr 2005
Location: Sao Paulo, Brazil
Posts: 823
Hello,

the Button Maker tool in Autorun MAX! does not allow you to set hit detection on transparent areas. I can give you two alternatives:
  1. You may install the evaluation version of AutoPlay Media Studio and use the Button Maker included in the product to adjust your buttons. Once installed, you find the Button Maker in the "Tools" sub folder of AutoPlay Media Studio. Open your button file with the tool, and in the right Properties pane, set the "Hit Threshold" value to -1. Save the modified button and load it into Autorun MAX!.
  2. You can edit the *.btn file manually as well. Rename your button file from "*.btn" to "*.zip", and uncompress the contents into an empty folder. You should see your original image file(s), and a file named _manifest.xml. Using Notepad, open the XML file and change line 13 from "<HitThreshold>200</HitThreshold>" to "<HitThreshold>-1</HitThreshold>". Save the file, and replace the old file in the zip with the modified version. Then rename the *.zip to *.btn and use it in Autorun MAX!.

Ulrich
Reply With Quote
Reply

Tags
button, click detection, transparent background

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



All times are GMT -6. The time now is 07:15 AM.


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