Skip to main content
October 25, 2013
Question

Publishing fails on 1st try, succeeds on 2nd

  • October 25, 2013
  • 1 reply
  • 1098 views

when I publish a project as SWF, I get error message "Swf compilation failed. Note: Please verify if any of the actionscript keywords is used as user variable name."  This message appears after the "Generating slides" and the "Saving SWF file" status reports in the publish progress dialog. If I clck OK at the error message, then try publishing the same project again (without closing it), the publish is always successfully completed.

I have tried restarting captivate, and deleting the captivate session temp directory in AppData\Local\Temp folder.  since this behavior happens on 4 of every 5 projects I have tried to publish today, I don't think the Cached Project files are to blame (none of these projects were cached before I opened them today because I clear the cache nightly).

Any ideas?

This topic has been closed for replies.

1 reply

Gojak
Inspiring
October 30, 2013

Hi rygaar,

I am also getting the same error message. I am using CP7. Deleting cached files and Temp folder didn't work out for me.

I have discovered that error occurs when adding Pretest slides. If I save the project while it reports that message, the whole project is lost since I can't publish it anymore. So I have created another project and added slides from the first project without pretest and everything was working fine. After inserting pretest slides> that error message came back. Then I deleted all slides, deleted everything from library and I have even deleted all advanced scripts, stripping the whole project to one blank  slide. I have deactivated quiz reporting also.

The same error comes back:

Swf compilation failed. Note: Please verify if any of the actionscript keywords is used as user variable name

So my only conclusion was that when this error happens, it becomes "embedded" somehow in the CP project file. This is really confusing.

Other posts where suggesting that there might be special characters on some slides, but that is not the case here.

October 30, 2013

Interesting Gojak. This happened to me using CP6, and the projects that had this problem had no quiz slides. By pretest slides, you mean slides that appear before quiz slides in a project?

Gojak
Inspiring
October 30, 2013

No, I mean Pretest Question Slides. New feature, from the menu select Quiz>Pretest Question Slide. Wierd error. I have reproduced the same error every time I try to add those Pretest Question Slides.