Skip to main content
Participant
May 2, 2013
Question

Editing and exporting Widgets in Flash

  • May 2, 2013
  • 1 reply
  • 722 views

Hello, I am very new to Captivate and action-scripting, and I cannot seem to find a tutorial that explains what I feel should be a fairly simple task:

I have customized widgets which usethe import com.adobe.adobe.captivate.widgets.* and import.adobe.captivate.events.* commands. These widgets will not work in Captivate, and will only import as animations.

I have added the appropriate paths to Flash's actionscript library, but during the publishing from Flash, I receive the following compile errors, describing lines in the widget's aactionscript, which I am sure are why it is not publishing properly:

  • 5001: The name of package 'com.adobe.captivate.widgets' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file. C:\Program Files\Adobe\Adobe Captivate 6 x64\ActionScript\export\as3\com\adobe\captivate\widgets
  • 5001: The name of package 'com.adobe.captivate.widgets' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file. C:\Program Files\Adobe\Adobe Captivate 6 x64\ActionScript\export\as3\com\adobe\captivate\widgets

What do I need to do to get the import to work? The files are present in the approriate directory,C:\Program Files\Adobe\Adobe Captivate 6 x64\ActionScript\export\as3\com\adobe\captivate\widgets, but Flash does not seem to recognize them.

Why is there no basic tutorial for using these Actionscript classes and events?

I looked around on the forums to see if this was answered before, so I hope this isn't a repeated question. I feel like the answer to this must be something very simple.

    This topic has been closed for replies.

    1 reply

    RodWard
    Community Expert
    Community Expert
    May 3, 2013

    If you're serious about building Captivate widgets, you need to be using the WidgetFactory API and you need to be reading up on the Widget King's website blog:

    http://www.infosemantics.com.au/widgetfactory/info