Definition spark.effects:AnimateFilter could not be found.

You  are using the old sdk version. Spark supports available from sdk 4. Please add/update your sdk from Project Properties menu in Flash Builder