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

How to show a symbol if two others equal true

$
0
0

I'm sure this is cake but, heh :-/

 

I have two symbols that are set to equal show when dragged ontop of a target

 

sym.$('TARGET-PA1').droppable(

 

        {   

            accept:sym.$('PURPLE-A-1'),

 

            drop: function(){

 

                sym.$('PROX-PURPLE-A-1').show();  //showing symbol one

 

            }

        }

 

    );

sym.$('TARGET-PA2').droppable(

 

        {   

            accept:sym.$('PURPLE-A-2'),

 

            drop: function(){

 

                sym.$('PROX-PURPLE-A-2').show(); //showing symbol two

 

            }

        }

 

    );

 

I have another symbol that i want to .show()  when both are true  how do i do this?


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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