rook
rook

Reputation: 67039

Access of undefined property CONFIG::

I am trying to build a Flex project with flash builder 4.6. This project should be fully functional because it has been built before, however I am getting a lot of build errors involving "CONFIG"

The error: "Access of undefined property LOGGING."

CONFIG::LOGGING
{
import org.osmf.logging.Logger;
}

To be honest I am a ActionScript noob, so I am not sure what to call this snip of code. Although it looks like a namespace or a struct I suspect its a configuration option. How so I define this property LOGGING? Why would it be missing?

Upvotes: 1

Views: 1764

Answers (1)

JeffryHouser
JeffryHouser

Reputation: 39408

It sounds like you're missing a compiler argument that adds conditional compilation. Check out the docs.

Basically, you'll need to add something like this:

-define=CONFIG::LOGGING,true

to your compiler string.

Upvotes: 6

Related Questions