Skip to main content
christophet77791954
Participating Frequently
December 12, 2022
Question

Buttons problems

  • December 12, 2022
  • 2 replies
  • 866 views

Hello everyone, I'am working on a simple animation.

Previously it was controlled with a mouse scroll that I had to replace with buttons.

This animation works perfectly when I test but not after publication.

I've searched but can't find the problem.

Does somebody have an idea ? Thanks in advance.

Chris

    This topic has been closed for replies.

    2 replies

    kglad
    Community Expert
    Community Expert
    December 12, 2022

    with html5 if you try to open the html file saved locally with your browser and there are elements to load (eg, bitmaps), you can expect a cross-domain error.

     

    to remedy, upload the published files to a file server and then open the html in your browser.

    christophet77791954
    Participating Frequently
    December 13, 2022

    Thanks, I have already tried but unfortunately without success.
    Chris

    JoãoCésar17023019
    Community Expert
    Community Expert
    December 12, 2022

    Hi.

     

    Can you provide more details? Is it AS3 or HTML5? Can you share some screenshots?

     

    Regards,

    JC

    christophet77791954
    Participating Frequently
    December 13, 2022

    Hi Joao,

    It is an HTML5. Here are 2 screenshots, the first actions are on the frame 1 (stop + button).

    I also attach my .fla, maybe it's because of the preferences.

    Many thanks.
    Chris

    JoãoCésar17023019
    Community Expert
    Community Expert
    December 13, 2022

    Thanks.

     

    There's no FLA attached. This forum doesn't allow it.

     

    You''ll have to upload your file to somewhere else (Creative Cloud, Google Drive, Dropbox, WeTransfer, and so on) and place the link here.