The prefix "MX" of the element "mx: Panel" is not bound"

Source: Internet
Author: User

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>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.