0
votes

I have downloaded the as3syndicationlib library from here, but I am having trouble adding it to my project. I dragged the folder into my project > src folder, and when I started importing the files from it (com.adobe.xml.syndication.rss.RSS20) all seemed to be fine, until I hit save. Then I started to get error that say:

Multiple markers at this line: -1084: Syntax error: expecting identifier before import. -The import RSS20 could not be found. -adobe -The import rss could not be found. -The import syndication could not be found. -The import xml could not be found. -91 changed lines

I have never used an external library with Flash Builder/Flex/ActionScript3 before so I have no idea what to do. I know that this is probably very simple to do, but I am new at flash builder and flex.

Any help is highly appreciated!

Thanks, Jacob

EDIT:

I got it to work. What I was doing wrong was I was added source code to my project when I should have added the xmlsyndication.swc file to my project.

1
You said you dragged "The folder". What folder is this? What are its contents? If you have the library as a SWC; read this blog post to see if it helps: flextras.com/blog/index.cfm/2009/12/18/…JeffryHouser

1 Answers

2
votes

You need to add it to a lib folder instead of src... if you don't have a lib folder just make one. Then right click the project in Flash Builder and hit properties, in the menu on the left select Library Path (or something like that), click the Add Folder button and type lib. Do a clean build (Build Menu -> Clean).