Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7627519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:28:13+00:00 2026-05-31T05:28:13+00:00

Why do I need to do add extra namespace declarations (below) in a Flex

  • 0

Why do I need to do add extra namespace declarations (below) in a Flex 4.1 “MX only component set” project to get it to compile within Flash Builder? (It says mx:LineChart cannot be resolved when a chart is added via Design View, and datavisualization.swc is referenced.)

Is there a way I can get this to compile without adding these special xmlns:charts, xmlns:series and chartClasses to the declaration? (If I just leave the default namespaces and use mx:SomeChartComponent, it doesn’t compile.)

<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:fx="http://ns.adobe.com/mxml/2009" 
xmlns:mx="library://ns.adobe.com/flex/mx" 
xmlns:charts="mx.charts.*"
xmlns:series="mx.charts.series.*"
xmlns:chartClasses="mx.charts.chartClasses.*">


<charts:PieChart id="chart" height="100%" width="100%"
             paddingRight="5" paddingLeft="5" color="0x323232"
             dataProvider="{medalsAC}" >

<charts:series>
    <series:PieSeries labelPosition="callout" field="Gold">
        <series:calloutStroke>
            <s:SolidColorStroke weight="0" 
                                color="0x888888" alpha="1.0"/>
        </series:calloutStroke>
        <series:radialStroke>
            <s:SolidColorStroke weight="0" 
                                color="#FFFFFF" alpha="0.20"/>
        </series:radialStroke>
        <series:stroke>
            <s:SolidColorStroke color="0" 
                                alpha="0.20" weight="2"/>
        </series:stroke>
    </series:PieSeries>
</charts:series>

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T05:28:14+00:00Added an answer on May 31, 2026 at 5:28 am

    I don’t believe you can do it without defining the extra namespaces/packages. This is due to a change in the mx namespace when moving to Flex 4, the mx namespace is now defined as:

    library://ns.adobe.com/flex/mx

    it used to be:

    http://www.adobe.com/2006/mxml

    Here’s more on namespaces:
    http://livedocs.adobe.com/flex/3/html/help.html?content=03_Language_and_Syntax_06.html

    Basically using the old namespace should work for the charting code since it’s defined with that namespace however then it would expect to find all the updated mx components with that namespace too which is where I think you’d be running into problems.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to add extra validation to my DateField in Admin to make sure
I use a jquery validation plugin and I need to add some extra checking,
I need to add some extra field to Joomla registration form without using any
I can't use wx.ProgressDialog because I need to add extra contents to the dialog
I need to add extra fields in the CSR, like keyusage, regestrationID etc.I am
im new to python gasp . im wondering do i need extra add-on module
i need to add extra button in android inbuilt keyboard or above keyboard it's
I need to add some extra text to an existing PDF using Python, what
How do I add extra line text within the calendar control of the datepicker
I need add a new user group for mediawiki. The new group has more

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.