0
Answered

App counter action?

Clint Sutton 11 years ago updated by Ezra Weinstein (Administrator) 11 years ago 1

Hi,


I have an app counter on the page.  I have 10 objects that when tapped count by 1, and hide.  I have another object, hidden, that I want to show when the app counter gets to 10.  Can this be done?  I can't for the life of me work it out?  Tried various things.



Answer

Answer
Answered

Hi Clint,

You can absolutely accomplish this using conditions. On all 10 objects add an action set of Tap/Show and the target would be the hidden element.  Now here is  the key, on each of those action sets in the menu tap the CONDITION button, under counter conditions you will see:


{Page Counter} is {Value}


This means that you want this action set to run only if the page counter is a certain value.  When you select this condition you will set the Element to your counter and the value to 10.  That's it!  


Let us know if you need any further assistance.  There is also a video on conditions available here:


http://www.youtube.com/watch?v=zEhG7ngPpac


Ezra


Answer
Answered

Hi Clint,

You can absolutely accomplish this using conditions. On all 10 objects add an action set of Tap/Show and the target would be the hidden element.  Now here is  the key, on each of those action sets in the menu tap the CONDITION button, under counter conditions you will see:


{Page Counter} is {Value}


This means that you want this action set to run only if the page counter is a certain value.  When you select this condition you will set the Element to your counter and the value to 10.  That's it!  


Let us know if you need any further assistance.  There is also a video on conditions available here:


http://www.youtube.com/watch?v=zEhG7ngPpac


Ezra


Thanks Ezra!


Works fine.  I was using TapEnd, and for some reason it would not work!  And in each element, you had to go in and click on the element to appear and not click it in the layout.  It kept change each one to self.


Anyway, working perfectly now, thanks!!