Skip to main content
Participant
November 4, 2015
Answered

swf compilation failed

  • November 4, 2015
  • 5 replies
  • 8978 views

Hello and thank you .

How to fix this "Swf compilation failed. Note: Please verify any of the actionscript keywords is used as user variable name." in captivate 8. PC.

    This topic has been closed for replies.
    Correct answer eburgos

    Hello and thank you all for your interest in helping. I appreciate it.
    I was able to fix this with the help of Sankaram. Many thanks.

    This is what worked for me:
    -- Close captivate and delete the preferences and re-launch

    Deleting Preferences

    1. Go to the Utils folder in captivate installation folder C:\Program Files\Adobe Captivate 8 x64\Utils\ 
      2. Then  Double click “CleanPreferencesWin”
      3. Re-launch
      4. Create a blank project and press F12.

    I hope this works for you too.

    5 replies

    eburgosAuthorCorrect answer
    Participant
    November 18, 2015

    Hello and thank you all for your interest in helping. I appreciate it.
    I was able to fix this with the help of Sankaram. Many thanks.

    This is what worked for me:
    -- Close captivate and delete the preferences and re-launch

    Deleting Preferences

    1. Go to the Utils folder in captivate installation folder C:\Program Files\Adobe Captivate 8 x64\Utils\ 
      2. Then  Double click “CleanPreferencesWin”
      3. Re-launch
      4. Create a blank project and press F12.

    I hope this works for you too.

    Participant
    September 22, 2020

    Well, this problem is still around. I have version 11.5.1. I restarted my computer, which did not work but would have been nice. I deleted the preferences, lost all my preferences and the problem still exists. I also searched for quotes of any kind in any text box. I tried previewing 5 slides at a time but the error comes up from slide 1 all the way through.

    RodWard
    Community Expert
    Community Expert
    September 23, 2020

    Are you actually still publishing to SWF?  Try HTML5 to see if that works better.  (SWF is not recommended anymore.)

     

    Take a copy of your project and try hiding groups of slides before test republishing to see if you can isolate any particular slides that stop the publishing from successfully completing.

     

    If your project has become corrupted and that is what is causing this issue, try copying alls slides over to a new project shell of the same size.

    eburgosAuthor
    Participant
    November 5, 2015

    Thank you all for trying to help.

    Captiviate had been working for me great for at least 2 years until this, 2 days ago.

    I did the Use32BitJVMForPublish = 1 thing and it seems to work. however there is a file, a quiz, that keeps bothering.

    Has anyone contacted adobe ever?

    As they say in Spain... grassy-ass!  

    natascham63723891
    Participant
    November 18, 2015

    To give you an example for a potential cause for this error, we ran into this issue today and found the cause for our particular project:

    It was caused by a web page link applied to text that contained straight double quotes – instead of curly/comma like double quotes.

    The text phrase that was linked to a web page read:

    Getting "Buy In" from your project team

    And the whole phrase was linked to a Youtube video.

    Once we changed the straight double quotes (that were copied from a Word document) to curly double quotes, the compilation error disappeared.

    Please note: Using the straight double quotes in just text (with no web link associated) did NOT cause any compilation issue for us.

    The issue only occurred when the text with the straight double quotes was associated with a web link.

    Our issue would basically refer to what is called Solution 2: Remove invalid characters in text fields of the project in the above mentioned link SWF compilation failed error.

    I guess meaning that straight double quotes become invalid characters if they are used with text that is linked to a web page or similar.

    TIP: How to track down the slide that causes the issue

    If the cause of the issue is on only one slide, it worked for us to track down this issue by using the Preview > Next 5 slides.

    The Preview will cause the compilation error if the slide with the cause is in these 5 slides.

    Important: The compilation error will not show in the Preview if the slide is hidden. This will also help you narrow down and identify the trouble-maker.

    Hope this helps.

    Cheers from Brisbane,

    Tash

    Adobe Employee
    November 5, 2015

    Hi,

    Check this link if you still face the issue

    SWF compilation failed error

    Thanks,

    Rahinie

    RodWard
    Community Expert
    Community Expert
    November 5, 2015

    Rahinie,

    That link is very useful for troubleshooting this issue.  But most people wouldn't have a clue which specific words are AS3 methods or variables.If Adobe's documentation does have these listed somewhere, I suggest that the page you linked should also have a link to that other page listing the keywords so that Captivate authors can check their object names against it.  Otherwise they have no way to debug this.

    RodWard
    Community Expert
    Community Expert
    November 5, 2015

    This can be caused by several things:

    • Some object on one of the slides that is corrupted.
    • You have inadvertently used a reserved ActionScript keyword as the name of an object, user variable, or advanced action.

    If none of the above turns out to be causing it, you could always try:

    • Clearing out your browser cache.
    • Resetting your Preferences folder
    Inspiring
    November 4, 2015

    I had this issue yesterday, and to be honest, when I restarted my computer, the error message didn't come back, and it didn't come back all day today. I know this isn't a real answer, but I thought I'd let ya know!