Advertisement
Guest User

Untitled

a guest
Nov 24th, 2014
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function loop(sym){
  2.     if(tellerMuntjes == 12)
  3.     {tellerMuntjes = 1;}
  4.    
  5.    var muntje = "muntje"+tellerMuntjes;
  6.  
  7.     setTimeout(function()
  8.     {
  9.                 console.log(muntje);                
  10.                 //muntjesGenereren(sym, muntje);
  11.                 var muntjeSymbol = sym.getSymbol(muntje);
  12.                      var muntjeElement = muntjeSymbol.getSymbolElement();
  13.                 muntjeElement.animate({top: "+=840"},6000, "linear");
  14.                
  15.                
  16.                 tellerMuntjes = tellerMuntjes + 1;                                          
  17.                 loop(sym);
  18.        
  19.     }, 1500);
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement