I can't access my array in a for loop - Why? Thanks in advance.
I want to play a state animation for my "PageDowns" elements.
Sorry, I couldn't paste the code, because CodeSample here didn't work for me.
I can't access my array in a for loop - Why? Thanks in advance.
I want to play a state animation for my "PageDowns" elements.
Sorry, I couldn't paste the code, because CodeSample here didn't work for me.
Got it on my own.
It was a scope problem. CoffeeScript is not easy to handle when it comes to arrays, loops and so on.
I had to write:
do(pageDown)
PageDowns[i].animate "swipe"