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!

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.


Andrew T 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!!

Anonymous said...

Business organizations have to realize the fact that many people just click away to some other website, because the website they are looking at is not professional looking or is not interesting enough. Only a well designed website can serve the purpose of its existence.
Once the website is designed up to the mark, then comes the role of SEO because a well designed website won’t serve it’s purpose until and unless it has a good search ranking. Globally India is the most sort after for such solutions. There are many companies in India that provide solutions for web designing ecommerce and website seo development and in their race of being the best Virtual Studio is leading the way.