Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Drag and Drop "Open page to drop 3 successive objects"

$
0
0

I created ascriptin Adobeto make adrag and drop.Everything works, but my problem is to causethe opening of apage after 3successiveobjects on thedrop.Would you havethe solution?


my script:


 

// insert code to be run when the symbol is created here

yepnope({nope:['jquery-ui-1.10.4.custom.min.js'], complete: init});

 

 

function init(){

                //Use the code! Draggable! Droppable!!

                sym.$('ourson').draggable({opacity:.5, revert:'invalid'});

   //Droppable... on the target!

sym.$('Rectangle2').droppable({drop: function() {sym.getSymbol('ourson').play();}});

 

   //Use the code! Draggable! Droppable!!

                sym.$('girafe').draggable({opacity:.5, revert:'invalid'});

   //Droppable... on the target!

sym.$('Rectangle2').droppable({drop: function() {sym.getSymbol('girafe').play();}});

 

   //Use the code! Draggable! Droppable!!

                sym.$('ballon').draggable({opacity:.5, revert:'invalid'});

   //Droppable... on the target!

sym.$('Rectangle2').droppable({drop: function() {sym.getSymbol('ballon').play();}});

 

 

 

 

 

missingthe end

?????????????????????????

?????????????????????????

????????????????????????

missingthe end


   }


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>