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

Is it possible to preLoad a sound clip before any button is clicked on the stage?

Explorer ,
Dec 17, 2024 Dec 17, 2024

Hi guys, searched but haven't found a definitive answer to this. I have a rather long dialogue in my project. The movie starts when the user clicks the play button. The first dialog will not load properly but the rest seems to run Ok after that. I would be happy just to load that first dialogue clip if possible Before the button is pressed. Is this possible?

399
Translate
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 17, 2024 Dec 17, 2024

you can ~anything, but in html5, you can't play anything audible without user interaction.

Translate
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
Explorer ,
Dec 17, 2024 Dec 17, 2024

Thanks again, sorry not sure what "~anything" means?
I know I can't play sounds before a click, but can I preload sounds before a click? Even just the first dialogue clip would be enough to get it going smoothly I think. After the first sound clip it runs smoothly..

Translate
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 17, 2024 Dec 17, 2024

yes, you can start (and even complete) a sound (or sounds) without user interaction.

Translate
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
Explorer ,
Dec 20, 2024 Dec 20, 2024

"but in html5, you can't play anything audible without user interaction"

?

Translate
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 20, 2024 Dec 20, 2024
LATEST

@Neal37963021vjxt 

 

do  you have a question about that?

Translate
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 18, 2024 Dec 18, 2024

Hi.

 

If your sound is in the library and it has a linkage assigned to it, Animate will set it the be preloaded automatically.

 

How are you playing your sounds?

 

Please let us know.

 

Regards,

JC

Translate
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
Explorer ,
Dec 20, 2024 Dec 20, 2024

My dialogue sounds are directly on the timeline for this project and they start playing when a button is pressed. If I press the button and wait 10 sec or whatever and then re-press, the sounds play fine, otherwise the first dialogue stutters

Translate
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