[Embed] suddenly not working

Hello

I’ve been using the embed tag for a while and it has been working perfectly. I’ve got an XML file that I have embedded into my .swf, using

[Embed(source="nodes.xml", mimeType="application/octet-stream")]

as per this site’s instructions and I have had no problems with it. However it has just decided that it no longer wants to compile anymore, giving six errors on this line and this line only:

Line 32 1180: Call to a possibly undefined method Embed.
Line 32 1120: Access of undefined property source.
Line 32 1120: Access of undefined property mimeType.
Line 32 1180: Call to a possibly undefined method Embed.
Line 32 1120: Access of undefined property source.
Line 32 1120: Access of undefined property mimeType.

(Yes, 3 errors given twice each)

Does anyone have any idea what is happening? I had added a new function just before this error started appearing, but it had absolutely nothing to do with the embedding and the problem still happens after I comment out everything I added before the error.

This is in Flash CS5 by the way.