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

linkage sound to actionscript in flash cc

Guest
Apr 22, 2014 Apr 22, 2014

Hi,

i have an issue, maybe i dont understand the process well.

- I imported a short mp3 in flash cc library.

- I try to linkage it to actionscript, but i can' t.

- If i click on the sound file, and choose properties, there is no checkbox to export for actionscript.

Linkage_issue.jpg

I see an actionscript tab, but i can' t reach it. I can' t click on it.

- How can i solve this issue ?

TOPICS
ActionScript
2.9K
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 ,
Apr 22, 2014 Apr 22, 2014

convert to an mp3 and import.

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
Guest
Apr 22, 2014 Apr 22, 2014

Hi,

i converted, the same window pop-up, but i still can' t reach the actionscript tab.

I can' t click on it, and using TAB on keyboard  i can't reach it neither.

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 ,
Apr 22, 2014 Apr 22, 2014

actually, it should work with a wav file, too if you're publishing a swf.  what are your publish settings?

if you're publishing for html5, you can't link anything.

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 Beginner ,
May 18, 2014 May 18, 2014

I'm having what might be a similar problem.

It isn't about what file type... but the fact that the "ActionScript" tab in the Sound Properties modal is inaccessible.

I can see the tab change to it's rollover state when I mouse over it... but clicking it does nothing... and as the original poster said... you can't tab to it either.

This is one of may similar issues I'm coming across with the Flash CC IDE interface.

Does anyone know what's up?

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 ,
May 18, 2014 May 18, 2014

what are your publish settings?

if you're publishing for html5, you can't link anything.

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 Beginner ,
May 18, 2014 May 18, 2014

Publishing to SWF.

If I open the file in Flash CS6 I can get to the tab and set the audio settings just fine.

For some reason this tab is broke on Flash CC.

Any thoughts?

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 ,
May 18, 2014 May 18, 2014

does that occur with all sound files?

if yes, you have a corrupt installation: uninstall, clean and reinstall per Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

if no, you have a problem sound file:  open in audition and resave using a different file name.  import the new sound file and retry.

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 Beginner ,
May 18, 2014 May 18, 2014

Thanks for the input.

I'm doubtful that a corrupt sound file would affect the UI in the way I'm describing. Note that I was able to open the same file and make the adjustments in CS6... then save and re-open in CC... I really think it's an issue with the Flash CC IDE.

I'll try the uninstall / clean / reinstall... and see if that shakes these issues loose.

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 ,
May 18, 2014 May 18, 2014

to be sure, i can't reproduce your problem.  so, it's not a generalized cc problem.

and because everything works as you expect in cs6 does not rule out a sound file issue.

anyway, hopefully the problem resolves with a clean install.

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
Guest
May 22, 2014 May 22, 2014

Dear JRVisuals,

the installation is wrong, and can' t be fixed.

I have found a solution, of course it' s depend what do you want with the file.

- First you need import to library.

- Then for simple control. stop-start, something like that you can make a button instance, Give an instance name for it, and use the code snipper. The code you can see on the action layer, and after you can change the sound file name. Be carefull, if you use more sound file, the function numbers must be change for example from f1-to f2 for the second audio.(everywhere in the code.)

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 Beginner ,
May 23, 2014 May 23, 2014

That really stinks that this can't be fixed.
I've uninstalled, cleaned, reinstalled... twice... and no luck... so yeah... it seems that's the case.


The workarounds are cool... but more than I'm willing to deal w/ on a daily basis... plus I have other UI elements behaving the same way... not just this one tab. My Flash CC is super broken. I have another thread going on that... and it seems to be going nowhere too.


I wonder if this can be submitted to Adobe as a bug if it isn't already a known issue.

Adobe?! Please?!

I've just gone back to using CS6... which mean's I'm not getting my money's worth out of my CC subscription. Boo.


Amy Blankenship - why is your name so familiar... do we know each other from back in the Macromedia days?

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
Guide ,
May 23, 2014 May 23, 2014
LATEST

Possibly, I was a community expert for Authorware and eLearning before Adobe EOD'ed the product the way they did and I kept needling them to do something to help people transition. I had dinner with a few of my old Authorware pals who were in town for a Flex conference last week, and we were laughing about how Adobe's treatment of Flash feels really familiar.

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
Guide ,
May 22, 2014 May 22, 2014

Try saving this extension to the CC commands directory (I don't use CC, so I can't tell you the exact location, but in CS 6 is C:\Users\{you}\AppData\Local\Adobe\Flash CS6\en_US\Configuration\Commands) and see if it gets you close to what you need. If so, you should be able to edit it to get you the rest of the way:

var doc = fl.getDocumentDOM();
var lib = doc.library;

var selections = lib.getSelectedItems();

if (selections.length > 0) {
//Stolen from Search and Replace by Dave Logan
//so we don't have to enter the parameters every time
var searchFor = '.mp3';
var replaceWith = '_Sound';
searchItems = selections;
nameList = removePath(true);
if (searchItems.length == 0){
  alert('No items to replace ".mp3" in');
}else{
  for(i = 0; i < searchItems.length; i++){
   var searchRegExp = new RegExp(searchFor,"g");
   oldname = nameList;
   newname = oldname.replace(searchRegExp, replaceWith);
   searchItems.name = newname;
  }
}
//end stolen/modified code
var newFolder = prompt('Enter folder name to place sound files in', '');
if (newFolder != '') {
  lib.newFolder(newFolder);
}
fl.trace(selections.length);
for (var i=0; i< selections.length; i++) {
 
  var item = selections;
  fl.trace(item.name);
  lib.selectItem(item.name);
 
  if (lib.getItemProperty('linkageImportForRS') == true) {
   lib.setItemProperty('linkageImportForRS', false);
  }
  lib.setItemProperty('linkageExportForAS', true);
  lib.setItemProperty('linkageExportForRS', false);
  lib.setItemProperty('linkageExportInFirstFrame', true);
  lib.setItemProperty('linkageClassName', item.name);
  lib.setItemProperty('compressionType', 'MP3');
  if (lib.getItemProperty('useImportedMP3Quality') != undefined) {
   lib.setItemProperty('useImportedMP3Quality', true);
  }
  if (newFolder != '') {
   lib.moveToFolder(newFolder, item.name, true);
  }
}
}

//Also stolen from search and replace by Dave Logan
function removePath(bSelItems){
if(bSelItems){
  libSelPath=fl.getDocumentDOM().library.getSelectedItems();
}else{
  libSelPath=fl.getDocumentDOM().library.items;
}
itemNames = new Array();
for (a = 0; a < libSelPath.length; a++){
  charStart = libSelPath.name.lastIndexOf("/") + 1;
  itemNames
= libSelPath.name.substring(charStart);
}
return itemNames;
}

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