1 Reply Latest reply on Feb 13, 2013 4:59 AM by ♥Schrene

    Can i play once?

    charian83

      I use this code

       

      compositionReady ->

       

      // insert code to be run when the composition is fully loaded here

         $(window).scroll(function(e){

       

           var adtop = $(document).scrollTop();

       

                          console.log(adtop);

           if( adtop >= 800

       

                          sym.play();

       

           }else{

             }

           });

       

       

      over 800px scroll and play.

      but its scroll play scroll play play play.

       

      I need play once.