Archive for February, 2009
Data binding expressions not supported with attributes processed at compile time.
Data binding expressions not supported with attributes processed at compile time.
This error occurred when I tried to bind the source property of a Style.
XML:
No comments
-
<mx:Style source="{style}" />
The prefix “mx” for element “mx:VBox” is not bound.
The prefix "mx" for element "mx:VBox" is not bound.
Explanation:
The prefix "mx" is not bound to any namespace definition. In my case the namespace definition was missing in my MXML component.
Incorrect
XML:
-
<?xml version="1.0" encoding="utf-8"?>
-
<mx:VBox>
-
-
</mx:VBox>
Correct
XML:
No comments
-
<?xml version="1.0" encoding="utf-8"?>
-
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml">
-
-
</mx:VBox>