Aug 7th, 2010, 09:44 PM
Getting error "[EventHandler]/[RouteEvents] cannot be declared on public elements."
I'm using SpringAS 1.0RC1 and recently switched from Flex SDK 4.0 to 4.1.
Curious to know if anyone else is getting compiler errors in FlashBuilder 4.0.1.
It seems I can no longer add [RouteEvents] or [EventHandler] tags to mxml without getting the following error:
[EventHandler] cannot be declared on public elements.
[RouteEvents] cannot be declared on public elements.
Aug 7th, 2010, 11:13 PM
The issue had to do with the way I was using the Sourcemate plugin. I think it occurs when a project has its own Sourcemate configuration (separate from the workspace-wide configuration) and the configuration doesn't contain information about all the metadata used in the project.
Tags for this Thread