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

  • SEARCH
  • Home
  • 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 3664316
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T01:37:57+00:00 2026-05-19T01:37:57+00:00

Adobe states that Charts are supported in mobile projects but when I try to

  • 0

Adobe states that Charts are supported in mobile projects but when I try to change the following working files (created project with File – New – Flex Mobile Project – Google Nexus One):

MyTest.mxml:

<?xml version="1.0" encoding="utf-8"?>
<s:MobileApplication 
      xmlns:fx="http://ns.adobe.com/mxml/2009" 
      xmlns:s="library://ns.adobe.com/flex/spark" 
      firstView="views.MyTestHome">
 <s:navigationContent>
  <s:Button label="Home"
     click="navigator.popToFirstView();"/>
 </s:navigationContent>

 <s:actionContent/>
</s:MobileApplication>

MyTestHome.mxml:

<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" 
  xmlns:s="library://ns.adobe.com/flex/spark" 
  title="Test Chart">
</s:View>

to the new MyTestHome.mxml:

<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" 
  xmlns:mx="library://ns.adobe.com/flex/mx" 
  xmlns:s="library://ns.adobe.com/flex/spark"
  title="Test Chart">

 <fx:Script>
  <![CDATA[
   import mx.collections.*;

   [Bindable]
   private var medalsAC:ArrayCollection = 
    new ArrayCollection( [
    {Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
    {Country:"China", Gold: 32, Silver:17, Bronze: 14 },
    {Country:"Russia", Gold: 27, Silver:27, Bronze: 38 } 
   ]);
  ]]>
 </fx:Script>

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

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

and also add

  • c:\Program Files\Adobe\Adobe Flash
    Builder Burrito\sdks\4.5.0\frameworks\libs\datavisualization.swc
  • c:\Program Files\Adobe\Adobe Flash Builder Burrito\sdks\4.5.0\frameworks\libs\sparkskins.swc
  • c:\Program Files\Adobe\Adobe Flash Builder Burrito\sdks\4.5.0\frameworks\libs\mx\mx.swc

to Flex Build Path (clicking “Add SWC” button):

alt text

Then it fails with the error:

Could not resolve to a component implementation.

Does anybody please have an idea here?

  • 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-19T01:37:58+00:00Added an answer on May 19, 2026 at 1:37 am

    Okay got this working, here’s what I have setup, using the default Hero SDK that comes with Flash Builder Burrito I was able to ultimately get this working I also tested with the Hero 17689 build and it appears to be working fine as well. You only need the two swcs imported from the 4.5.0\frameworks\libs folders the mx.swc and the datavisualization.swc. After adding these two I also needed to correct the namespaces in order to get it to be recognized and build and run.
    alt text

    TestMobileApp.mxml

    <?xml version="1.0" encoding="utf-8"?>
    <s:MobileApplication xmlns:fx="http://ns.adobe.com/mxml/2009" 
                         xmlns:s="library://ns.adobe.com/flex/spark" firstView="views.TestMobileAppHome">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
    </s:MobileApplication>
    

    TestMobileAppHome.mxml

    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009" 
        xmlns:mx="library://ns.adobe.com/flex/mx" 
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:charts="mx.charts.*"
        xmlns:series="mx.charts.series.*"
        xmlns:chartClasses="mx.charts.chartClasses.*" 
        title="Test Chart">
    
    <fx:Script>
        <![CDATA[
            import mx.charts.PieChart;
            import mx.collections.*;
    
            [Bindable]
            private var medalsAC:ArrayCollection = 
                new ArrayCollection( [
                    {Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
                    {Country:"China", Gold: 32, Silver:17, Bronze: 14 },
                    {Country:"Russia", Gold: 27, Silver:27, Bronze: 38 } 
                ]);
        ]]>
    </fx:Script>
    
    <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>
    </charts:PieChart> 
    

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

Sidebar

Related Questions

The Adobe docs (I can't find which) state that Flash can read Shared Objects
I've been reading that Adobe has made crossdomain.xml stricter in flash 9-10 and I'm
There is an example on Adobe livedocs for using states : <!-- Define one
In my Adobe Air application I have a change event handler attached to a
I am programming an aplication with Adobe Flex, but because i just begining with
Messing about a bit, i have a working Adobe After Effects plugin with a
I am making a small app that deletes log files. I am using an
I Adobe Air completly JavaScript? Can't I use a .NET language like VB.NET or
This page from Adobe says to add a wmode parameter and set its value
I am using Adobe Captivate 3 and am having trouble disabling the typing noise

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.