Skip to main content
Participant
Aug 3, 2023 8:29 AM UTC
Question

Multiple buttons on HTML5 Banners

Hi

I am having to pick up some banner designs in Animate, and please forgive my ignorance, but need to create 2 buttons going to 2 different URLs on the same banner. 

I can get two areas working as buttons but both go to the same URL or at least one overides the other. 
Can someone please help on how to stop this, or help explain for to create the two buttons?

    This topic is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    Community Expert
    Aug 5, 2023 11:21 AM UTC

    Gonna need to see your code...

    Translate
    kglad
    Community Expert
    Community Expert
    Aug 3, 2023 2:18 PM UTC

    just use two different listener functions or an if-statement checking the event's currentTarget in one listener function.

     

    if your don't understand the above, show the code you're using.

    Translate