Skip to main content
Participating Frequently
November 21, 2016
Answered

Como puedo vincular una ID a un sonido en la biblioteca de Adobe Animate CC 2017?

  • November 21, 2016
  • 2 replies
  • 1220 views

No funciona el doble click, sólo se abre el panel de Propiedades y ahí no esta la posibilidad de asignarle ID.

Gracias.

This topic has been closed for replies.
Correct answer UDESCO

Hi Juan,

This is a known bug in Animate CC 2017 and should be fixed soon.

For now please try any one of these workarounds to set linkage names:

1. Using JSFL:

     (Select the audio file in library then run the below JSFL snippet)

          var lib = fl.getDocumentDOM().library;

          lib.setItemProperty('linkageExportForAS', true);

          lib.setItemProperty('linkageClassName', 'myLinkageName');

2. Using AS3 doctype:

     Copy your audio to a new AS3 type document.

     Open the audio Properties, enable Export for Actionscript checbox and provide the linkage-name.

     Now copy back this audio file from AS3 document back to your original canvas document.

2 replies

UDESCO
Adobe Employee
UDESCOCorrect answer
Adobe Employee
November 22, 2016

Hi Juan,

This is a known bug in Animate CC 2017 and should be fixed soon.

For now please try any one of these workarounds to set linkage names:

1. Using JSFL:

     (Select the audio file in library then run the below JSFL snippet)

          var lib = fl.getDocumentDOM().library;

          lib.setItemProperty('linkageExportForAS', true);

          lib.setItemProperty('linkageClassName', 'myLinkageName');

2. Using AS3 doctype:

     Copy your audio to a new AS3 type document.

     Open the audio Properties, enable Export for Actionscript checbox and provide the linkage-name.

     Now copy back this audio file from AS3 document back to your original canvas document.

Participating Frequently
November 22, 2016

Excellent. that works perfect!!

Thank you very much!

Nipun Asthana escribió:

Hi Juan,

This is a known bug in Animate CC 2017 and should be fixed soon.

For now please try any one of these workarounds to set linkage names:

1. Using JSFL:

(Select the audio file in library then run the below JSFL snippet)

var lib = fl.getDocumentDOM().library;

lib.setItemProperty('linkageExportForAS', true);

lib.setItemProperty('linkageClassName', 'myLinkageName');

2. Using AS3 doctype:

Copy your audio to a new AS3 type document.

Open the audio Properties, enable Export for Actionscript checbox and provide the linkage-name.

Now copy back this audio file from AS3 document back to your original canvas document.

kglad
Community Expert
Community Expert
November 21, 2016

attach a screenshot showing the problem.

Participating Frequently
November 21, 2016

On the library, i can't get an ID for that sound. Double Click doesn't work.
(sorry the bad ennglish)

kglad
Community Expert
Community Expert
November 21, 2016

Can you check to see if any keys are sticking, the Alt key in particular? If you're on Windows Alt-double click might be a shortcut to Properties, and if Animate sees the Alt key as if it's being pressed, that could explain things.


it's a canas document. i don't think you can link a sound that way.

you could place the sound in a movieclip and use the new constructor, but better would be to use: SoundJS v0.6.2 API Documentation : SoundJS