Friday, September 4, 2009

"Flash" package missing, code hinting lost

Earlier today I started getting some ridiculous behavior out of Flex Builder. All code completion revolving around the Flash package, especially events, just quit. Then it started flagging the word "flash" itself as an error:

1120: Access of undefined property flash.

After a while hitting up the bug database and searching the googleverse I found this great tip from Garth Somerville - make a new workspace.

It's kind of a pain, but it worked!

Update:
WHEN THIS FAILS: When this fails, as Andrew T pointed out in the comments, re-install the SDK

AND WHEN THAT FAILS: Re-intsall Flex Builder. After re-building my workspace 5 times with no luck, reinstalling the SDK, and fighting with this for hours, I finally just scrapped all of that and re-installed Flex Builder. It all works fine now - old workspaces and all.

3 comments:

Unknown said...

This can also be caused by a broken Flex SDK. If a new workspace fails to address the issue, the next step is to reinstall the Flex SDK.

Jake Lyman said...

After reinstalling Flex Builder 3, I am still having this issue. The only code hinting I'm getting is for the flash.errors package. Any other ideas on what might be causing this?

RJ said...

Damn - you've reinstalled FB, deleted your project files, changed workspaces, and re-installed your SDK? Which SDK are you using? I can't imagine that removing all of those things wouldn't fix it...all you're left with after that is raw code!!