Reputation: 5029
I'm trying to setup the Facebook sdk for Flex for the first time. I simply copied the Graph API 1.6 web into my lib folder. And when i try and import it, it even shows up as you type, as you can see in img1. But after i save my project I get an error saying it cannot be found. Does anyone know how i should properly setup the facebook flex sdk?
edit: figured it out, thanks!
Upvotes: 0
Views: 215
Reputation: 168
It seems like a flashbuilder's bug.
Two steps:
project => clean => build
restart your flashbuilder
Upvotes: 0
Reputation: 4870
Shouldn't that line read either
import com.facebook.graph.*;
or
import com.facebook.graph.SomeClass;
?
I always rely on Flex Builder to organize my import
statements. That way I never really have to deal with these errors.
Upvotes: 2