Description resource path location type
The prefix "MX" of the element "mx: Panel" is not bound ". Helloworld. mxml/helloworld/src 23rd-line flex Problem
Add
Xmlns: MX = "Library: // ns.adobe.com/flex/halo"
If
Description resource path location type
You have specified the unique parameter mxbench bound to the namespace "http://www.w3.org/2000/xmlns/#for" s: application ". Helloworld. mxml/helloworld/src 6th-line flex Problem
Modify a namespace
Xmlns: MX = "Library: // ns.adobe.com/flex/mx"
The modified program is
<? XML version = "1.0" encoding = "UTF-8"?>
<S: Application xmlns: FX = "http://ns.adobe.com/mxml/2009"
Xmlns: MX = "Library: // ns.adobe.com/flex/mx"
Xmlns: S = "Library: // ns.adobe.com/flex/spark"
Preloader = "MX. preloaders. downloadprogressbar">
<FX: style>
@ Namespace s "Library: // ns.adobe.com/flex/spark ";
@ Namespace MX "Library: // ns.adobe.com/flex/halo ";
S | button {
Color: # ff0000;
}
MX | datechooser {
Color: # ff0000;
}
</FX: style>
<S: hgroup Gap = "50" horizontalcenter = "0" Top = "10">
<S: panel width = "200" Height = "200" Title = "Spark panel">
<S: layout>
<S: horizontallayout paddingleft = "10" paddingtop = "10"/>
</S: layout>
<S: button label = "Spark button"/>
</S: Panel>
<Mx: panel width = "200" Height = "200" paddingleft = "10" paddingtop = "10" Title = "MX panel">
<Mx: button label = "MX button"/>
</MX: Panel>
</S: hgroup>
</S: Application>