How to show a symbol if two others equal true


i'm sure cake but, heh :-/

 

i have 2 symbols set equal show when dragged ontop of 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 symbol want .show()  when both true  how do this?

use classes symbols. way easier.



More discussions in Edge Animate CC


adobe

Comments

Popular posts from this blog

Could not place because the source rectangle is empty

Thread: Using smartcard reader with vpnc

Adobe Font Folio 7.0 or just 7?