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

Taste die audio Link abspielt und beim weiteren drücken stopt

New Here ,
Feb 23, 2022 Feb 23, 2022

Copy link to clipboard

Copied

Ich möchte eine Taste (HTML5) einbauen, die, wenn man auf sie klickt eine Audio Datei abspielt. Die soll allerdings nicht in Animate importiert liegen, sondern auf dem Server oder von Soundcloud kommen. Ich habe es schon mit einem Webseiten Link versucht, aber so recht funktioniert es noch nicht. Ich möchte nur, dass der Sound hörbar wird, allerdings nicht angezeigt wird.

Habt ihr eine Idee?

TOPICS
ActionScript , Code , Import and export

Views

113

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 ,
Feb 23, 2022 Feb 23, 2022

Copy link to clipboard

Copied

if soundcloud is a file server, you can load the file by using the url to the sound file.

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
New Here ,
Feb 24, 2022 Feb 24, 2022

Copy link to clipboard

Copied

Yes, thanks. But how can I tell a button to only play the sound, not show 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 Expert ,
Feb 24, 2022 Feb 24, 2022

Copy link to clipboard

Copied

nothing is shown because a sound plays (unless the server is intercepting the url request and interjecting something).

 

just download the sound file and put on a file server you control.

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
New Here ,
Feb 24, 2022 Feb 24, 2022

Copy link to clipboard

Copied

... and when i have the file on the server, what do i tell the button? this.play? this.audio?

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 ,
Feb 24, 2022 Feb 24, 2022

Copy link to clipboard

Copied

LATEST

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