I've been working on this big project for the last 5 weeks and all of a
sudden today started getting errors on all my Embed statements in my
style sheet.
The following lines are an example of what Flex Builder now thinks are
invalid statements:
.trashButton
{
up-skin:Embed(source="/assets/ApplicationResources.swf#TrashCanClosed");
over-skin:Embed(source="/assets/ApplicationResources.swf#TrashCan");
disabled-skin:Embed(source="/assets/ApplicationResources.swf#TrashCanClosed");
down-skin:Embed(source="/assets/ApplicationResources.swf#TrashCan");
}
The resources are compiled into the application just fine, as they show
up in the application. However, the IDE sees these lines as errors and
will report them with:
Invalid Embed directive in stylesheet - can't resolve source
'Embed(source = "/assets/ApplicationResources.swf#TrashCan")
I created a new test application with the same statement in it and
everything works as it should.
Cleaning the project won't resolve the issue.
Anyone run into this?
Thanks,
Jurgen