Skip to main content
Known Participant
February 27, 2019
Question

At my wits end! adobe captivate 2019 Swf compilation failed. Note: Please verify if any of the actionscript keywords is used as user variable name

  • February 27, 2019
  • 9 replies
  • 4230 views

I keep getting this error code when I am trying to publish projects.  I am trying to publish in video format.  I have copied and pasted the slides into a blank project and received the same error. 

My computer was upgraded to Windows 10 and Captivate 2019.  I used to be on Captivate 8.  After the upgrade that is when all of this started.

Thanks in advance for suggestions.

This topic has been closed for replies.

9 replies

pat.jackson1225
Participant
February 20, 2023

I was getting this too.  I changed the Publish and Cache folders to my C drive as they were on a network.  

Then I cleared the cache.  After clearing the cache I was able to publish to video. Seems to be a combo of Captivate 2019 not being able to handle network drives plus some sort of corrupted file in my cache.  But I am certainly no expert...I just got lucky. Best of luck to everyone else out there experiencing this issue. 

pat.jackson1225
Participant
February 20, 2023

I was getting this too.  I changed the Publish and Cache folders to my C drive as they were on a network.  

Then I cleared the cache.  

After clearing the cache I was able to publish to video. 

 

Seems to be a combo of Captivate 2019 not being able to handle network drives plus some sort of corrupted file in my cache.  But I am certainly no expert...I just got lucky.

 

Best of luck to everyone else out there experiencing this issue. 

Participant
November 9, 2020

All recommended actions done but this error continues.

It is crazy, I invested so much money in a "reliable" program, working a few days on a project and then can't do anything.

There is no information about error, position, just the whole project becomes unusable.

Breaking few deadlines, and do not know what to do now, choose another software, all my planned work structure is now pure nothing.

Lilybiri
Legend
November 10, 2020

Please, post your question with all details i a new thread. This is an old thread, and lot may have changed. Which exact version (Help, About Captivate gives you full version number) do you use? Which error message do you get? Are you busy with a responsive or a non-responsive project? Apparently you are new to Captivate, it may be a very simple fix, and we are all ready to help you.

Participating Frequently
November 27, 2019

Is there a simple solution to this problem?  Or at least a confirmed solution?

RodWard
Community Expert
Community Expert
November 28, 2019

This issue is usually caused by some corruption in the CPTX file.  It could be one or more slides corrupted, or just objects on a slide.  The solution involves using a process of elimination to narrow down which slide/s or objects are causing the issue.  Just take a copy of your CPTX to experiment with and start hiding groups of slides before trying to republish.  Hiding a slide means it does not end up in the published output.  In just a few minutes you should be able to locate where the corruption is and then either remove and rebuild the slide, or remove and replace the corrupted object.

Known Participant
December 2, 2019

Hi Rod,

I've tried narrowing down the slide, but am unable to publish video regardless.  I'm on Windows 10 and Captivate 2019.  I'm at the end of my rope and at deadline.  I need to this simple simulation published.  Any insight here would be helpful.

Participating Frequently
June 18, 2019

After installing the latest version of Captivate, same things has happened. It changed my Cache and Publish folders back to the original ones with OneDrive in them and it won't Preview or Publish again. Why does Captivate even use SWF anymore. So obsolete!!!! Can someone fix this? This tool is useless unless we can publish and preview. Having OneDrive in the path shouldn't matter.

Lilybiri
Legend
June 18, 2019

Just want to react to 'obsolete'.  From what I read and hear, many companies are using tons of SWF-based eLearning courses and/or are still using very olc Browser versions which barely support HTML5.

My Captivate folders are also on OneDrive but I don't have any Publish/Preview problem using 3 different PC's).  This proves that the tool is not useless to me.... question 'why' is it for you?

Participating Frequently
May 23, 2019

I'm getting this same issue. I got a new laptop yesterday and installed Captivate on it. Opened the same project I've been working on, made no changes and tried to generate a video. This worked yesterday on my old laptop with the exact same version of Captivate 2019 and Windows 10 and today, on my new laptop, it gives me the "Swf compilation failed..." issue. There is nothing wrong with the file because it worked on my old machine and haven't added any extraneous characters or anything.

Participating Frequently
May 23, 2019

I also opened a new file, put nothing in it and tried publishing a blank 1 slide project and got the same issue.

Participant
May 29, 2019

This has happen to me, too.  My project was publishing fine when SWF was selected and then I made some changes by importing a PPT which I know that PPT elements (images, animations, etc.) are converted to SWF so that was probably the trigger when I noticed I wasn't able to publish.  Did you fine any solution?

trishpawAuthor
Known Participant
February 28, 2019

Thank you both for your responses.

I have a screenshot below to show you that it is indeed giving me this error when I try to publish a video.  It published in HTML5 it works.  Please see below screenshots of when I am publishing in Video format.

I have also tried copying and pasting all slides into a new project and it does the same.

Again, thank you for the suggestions.

Paul Wilson CTDP
Community Expert
Community Expert
February 27, 2019

Does your eLearning course have question pools? If so, try renaming them to something very simple like pool1, pool2. It could be another item in your project but I was pulling my hair out for a week a number of years ago when I stumbled on this solution.

Paul Wilson, CTDP
RodWard
Community Expert
Community Expert
February 27, 2019

Something doesn't add up here.  SWF is not a video output.  You cannot publish to both SWF and Video (e.g. MP4) at the same time.

If SWF compilation is failing, the cause is usually some component on one of the slides. One way to locate the slide is to try hiding all slides in one half of the project and then attempting to publish?  If that works, hide the other half and see what happens.  If you can get something to publish at all, then use a process of elimination to locate the offending slide or slides.  Then start pulling objects off the slide that seems to be the culprit until you find the object that is causing all this.

Lilybiri
Legend
February 28, 2019

Rod, when publishing a cptx project to video, at a certain moment a mention 'SWF to MP4 conversion' appears. I don't know the exact process, but couldn't this mean that it is essentially a SWF problem?

RodWard
Community Expert
Community Expert
February 28, 2019

OK. I see what you mean.  The publishing process is basically first publishing an SWF and then probably creating the video frames from the SWF frames.

Either way the same issue is going to recur if there is some corruption or issue on any of the slides.  If you cannot get the project to publish to SWF, then it's never going to get to MP4 after that.

I still think the way to debug this is to try hiding groups of slides and then again trying to publish to SWF to find out if you can publish without those slides being involved. 

The other thing I would do is NOT set my publish folder to be a ONE Drive folder.  Point to a normal folder somewhere on your C drive, preferably close to root level.  The publishing issue could be that you are publishing to a drive that is closely related to a cloud service.