Reputation: 31
i opened a flash pro project in flashbuilder 4.5 but it puts a question mark next to my import statements for example: import flash.display.; I have tried rebuilding the project in a new folder. I have the latest SDK. why would Flashbuilder have a problem finding flash.display.; or import flash.events.*; very irritating is there a way to fix this or should i just continue to use textmate to code as3?
Upvotes: 3
Views: 2358
Reputation: 11659
This is what I found:
When I create a new Flash Professional project from FlashBuilder 4.5, the Flash IDE opens and my flash.display.Sprite import looks like it's broken.
If I close the Flash IDE, FlashBuilder opens it right back up again, and my imports look fine after that.
YMMV
Upvotes: 0
Reputation: 2398
I'm having this issue myself from time to time, even in current Flash Builder 4.5 (never figured out how to replicate it though).
To solve it do this:
Right click on your project in Project Explorer tab of Flash Builder > Properties
Once there select ActioScript Build Path > Library path > Add SWC folder
Select this directory C:\Program Files\Adobe\Adobe Flash CS5.5\Common\Configuration\ActionScript 3.0\FP9
(optionaly) If you wish to target FP10, add this dir instead C:\Program Files\Adobe\Adobe Flash CS5.5\Common\Configuration\ActionScript 3.0\FP10
Upvotes: 12