Hi - the hit area (the clickable area) over the thumbnails (50w x 40h) in the gallery.swi seems to be too small: 1/4 or 1/3 of the full thumbnail from x.0/y.0
Is there a way to adjust this? (make it bigger / same size as the thumbnail image).
See the issue demonstrated here. (Click on 'gallery' menu item to view gallery).
Thanks.
"hit Area" On Thumbnails In Gallery.swi
Started by operaman, Feb 27 2010 05:34 AM
6 replies to this topic
#1
Posted 27 February 2010 - 05:34 AM
Operaman,
Winnipeg, Canada
Winnipeg, Canada
#2
Posted 27 February 2010 - 12:35 PM
...make sure the the shape "button" is the same size as the thumb image.
thumb_link.jpg 48.63K
9 downloads
wolf
thumb_link.jpg 48.63K
9 downloadswolf
#3
Posted 02 March 2010 - 03:35 AM
It's very strange. The buttons are indeed the same size as the image (50x40) - but the 'active' area (the area on the button that is clickable) seems to be only 1/4 of the area (25 x 20 starting at x0/y0). When I double the size of the button (to 100 x 80) then the entire image / button is clickable. Is there code somewhere that specifies the clickable area of the button?
I've tried looking at the (section4) swf in a IE8 and FireFox 3.5.8 and exporting in a few different versions of SWF (7 & 8) - and the clickable area appears consistant (1/4 of the area or 25 x 20 instead of 50 x 40).
You can see here - that I have adjusted the button size of button1 on gallery1 to be 100 x 80 (double the original size) and now the entire area of the image (but still 1/4 of the button) is clickable. The other buttons (2 - 9) are still 50 x 40 and only have the 1/4 portion of the button (image) clickable).
section4.swi file attached.
I've tried looking at the (section4) swf in a IE8 and FireFox 3.5.8 and exporting in a few different versions of SWF (7 & 8) - and the clickable area appears consistant (1/4 of the area or 25 x 20 instead of 50 x 40).
You can see here - that I have adjusted the button size of button1 on gallery1 to be 100 x 80 (double the original size) and now the entire area of the image (but still 1/4 of the button) is clickable. The other buttons (2 - 9) are still 50 x 40 and only have the 1/4 portion of the button (image) clickable).
section4.swi file attached.
Edited by Wolf Gross, 02 March 2010 - 12:26 PM.
...attachment removed.
Operaman,
Winnipeg, Canada
Winnipeg, Canada
#4
Posted 02 March 2010 - 12:28 PM
...I had to remove your attachment - see this post: http://forums.swishz...showtopic=25112 - I will try to have a look at it when I find some time.
wolf
wolf
#5
Posted 02 March 2010 - 08:15 PM
#6
Posted 05 March 2010 - 12:03 AM
Hmmm. When I run the section4.swf in a flash player (Macromedia 8) - the buttons indeed have a full hit area (50x40). But when I run the section2.swf as part of the uploaded site (here, the hit area is only 25x20 (1/4 of the area starting from upper left). I'll have to keep looking I guess.
Operaman,
Winnipeg, Canada
Winnipeg, Canada
#7
Posted 05 March 2010 - 09:20 AM
...I've taken you section4 and uploaded it to my server with the other files of the template and it works fine there too http://wolfgross.com/87/
wplf
wplf
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users













