Skip to main content
Participant
January 3, 2023
Question

Button for legal

  • January 3, 2023
  • 2 replies
  • 257 views

Hi. 

 

Wondering how to get this button to work when I export it to HTML-5 using actionscript? The area for the button also seems to be too large. How to get the technical to be good and that mousover is only used on the "läs mer" surface? Can't get the action script to play correctly or at all.

 

/M. 

    This topic has been closed for replies.

    2 replies

    Participant
    January 17, 2023

     

    Thank you so much. 

    I will test this, but it looks fine 🙂 

     

    /M. 

    JoãoCésar17023019
    Community Expert
    Community Expert
    January 3, 2023

    Hi.

     

    If your text field is inside of a button, draw a shape (or shapes) in the Hit frame for the areas you want the mouse over to happen.

     

    Regards,

    JC

    Participant
    January 5, 2023

    Thanx. I´m not doing well with this.
    Can´t make the shape and I don´t get the code right or any code, I have just told the layer if up, over, down and hit. 
    Probably completely wrong but I'm not giving up, yet...
    I´m a beginner with Animate.

     

    /M. 

    JoãoCésar17023019
    Community Expert
    Community Expert
    January 5, 2023

    Here is a sample:
    https://bit.ly/3X8vEMU

     

    It turns out that in this case a custom hit area isn't needed.

     

    Also, you can remove the animations if you want and just leave the static visuals.

     

    I hope it helps.

     

    Regards,

    JC