Error 5001- I saw a few discussions about this but nothing seems to help
Hello,
I am very new toaction-scripting, and I cannot seem to find a tutorial that explains what I feel should be a fairly simple task:
I have customized widgets for Adobe Captivate which use the import com.adobe.captivate.widgets.* and import.adobe.captivate.events.* commands.Right now they aren't working and here's why:
I have added the appropriate paths to Flash's actionscript library, but during the publishing from Flash, I receive the following compile errors:
- 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
Now, the obvious solution would be to review the names and locations and correct them to match. But the problem is they do match already.
The files are in the directories C:\Program Files\Adobe\Adobe Captivate 6 x64\ActionScript\export\as3\com\adobe\captivate\widgets
and
C:\Program Files\Adobe\Adobe Captivate 6 x64\ActionScript\export\as3\com\adobe\captivate\events
but Flash does not seem to recognize them. The Compile Errors point to the CPMovieHandle and CPMovieProperties as directly, not the actionscript calling them, and specifically to line one of each:
package com.adobe.captivate.widgets
I looked around on the forums to see if this was answered before, and found this is a common error, but usually the answer is simply that the paths don't match or a difference in lower and uppercase letters. My paths appear to be the exact same.
