try adding a source folder path rather than linking to the .as file itself.
folder path of libraries/com/foreignproject is what you need i think
Thanks for responding!
I don't quite understand your answer.
Are you suggesting that I insert a different import statement?:
or are you suggesting that I add the foreignproject folder to the source path?
I have already tried adding the foreignproject folder to the source path, but this results in the same "not found" error.
yep, i meant add folder to source path.
Yeah I still get a "does not exist" error.
Below are the steps I use to add it to the source path:
right click on Main Project Package in Package Explorer
select "ActionScript Build Path"
click "Source path"
click "Add Folder"
browse for folder: "libraries/com/foreignproject"
it gets translated automatically to:
That is how I add a folder to the source path.
Please let me know if I'm not doing that right.
maybe FB is getting confused by the folder structure (/libraries/com/foreignproject/com/foreignproject/) as you have repeated the com/foreignproject path (when it internally replaces $[com] with the full path?
can you overwrite "$[com]/foreignproject" and replace it with a full path (eg c:/folder/path/etc/libraries/com/foreignproject/com/foreignproject/ ?
Thanks Lee for your continued help.
I tried to manually edit the folder path, but Flash Buider said that it was an invalid path and insisted on inserting "$[com]/foreignproject"
So I just moved the folder to eliminate the repeated names, and now the path is:
but I still run into the same problems, either it says that "DesiredClass cannot be found" (when I select the com folder)
or it says that there is an error with the package name in DesiredClass (when I select the foreignproject folder)