Skip to main content
christophet77791954
Participating Frequently
Dec 12, 2022 5:50 PM UTC
Question

Buttons problems

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 is closed to new replies. Start a new post to keep the conversation going.

    16 replies

    kglad
    Community Expert
    Community Expert
    Dec 12, 2022 6:10 PM UTC

    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.

    Translate
    christophet77791954
    Participating Frequently
    Dec 13, 2022 9:10 AM UTC

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

    Translate
    JoãoCésar17023019
    Community Expert
    Community Expert
    Dec 12, 2022 5:55 PM UTC

    Hi.

     

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

     

    Regards,

    JC

    Translate
    christophet77791954
    Participating Frequently
    Dec 13, 2022 9:03 AM UTC

    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

    Translate
    JoãoCésar17023019
    Community Expert
    Community Expert
    Dec 13, 2022 10:55 AM UTC

    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.

    Translate