Skip to main content
Known Participant
June 24, 2022
Question

Bug au niveau des Sons (écho) dnas du HTLM

  • June 24, 2022
  • 1 reply
  • 543 views

Bonjour Est-ce que quelqu'un peu m'aider ?

depuis la version 2019 je n'arrive plus a créer des HTLM sans qu'il y ai de l'écho dès que je reclique sur un des boutons... avez-vous une solution ? est-ce que mes codes ne sont pas bon ?

est-ce que cela vous est arrivés ?

    This topic has been closed for replies.

    1 reply

    JoãoCésar17023019
    Community Expert
    Community Expert
    June 24, 2022

    Hi.

     

    What do you mean by echo?

    Can you provide a video recording or a screenshot?

     

    Regards,

    JC

    Known Participant
    June 24, 2022

    JoãoCésar17023019
    Community Expert
    Community Expert
    June 24, 2022

    Je suis désolée mais ce la fonctionne toujours pas ... 😞

    this.Btcarsat.addEventListener("click", fl_ClickToGoToAndStopAtFrame_1.bind(this));
    
    function fl_ClickToGoToAndStopAtFrame_1()
    {
    		createjs.Sound.stop();
    		this.gotoAndStop(275);
    }
    if (!this.frame0Started) // frame0Started is just a custom property that I created
    {
        this.Btcarsat.addEventListener("click", fl_ClickToGoToAndStopAtFrame_1.bind(this));
        this.frame0Started = true;
    }
    
    

    This statement is repeated:

    this.Btcarsat.addEventListener("click", fl_ClickToGoToAndStopAtFrame_1.bind(this));

     

    Please remove it from the top (first line).

     

    If that still doesn't work, do you mind sharing a link to your FLA?