Menu Style-puzzled

Discuss problems and solutions.
Post Reply
mikeL
Newbie
Posts: 16
Joined: 23 Oct 2014 17:26

Menu Style-puzzled

Post by mikeL »

Hi
I'm building a menu object,I have one behaving how i want(red one),then when i copied it and changed the relevant links it doesn't behave the same.ie
the red one opens a menu up for you to choose,choose one and the menu disappears and the lable on the selector updates.
the blue one needs to be pushed twice before the menu will open,it some times opens first time but only the initial push.
I can't see what the difference is,Whats even more puzzling is that the editor behaves the same using the "hold down E to emulate" yet when its "synced" the first push on the iPad opens the menu in the editor but not on the iPad.and the second push closes the editor and opens the iPad??!
here is the template for you to experience the puzzle and hopefully solve it.
If there is another way to achieve the end result i'd love to hear it.
mike
2x menu.jzml.zip
(1.51 KiB) Downloaded 63 times
iPad air 16gb ios8.1.1/lemur/animoog/midi sequencer/iconnect4/
Macpro OS X 10.8.5/ff400/logic9/reaktor/plogue bidule/ + hardware synths.
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

Re: Menu Style-puzzled

Post by Macciza »

Hi
Nice bit of work, easy to miss the error, easy to diagnose . .

Lets have a look and a bit of a think, hmm that state var looks interesting . .
Lets lob up a Monitor on it and see whats happening, hmm, its not changing when it should . .
Why would that be? It should reset when something is selected Maybe that OnSelect() has some clues?
Aaah there it is, a simple typo and fixed . . .

PS The weird interaction between the two was a bit of a give away too . . .

Hope that helps . .
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
mikeL
Newbie
Posts: 16
Joined: 23 Oct 2014 17:26

Re: Menu Style-puzzled

Post by mikeL »

Thank you
you pointed me to the problem,I thought it would be something like that,but couldn't see the woods etc.
Thats me back on track,thanks again
mike
PS
you talked about a monitor to see whats going on,where can i find it? sounds very useful
iPad air 16gb ios8.1.1/lemur/animoog/midi sequencer/iconnect4/
Macpro OS X 10.8.5/ff400/logic9/reaktor/plogue bidule/ + hardware synths.
Post Reply