Skip to main content
Inspiring
July 25, 2025
Answered

Html5 canvas website wont work properly when launched from local file

  • July 25, 2025
  • 1 reply
  • 241 views

My html file is broken. Whenever i open it the last frame doesn't work all the buttons dont work. However if i test the website from animate it works. Why is this program so full of bugs. Please help.

    Correct answer danne_7454

    it's not a button issue.  what's your console show?


    I managed to solve this issue by making a hit area for this button. 

    1 reply

    Inspiring
    July 25, 2025

    Edit: I did a test and what i noticed is when i removed a button symbol from the stage it worked fine from local again. This simple button which is a bitmap before but at the last frame turns into button symbol causes the canvas to break. That frame is frozen no buttons can be interacted. Only looping movieclips work. I checked the console and it says something about security this security that. How do i fix this? I really need this button.

    kglad
    Community Expert
    Community Expert
    July 25, 2025

    there's a browser security issue when trying to load bitmaps locally.  open your browser's console and learn how to debug html5.

     

    Lesson 1: https://youtu.be/bG05_am-fQI

    Lesson 2: https://youtu.be/H9e9toftvdM

    Inspiring
    July 25, 2025

    Its a button issue. Because when i removed the button and returned it back to a bitmap this issue dissappeared