Compile Error

15 views
Skip to first unread message

spudnik187

unread,
Jul 29, 2008, 1:44:28 PM7/29/08
to Apprise Reader
I've checked out the code from the SVN server and have all the needed
libraries. I get this error when trying to compile in Flex Builder 3
on Mac OS X 10.5.4: "1119: Access of possibly undefined property
languages through a reference with static type Class." in Apprise.mxml
on line 64. This line makes a reference to Capabilities.languages—a
property which does not exist.

Dan

unread,
Jul 29, 2008, 1:58:24 PM7/29/08
to Apprise Reader
Spudnik187,
Capabilities.languages is referring to a setting in Air 1.1, which
added localization and multilingual support. You'll have to download
the latest Adobe AIR SDK from Adobe's site, but if you're using Flex
Builder you can follow this helpful article:
http://www.adobe.com/devnet/flex/articles/flex_air1.1.html

Another tip: after fixing that, you may encounter the error "Unable to
resolve resource bundle 'resources' for locale "en_US." This is the
compiler complaining that it cannot locate the proper directory for
locale files. You'll have to go to the project's properties and add "-
source-path=locale/{locale}" (w/o the quotes) to "additional compiler
arguments."

Hope this helps,
Dan

spudnik187

unread,
Jul 29, 2008, 2:15:06 PM7/29/08
to Apprise Reader
Thanks, Dan. That seems to have cleared it up.
Reply all
Reply to author
Forward
0 new messages