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

visibility condition

$
0
0

Hi,

 

I al trying to make to tell my video, that when it finished if a certain button is visible it does this and that. This  is my code :

 

document.getElementById("videosalle0").addEventListener("ended",myHandler,false);

   function myHandler(e){

   if (sym.$("down_btn").is(":visible")) {

    sym.$("down_btn").hide();

    sym.$("up_btn").show();

    sym.$("vitrine_content").animate({"top":"0%"},1000, 'easeOutCubic');

   }

   //document audio lettre à ma mère

   sym.getSymbol("vitrine_content").getSymbol("olga_safille_sym").$("doc_audio_btn").show();

   sym.getSymbol("vitrine_content").getSymbol("olga_safille_sym").$("doc_audio_btn").animate ({"opacity":"1"}, 2000);


// document audio proverbe roumain

   sym.getSymbol("vitrine_content").getSymbol("proverbe_roumain").$("doc_audio_proverbe_btn" ).show();

   sym.getSymbol("vitrine_content").getSymbol("proverbe_roumain").$("doc_audio_proverbe_btn" ).animate({"opacity":"1"}, 2000);

   // bouton suite visite

   sym.$("suitevisite_btn").show();

   sym.$("suitevisite_btn").animate({"opacity":"1"}, 2000);

   }

 

It did work. But it is not working anymore. IS that condition the right way to do in Edge ?

thanks again

 

s.


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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