• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Buttons problems

Community Beginner ,
Dec 12, 2022 Dec 12, 2022

Copy link to clipboard

Copied

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

Views

671

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 12, 2022 Dec 12, 2022

Copy link to clipboard

Copied

Hi.

 

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

 

Regards,

JC

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 13, 2022 Dec 13, 2022

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 13, 2022 Dec 13, 2022

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 13, 2022 Dec 13, 2022

Copy link to clipboard

Copied

Ah ! Sorry Joao,

I put the link into a text edit file.

Regards

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 13, 2022 Dec 13, 2022

Copy link to clipboard

Copied

Thank you.

 

It seems to be working correctly for me.

https://christophet-cpnef-test.netlify.app/

 

What version of Animate are you using and how are you trying to run the published content outside of Animate?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 13, 2022 Dec 13, 2022

Copy link to clipboard

Copied

 
It's crazy !
I am using Animate 2023.
Once published I test the animation with Firefox, it does not work.
I asked a friend to post it but still nothing. I must have a problem with my post preferences but I couldn't find anything.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 13, 2022 Dec 13, 2022

Copy link to clipboard

Copied

But how are you running the HTML? By just double-clicking on it?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 13, 2022 Dec 13, 2022

Copy link to clipboard

Copied

 
Yes in a first time I test it this way (doesn't work), but when online it doesn't work either.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 13, 2022 Dec 13, 2022

Copy link to clipboard

Copied

You need to check how you're hosting your files.

 

Do you have a link so we can try it? (e.g.: https://yourwebsite.com/cpnef)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 13, 2022 Dec 13, 2022

Copy link to clipboard

Copied

https://www.surunnuage.com/CPNEF/CPNEF_1260x3000_5/

It's incomprehensible, this link did not work 2 days ago...
I will put the final version online to test it.
I'll let you know if it works and I'll keep looking why I can't test locally.
Thanks for your help Joao.
Chris

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 13, 2022 Dec 13, 2022

Copy link to clipboard

Copied

Great!

 

The important thing is that it's working now.

 

Please just let us know if you need further assistance.

 

Regards,

JC

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 13, 2022 Dec 13, 2022

Copy link to clipboard

Copied

@christophet77791954 

 

again, you can't test locally because of browser restrictions on cross-domain loads.  if you don't understand what that means, google it.

 

there are ways to work around that, but the quickest and easiest is to upload your published files and naviate to the html with your browser.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 13, 2022 Dec 13, 2022

Copy link to clipboard

Copied

Thanks a lot,

I will search on google.
Chris

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 13, 2022 Dec 13, 2022

Copy link to clipboard

Copied

LATEST

@christophet77791954 

 

you're welcome.

 

p.s. learn to use the developer console of your browser

 

lesson 1 - https://youtu.be/PBDQN9CQSeI

lesson 2 - https://youtu.be/KJEl0OenGUY

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 12, 2022 Dec 12, 2022

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 13, 2022 Dec 13, 2022

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines