Multiple Groups and Transparent Buttons

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
istech
Posts: 211
Joined: Thu Sep 19, 2013 10:08 am

Multiple Groups and Transparent Buttons

Post by istech » Wed Feb 05, 2014 2:14 am

Hi all,

I have a small issue. I have nested a group within a group for some transparent button controls. Now they work fine on windows, Linux and Mac but not on either mobile device. (IOS/Android)

Can any one steer me in the right direction. I have set the blend Level to 1 and the set the ink to noop, but no go. (I have also tried setting the Colour Overlay but still no go)

Any ideas?

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Multiple Groups and Transparent Buttons

Post by Klaus » Wed Feb 05, 2014 1:03 pm

Hi istech,
istech wrote:...Any ideas?
yes, "does not work" is a lame error description! 8)

What are the scripts of the buttons?
Does it work if you just give them any other script like "Answer whatever"?
Any other info you can give?


Best

Klaus

istech
Posts: 211
Joined: Thu Sep 19, 2013 10:08 am

Re: Multiple Groups and Transparent Buttons

Post by istech » Wed Feb 05, 2014 4:54 pm

Sorry Klaus,

nothing special in this handier just:

on mouseUp
lock screen for visual effect
hide group "HDDG"
unlock screen with visual effect dissolve
go to card id "1013"
put specialfolderpath("engine") & "/Nav.wav" into coSound
play coSound
end mouseUp

I am trying out touchstart to see if it makes a difference and yes the scripts return answers only on desktop OS.

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Multiple Groups and Transparent Buttons

Post by Klaus » Wed Feb 05, 2014 5:07 pm

Hm, should work!?

I first thought that INKs are not supported on iOS, but that is not the case.
Strange! 8)

Hint: Do not put quotes around numbers!
...
go to card id 1013
## !
...

istech
Posts: 211
Joined: Thu Sep 19, 2013 10:08 am

Re: Multiple Groups and Transparent Buttons

Post by istech » Wed Feb 05, 2014 6:08 pm

A head scratchier for me 2 days now. :cry:

I think it has to do with the the way the groups are setup. The first top group of buttons work on both devices. The next group of embedded transparent buttons are the ones causing headache.

I will do some more testing and update.

istech
Posts: 211
Joined: Thu Sep 19, 2013 10:08 am

Re: Multiple Groups and Transparent Buttons

Post by istech » Thu Feb 06, 2014 8:16 am

Workaround/Fix

buttons deleted and recreated as push buttons with blend set to 100 worked.

Post Reply