Forgot how to code in AS3. Derp.

Changed the parameter so it will actually work.