Is there a new way to reference image effects? (b17)

I recently swapped out the old image effects in my project with the new image effects that ship with Unity, and I’m running into problems.

For example, at the top of my code (js) I have:

private var scrn : ScreenOverlay;

In the Awake function I have:

scrn = cam.gameObject.GetComponent(ScreenOverlay);

Now I’m getting this error (at the first line I posted):

Which makes me wonder if something was changed (like how you have to reference rigidbodies differently now)

All of the files are there too

Any ideas? This worked fine before.

I did this just now. Make sure you have “using UnitySampleAssets.ImageEffects;” at the top and then you can get the components.
In my case:
Camera.main.GetComponent().enabled = false;

EDIT: ah, didn’t see you were using Js. My example is in C#

I’m aware of this, and as you can see I had no trouble importing them into my project.
The problem is how does this change the way they are referenced in the code? Because it doesn’t seem like it should be any different.

oh, my bad. I do that not reading thing sometimes.

I think it’s a compiliation / build order issue, like if you read here:

try taking all the “Sample Assets” and dragging them into a Folder named “Standard Assets”. Make sure the javascript file is in one of the “non-special” folders.

Maybe they didn’t configure the new Sample Assets folder to build in the correct order, or its bugged or something.