Could not resolve mx:horizontalAxisRenderers to a component implementation

Hi,
    When I  running the following code
mx:horizontalAxisRenderers>
            <comp:ScrollableAxisRenderer id="scrollAxisRenderer" axis="{t_value}" tickPlacement="none"   placement="bottom"
                    labelGap="3"  maxVisibleColumns="8"   />
        </mx:horizontalAxisRenderers>
                         in my application I get the below error
Severity and Description    Path    Resource    Location    Creation Time    Id
Could not resolve <mx:horizontalAxisRenderers> to a component implementation.
Any help on this please do mail
Regards
Kalavati Singh
[email protected]

Kalavati,
I replied to this under the thread name "Component Implementation problem" where yuo posted the same question. In case you missed that, my answer was:
horizontalAxisRenderers is a property of CartesianChart (and hence of course any descendants). In the example under the AxisRenderer class in the Adobe docs it shows how <mx:horizontalAxisRenderers> is used as an array container for the actual renderer itself
<mx:AxisRenderer axis="{haxis}" canDropLabels="true"/>
In terms of designing an MXML file you can only legally add the <mx:horizontalAxisRenderers> element within a chart of some kind. Personally I find it easier to think of the class structure by thinking about how to do it in ActionScript. Here you would create your actual renderer object of type AxisRenderer, then create an ordinary Array and push the new AxisRenderer into it, then set the horizontalAxisRenderersproperty of your chart to opint to the Array. So horizontalAxisRenderers is "secretly" just an array, not anything with real functionality.
Richard

Similar Messages

  • Error: Could not resolve s:SolidColor to a component implementation

    So I have a library project and in that project I have a CustomDataGridBackgroundSkin file which is as follows:
    <?xml version="1.0" encoding="utf-8"?>
    <s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009"
                 xmlns:s="library://ns.adobe.com/flex/spark"
                 xmlns:mx="library://ns.adobe.com/flex/mx"
                 minWidth="25" minHeight="25">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <!-- layer 4: fill highlight -->
        <s:Rect left="0" right="0" top="0" height="100%" >
            <s:fill>
                <spark:SolidColor color="0x968f89" alpha="1" />
            </s:fill>
        </s:Rect>
    </s:SparkSkin>
    I am simply trying to get an ant task to compile this library to SWC, but I am getting a " Error: Could not resolve <s:SolidColor> to a component implementation" error during compile.  The only way to fix it is to add these lines of code (bold).
    <?xml version="1.0" encoding="utf-8"?>
    <s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009"
                 xmlns:s="library://ns.adobe.com/flex/spark"
                 xmlns:mx="library://ns.adobe.com/flex/mx"
                xmlns:spark="mx.graphics.*"
                 minWidth="25" minHeight="25">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <!-- layer 4: fill highlight -->
        <s:Rect left="0" right="0" top="0" height="100%" >
            <s:fill>
                <spark:SolidColor color="0x968f89" alpha="1" />
            </s:fill>
        </s:Rect>
    </s:SparkSkin>
    I can also get this error to go away if I put this line in my build.xml file: "<include-sources dir="${src.dir}" includes="*"/>"
    But then I get this error => "[compc] Error: Unsupported file type: C:\dev_projects\features\flex4version\web\OneVoice\src\components.xml"
    components.xml is my manifest file.
    Anyone know what the issue is?  Why would I need the xmlns:spark="mx.graphics.*" namespace when I have xmlns:s="library://ns.adobe.com/flex/spark"?

    Curious. Which version of the Flex SDK are you using?
    Does this work if you try in a brand new project using Flex 4.1 or Flex Hero?
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx">
        <s:controlBarContent>
            <s:Button label="goto s1" click="currentState = 's1';" />
            <s:Button label="goto s2" click="currentState = 's2';" />
            <s:Button id="sdkVer" initialize="sdkVer.label = mx_internal::VERSION;" click="System.setClipboard(sdkVer.label);" />
        </s:controlBarContent>
        <s:states>
            <s:State name="s1" />
            <s:State name="s2" />
        </s:states>
        <s:Rect left="30" right="20" top="20" bottom="30" >
            <s:fill>
                <s:SolidColor color="0x968f89" color.s2="haloOrange" alpha="1" />
            </s:fill>
        </s:Rect>
    </s:Application>
    Peter

  • Could not resolve mx:DataGrid to a component implementation

    I'm very new at this. Building a mobile app. Running the latest Flex/FlashBuilder (4.6). When I compile I get this error: "could not resolve <mx:DataGrid> to a component implementation". Here is my code:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- dpcontrols/DataGridPassData.mxml -->
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark"
                        xmlns:mx="library://ns.adobe.com/flex/mx"
                        title="Jobs List">
              <fx:Script>
                        <![CDATA[
                                  import mx.collections.*;
                                  private var DGArray:Array = [
                                            {Lease:'Bagby Heirs', Well:'1', Location:'Quitman', Customer:'Fair Oil Company', ScheduleDate:'2/23/2012', ServiceDate:'5/16/2012'},
                                            {Lease:'ITU', Well:'301', Location:'Ingram Trinity', Customer:'Southwest Operating, Inc.', ScheduleDate:'3/19/2012', ServiceDate:'4/25/2012'},
                                            {Lease:'ITU', Well:'81', Location:'ITU', Customer:'Southwest Operating, Inc.', ScheduleDate:'3/19/2012', ServiceDate:'4/25/2012'},
                                            {Lease:'Tolliver A', Well:'5', Location:'Turner Town', Customer:'SEDI', ScheduleDate:'4/16/2012', ServiceDate:'5/11/2012'},
                                            {Lease:'W R Cady', Well:'1', Location:'Coffield', Customer:'Green River Resource', ScheduleDate:'5/9/2012', ServiceDate:'4/10/2012'},
                                            {Lease:'Royal National Bar', Well:'2', Location:'Coffield', Customer:'Green River Resource', ScheduleDate:'5/9/2012', ServiceDate:'4/10/2012'},
                                            {Lease:'Pan American L', Well:'1', Location:'Chandler', Customer:'East Texas Oil & Gas', ScheduleDate:'5/14/2012', ServiceDate:'6/8/2012'},
                                            {Lease:'Paluxy B Sand', Well:'5', Location:'West Tyler', Customer:'Culver & Cain', ScheduleDate:'6/1/2012', ServiceDate:'5/25/2012'},
                                            {Lease:'Wh Pittman Hei', Well:'2', Location:'Quitman', Customer:'Southwest Operating, Inc.', ScheduleDate:'7/10/2012', ServiceDate:'6/18/2012'},
                                            {Lease:'Vivian Pruitt', Well:'1', Location:'Crow - Hwy 80M', Customer:'Buffco Productions, Inc.', ScheduleDate:'8/7/2012', ServiceDate:'8/29/2012'}
                                  [Bindable]
                                  public var initDG:ArrayList;
                                  //Initialize initDG ArrayList variable from the Array.
                                  //If you use this technique to process an HTTPService,
                                  //WebService, or RemoteObject result, use an ArrayCollection
                                  //rather than an ArrayList.
                                  public function initData():void {
                                            initDG=new ArrayList(DGArray);
                        ]]>
              </fx:Script>
              <!--s:states>
              <s:State name="loginState"/>
              <s:State name="State1"/>
              </s:states-->
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
                          <fx:Component className="AlertMsgDay">
                                  <s:SkinnablePopUpContainer x="70" y="300">
                                            <s:TitleWindow title="Filtering" close="close()">
                                                      <s:VGroup horizontalAlign="center" paddingTop="8" paddingBottom="8" paddingLeft="8" paddingRight="8" gap="5" width="100%">
                                                                <s:Label text="This button will filter jobs to show only TODAY."/>
                                                                <s:Button label="OK" click="close()"/>
                                                      </s:VGroup>
                                            </s:TitleWindow>
                                  </s:SkinnablePopUpContainer>
                        </fx:Component>
                        <fx:Component className="AlertMsgWeek">
                                  <s:SkinnablePopUpContainer x="70" y="300">
                                            <s:TitleWindow title="Filtering" close="close()">
                                                      <s:VGroup horizontalAlign="center" paddingTop="8" paddingBottom="8" paddingLeft="8" paddingRight="8" gap="5" width="100%">
                                                                <s:Label text="This button will filter jobs to show only THIS WEEK."/>
                                                                <s:Button label="OK" click="close()"/>
                                                      </s:VGroup>
                                            </s:TitleWindow>
                                  </s:SkinnablePopUpContainer>
                        </fx:Component>
              </fx:Declarations>
              <s:BorderContainer x="10"  y="111" borderColor="#808080" cornerRadius="5" borderWeight="2" width="98%" height="369">
                        <s:Scroller width="100%" height="363" verticalScrollPolicy="on">
                                  <s:Group width="100%" height="100%">
                                            <mx:DataGrid id="myGrid" width="900" height="350" dataProvider="{initDG}" >  <<<< THE ERROR IS HERE
                                                      <mx:columns>
                                                                <mx:DataGridColumn dataField="Lease" />
                                                                <mx:DataGridColumn dataField="Well" />
                                                                <mx:DataGridColumn dataField="Location" />
                                                                <mx:DataGridColumn dataField="Customer" />
                                                                <mx:DataGridColumn dataField="ScheduleDate" headerText="Schedule Date" />
                                                                <mx:DataGridColumn dataField="ServiceDate" headerText="Service Date" />
                                                      </mx:columns>
                                            </mx:DataGrid>
                                  </s:Group>
                        </s:Scroller>
              </s:BorderContainer>
              <s:Label x="10" y="10" width="96" height="53" fontSize="24" text="Sort by:"
                                   verticalAlign="middle"/>
              <s:Button id="btn_show_today" x="104" y="11" width="105" height="53" label="Today"
                                    fontSize="13" fontWeight="bold" click="(new AlertMsgDay()).open(this, false);"/>
              <s:Button id="btn_show_week" x="216" y="11" width="105" height="53" label="Week"
                                    fontSize="13" fontWeight="bold" click="(new AlertMsgWeek()).open(this, false);"/>
              <s:Button x="348" y="10" width="184" height="53" label="Edit this Job" fontSize="18" click="navigator.pushView(views.JobFormView);"/>
    </s:View>

    I'm very new at this. Building a mobile app. Running the latest Flex/FlashBuilder (4.6). When I compile I get this error: "could not resolve <mx:DataGrid> to a component implementation". Here is my code:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- dpcontrols/DataGridPassData.mxml -->
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark"
                        xmlns:mx="library://ns.adobe.com/flex/mx"
                        title="Jobs List">
              <fx:Script>
                        <![CDATA[
                                  import mx.collections.*;
                                  private var DGArray:Array = [
                                            {Lease:'Bagby Heirs', Well:'1', Location:'Quitman', Customer:'Fair Oil Company', ScheduleDate:'2/23/2012', ServiceDate:'5/16/2012'},
                                            {Lease:'ITU', Well:'301', Location:'Ingram Trinity', Customer:'Southwest Operating, Inc.', ScheduleDate:'3/19/2012', ServiceDate:'4/25/2012'},
                                            {Lease:'ITU', Well:'81', Location:'ITU', Customer:'Southwest Operating, Inc.', ScheduleDate:'3/19/2012', ServiceDate:'4/25/2012'},
                                            {Lease:'Tolliver A', Well:'5', Location:'Turner Town', Customer:'SEDI', ScheduleDate:'4/16/2012', ServiceDate:'5/11/2012'},
                                            {Lease:'W R Cady', Well:'1', Location:'Coffield', Customer:'Green River Resource', ScheduleDate:'5/9/2012', ServiceDate:'4/10/2012'},
                                            {Lease:'Royal National Bar', Well:'2', Location:'Coffield', Customer:'Green River Resource', ScheduleDate:'5/9/2012', ServiceDate:'4/10/2012'},
                                            {Lease:'Pan American L', Well:'1', Location:'Chandler', Customer:'East Texas Oil & Gas', ScheduleDate:'5/14/2012', ServiceDate:'6/8/2012'},
                                            {Lease:'Paluxy B Sand', Well:'5', Location:'West Tyler', Customer:'Culver & Cain', ScheduleDate:'6/1/2012', ServiceDate:'5/25/2012'},
                                            {Lease:'Wh Pittman Hei', Well:'2', Location:'Quitman', Customer:'Southwest Operating, Inc.', ScheduleDate:'7/10/2012', ServiceDate:'6/18/2012'},
                                            {Lease:'Vivian Pruitt', Well:'1', Location:'Crow - Hwy 80M', Customer:'Buffco Productions, Inc.', ScheduleDate:'8/7/2012', ServiceDate:'8/29/2012'}
                                  [Bindable]
                                  public var initDG:ArrayList;
                                  //Initialize initDG ArrayList variable from the Array.
                                  //If you use this technique to process an HTTPService,
                                  //WebService, or RemoteObject result, use an ArrayCollection
                                  //rather than an ArrayList.
                                  public function initData():void {
                                            initDG=new ArrayList(DGArray);
                        ]]>
              </fx:Script>
              <!--s:states>
              <s:State name="loginState"/>
              <s:State name="State1"/>
              </s:states-->
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
                          <fx:Component className="AlertMsgDay">
                                  <s:SkinnablePopUpContainer x="70" y="300">
                                            <s:TitleWindow title="Filtering" close="close()">
                                                      <s:VGroup horizontalAlign="center" paddingTop="8" paddingBottom="8" paddingLeft="8" paddingRight="8" gap="5" width="100%">
                                                                <s:Label text="This button will filter jobs to show only TODAY."/>
                                                                <s:Button label="OK" click="close()"/>
                                                      </s:VGroup>
                                            </s:TitleWindow>
                                  </s:SkinnablePopUpContainer>
                        </fx:Component>
                        <fx:Component className="AlertMsgWeek">
                                  <s:SkinnablePopUpContainer x="70" y="300">
                                            <s:TitleWindow title="Filtering" close="close()">
                                                      <s:VGroup horizontalAlign="center" paddingTop="8" paddingBottom="8" paddingLeft="8" paddingRight="8" gap="5" width="100%">
                                                                <s:Label text="This button will filter jobs to show only THIS WEEK."/>
                                                                <s:Button label="OK" click="close()"/>
                                                      </s:VGroup>
                                            </s:TitleWindow>
                                  </s:SkinnablePopUpContainer>
                        </fx:Component>
              </fx:Declarations>
              <s:BorderContainer x="10"  y="111" borderColor="#808080" cornerRadius="5" borderWeight="2" width="98%" height="369">
                        <s:Scroller width="100%" height="363" verticalScrollPolicy="on">
                                  <s:Group width="100%" height="100%">
                                            <mx:DataGrid id="myGrid" width="900" height="350" dataProvider="{initDG}" >  <<<< THE ERROR IS HERE
                                                      <mx:columns>
                                                                <mx:DataGridColumn dataField="Lease" />
                                                                <mx:DataGridColumn dataField="Well" />
                                                                <mx:DataGridColumn dataField="Location" />
                                                                <mx:DataGridColumn dataField="Customer" />
                                                                <mx:DataGridColumn dataField="ScheduleDate" headerText="Schedule Date" />
                                                                <mx:DataGridColumn dataField="ServiceDate" headerText="Service Date" />
                                                      </mx:columns>
                                            </mx:DataGrid>
                                  </s:Group>
                        </s:Scroller>
              </s:BorderContainer>
              <s:Label x="10" y="10" width="96" height="53" fontSize="24" text="Sort by:"
                                   verticalAlign="middle"/>
              <s:Button id="btn_show_today" x="104" y="11" width="105" height="53" label="Today"
                                    fontSize="13" fontWeight="bold" click="(new AlertMsgDay()).open(this, false);"/>
              <s:Button id="btn_show_week" x="216" y="11" width="105" height="53" label="Week"
                                    fontSize="13" fontWeight="bold" click="(new AlertMsgWeek()).open(this, false);"/>
              <s:Button x="348" y="10" width="184" height="53" label="Edit this Job" fontSize="18" click="navigator.pushView(views.JobFormView);"/>
    </s:View>

  • Using AIR 15 (10/14/2014): Could not resolve s:ViewNavigator to a component implementation.

    Hi
    I want to update to the newest version of AIR so I can upload my ipa to App Store. Usually I get AIR from the Apache Flex SDK installer, but it only has the beta version of 15.0.0.183. I have instead downloaded the SDK from
    https://forums.adobe.com/thread/1603494
    (AIR SDK 15 (Compatible with Flex) for Windows)
    but when I compile, I get the following error:
    Could not resolve <s:ViewNavigator> to a component implementation.
    I have tried the following things:
    * Downloaded AIR 15 SDK from Apache Flex and merged the new files into this SDK (same error)
    * Downloaded AIR 15.0.0.183 beta from Apache Flex and merged the new files into this SDK (same error)
    * Downloaded AIR 15.0.0.183 beta from Apache Flex (no error, but I don't know if Apple will accept this version)
    Am I doing something wrong?
    Thanks in advance
    Mark

    I think I got it to work. Apparantly there is a secret link called "Download Windows" below the yellow download button which is for Flex users even though I already chose the Flex version on the previous page.

  • Flex in a week: error Could not resolve s:Application to a component implementation

    Hi All, I've seen other posts mentioning this error but seems no fix has come up.
    Was just trying out the example project for Flex in a Week and out of the box am stuck on
    " Could not resolve <s:Application> to a component implementation "
    the namespace and all expected attributes are in the s:Application tag.
    Is there a common fix for using these samples?
    thanks everyone for your consideration.

    Thanks, I am using Flex Builder 3.

  • Error "Could not resolve s:ViewNavigatorApplication to a component implementation...", after overlaying with AIR SDK 13.0

    Just installed FB 4.7, overlayed with AIR SDK 13.0, started FlexMobileProject and I get this error "Could not resolve <s:ViewNavigatorApplication> to a component implementation...", which I can't get rid of. Tried 3-4 times, error stays.
    I overwrote the Flex sdk 4.6.0 with Air SDK 13.0.
    Is this a bug? Please help.

    Thanks for the reply. I tried changing to the airmobile-config.xml but then I got the same error with a different componenet.
    Error: Could not resolve <r:QContainer> to a component implementation. <r:QContainer id="d">
    Could this related to a missing SWC from my build path do you think?

  • Error: Could not resolve s:states to a component implementation.

    So I am trying to setup states on a Flex application I'm building, but it doesn't seem to want to compile. I get this error:
    $ ./build.sh
    Loading configuration file /Applications/Adobe Flash Builder 4/sdks/4.1.0/frameworks/flex-config.xml
    uploader.mxml(24): Error: Could not resolve <s:states> to a component implementation.
        <s:states>
    Here is my build command nothing special ...
    $ cat ./build.sh
    #!/bin/bash
    mxmlc -output bin/uploader.swf src/uploader.mxml
    I have a class that extends the Spark application like so ...
    package com.uploader.controllers
        import spark.components.Application;
         dynamic public class FlashUploader extends Application
    Then in my main application mxml file I use it like so ...
    <?xml version="1.0" encoding="utf-8"?>
    <c:FlashUploader xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        xmlns:v="com.uploader.view"
        xmlns:c="com.uploader.controllers.*"
        minWidth="709" minHeight="400"
        skinClass="com.uploader.skins.UploaderApplicationSkin">
        <fx:Style source="styles.css" />
        <!-- states -->
        <s:states>
            <s:State name="default" />
            <s:State name="startup" />
            <s:State name="uploading" />
            <s:State name="normal" />
        </s:states>
    </c:FlashUploader>
    Now when I try to compile I get the states error. I've found several examples and even made a dummy app just using the spark application and it compiles fine. Not sure if I'm doing anything weird here but the few other flex devs I know don't seem to see anything wrong with what I'm doing that could cause this.

    When you define an object using a namespace you have to use the same namespace for its properties, so you will want to use "<c:states>" instead of "<s:states>" in this case.

  • Error - Could not resolve s:Script to a component implementation?

    Flex Builder 4.6, 60-day trial version. New  to MXML / AS, but familiar with Java, Javascript, XML, OpenLaszlo. Ooooold, sloooow Vista box.
    I want a bare-bones proof-of-concept class extending <s:Label> with a script responding to a click. Here's what I have:
    Ptile.mxml (in package com.blackbird):
    <?xml version="1.0" encoding="utf-8"?>
    <s:Label xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        xmlns:comp="com.blackbird.*"
        click="talkToMe()">   
        <s:Script>
            <![CDATA[
            private function talkToMe() : void {
                trace("I'm alive, sarge");
            ]]>   
        </s:Script>
    </s:Label>
    Calling application is :
    TileTest.mxml (also package com.blackbird):
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        minWidth="955"     minHeight="600"
        xmlns:comp="com.blackbird.*">
        <s:BorderContainer  width="100%" height="100%">
            <comp:Ptile x="40" y="200" />
        <s:BorderContainer/>
    <s:Application>
    Ptile.mxml won't compile - Error message in the editor is "Could not resolve <s:Script> to a component implementation". I've banged and hammered this around - namespaces, typos and syntax all checked, documentation, Google. No luck. For a bet, I'd guess it's a namespace problem - I'm a little shaky on that - but I'm sugared if I can find it.
    Using the <mx:Script> or <fx:Script> tags also fails.
    I've edited the Eclipse.ini file, as detailed here : http://forums.adobe.com/thread/449232. Nothing.
    Anybody? Thanks.

    There is no s:Script, it will be fx:Script and you will need the new Spark namespaces.
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"

  • Could not resolve fx:Declarations to a component implementation.

    Hi..
    Am getting an error message
    Could not resolve  <fx:Declarations> to a component implementation.
    and
    Could not resolve  <fx:Script> to a component implementation.
    Am trying  the following mxml code.
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx"
                   minWidth="955" minHeight="600"
                   creationComplete="application2_creationCompleteHandler(event)">
        <fx:Style source="Styles.css" />
        <fx:Declarations>
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
            ]]>
        </fx:Script>
    </s:Application>

    Hi Hakan,
    Was this problem ever solved, and if so, could you please tell me how?
    TIA,
    mlavie

  • FABridge in AIR: Could not resolve fab:FABridge to a component implementation

    Hi all,
    I'm trying to use the FABridge in my HTML-based AIR app to communicate between a swf file and my JavaScript code. Browsing through the forums, it appears that ExternalInterface is not advisable in AIR, so I turned to FABridge instead. Can anyone on this forum advise me on whether FABridge is the correct route to take if I want to communicate betweeen flex and javascript.
    If FABridge is the recommended protocol, can someone please advise on how to include the FABridge.as file as part of a amxmlc compiler option. I've tried the following:
    seanosheas-macbook-pro:bin seanoshea$ ./amxmlc -sp+=${FLEX_3_HOME}/frameworks/javascript/fabridge/src/bridge ${PROJECT_HOME}/GMapsController.mxml
    but I keep getting this error:
    Error: Could not resolve <fab:FABridge> to a component implementation.
    Looking at Mike Chambers' blog post here: http://www.mikechambers.com/blog/2005/12/22/compiling-actionscript-3-and-mxml-on-mac-and-l inux/, it looks like the air-config.xml file could be modified to include the FABridge.as file. I've tried modifying the air-config.xml file to point at the fabridge/src/bridge directory, but no luck.
    Sean

    Hi Paul,
    Thanks for the reply. I was drawn to the FABridge because the documentation said it's useful if:
    "You want to use a rich Flex component in an Ajax application but do not want to write a lot of Flex code. If you wrap the component in a FABridge-enabled stub application, you can script it entirely from JavaScript, including using JavaScript generated remotely by the server."
    The rich Flex component I'm trying to control in my Ajax application is a Google Maps swf. The swf is pretty simple ... it just looks like this:
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
        <maps:Map xmlns:maps="com.google.maps.*" id="map" mapevent_mapready="onMapReady(event)" width="100%" height="100%"
            url="http://code.google.com/apis/maps/" key="ABQIAAAAirgZjEoCu9a3euq95spKkBR_S1ecsaBoILwOJWQZL62AsG_vrBT---yI8NYfu5nSGRvZPcpZobSH zA"/>
        <mx:Script>
            <![CDATA[
                import com.google.maps.LatLng;
                import com.google.maps.Map;
                import com.google.maps.MapEvent;
                import com.google.maps.MapType;
                private function onMapReady(event:Event):void {
                    this.map.setCenter(new LatLng(40.736072,-73.992062), 14, MapType.NORMAL_MAP_TYPE);
                public function setLocation(lat:Number, long:Number):void {
            ]]>
        </mx:Script>
    </mx:Application>
    I'm including the .swf file with an embed tag as outlined in the Google Maps for Flash API documentation:
        <div id="map_canvas">
            <object
              classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
              codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
              width="800px"
              height="600px">
                  <!-- <param name="movie" value="app:/flex/GMapsController.swf">  -->
                  <!-- <param name="movie" value="app:/GMapsController.swf">   -->
                  <param name="movie" value="http://mysite.eye.fi/GMapsController.swf">
                  <param name="quality" value="high">
                  <param name="flashVars" value="key=ABQIAAAAirgZjEoCu9f3eua95spKkBR_S1ecsaBoILwOJWQZL62AsG_vrBT---yI8NYfu5nSGRvZPc pZobSHzA">
                  <embed
                    width="800px"
                    height="600px"
                    quality="high"
                    flashVars="key=ABQIAAAAirgZjEoCu9f3euq95spKkBR_S1ecsaBoILwOaWQZL62AsG_vrBT---yI8NYfu5nSGR vZPcpZobSHzA"
                    pluginspage="http://www.macromedia.com/go/getflashplayer"
                    type="application/x-shockwave-flash">
            </object>
         </div>
    I'm not sure I can include it as a library of classes as you describe in your post.
    It would be really sweet if I could attach an id attribute to the embed tag and be able to call the functionality within the swf file in JavaScript.
    Do you know whether this is possible or not? I'm pretty new to flex (if you guys havent already guessed), so I could be missing something pretty simple.
    Any help is greatly appreciated
    Cheers
    Sean

  • Could not resolve mx:AdvancedDataGrid to a component implementation

    Hi, I receive this error msg: "Could not resolve
    <mx:AdvancedDataGrid> to a component implementation" whenever
    i try to compile my application using the Flex 3 application
    command line compile tool.
    I've gone through the folder where i exctracted the Flex 3
    SDK beta 2 I downloaded some 3 days ago and even in the "
    extract_path\frameworks\projects\framework\src\mx\controls"
    folder there was no AdvancedDataGrid component files in it. Yet all
    the other component files metadata indicate "24 September 2007" as
    their last modified date, meaning that i downloaded the most recent
    build, right?
    Please, I would greatly appreciate it if anyone can help me
    resolve this issue, as a deadline is looming large for me.
    Thanks.

    AdvancedDataGrid is part of the datavisualization.swc and
    this SWC is not part of the SDK.
    Download FlexBuilder and install it. Copy the SWC into the
    SDK libs folder from the installation folder of FB.
    It would be located under
    C:\Program Files\Adobe\Flex Builder
    3\sdks\3.0.0\frameworks\libs
    assuming FB is installed in C drive using default options.

  • Could not resolve s:MobileApplication to a component implementation

    Hi
    I have used the latest version of launchpad to generate a project which I then opened in Flash Builder 4. When I tried to compile this an error came up...
    Can anyone help?
    Bruce.

    You need to have Flash Builder Burrito installed.  It's a preview release with mobile support.  You can find it on labs.adobe.com
    Thanks!
    Greg
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Sat, 11 Dec 2010 03:54:43 -0800
    To: Greg Wilson <[email protected]<mailto:[email protected]>>
    Subject: Could not resolve <s:MobileApplication> to a component implementation
    Hi
    I have used the latest version of launchpad to generate a project which I then opened in Flash Builder 4. When I tried to compile this an error came up...
    http://forums.adobe.com/servlet/JiveServlet/showImage/50756/Capture1.png
    Can anyone help?
    Bruce.

  • Could not resolve ilog:BrazilMap to a component implementation.

    Hey all,
    A former employee developed a very nice Flash UI for our company's front page. I have taken his role since he left and was recently tasked with altering some of the code. The source code I have on file for this UI, when loaded in Flash Builder 4 using the 3.5 SDK, does not run flawlessly. Without changing any code, the application will not run. It gives me the error: "Could not resolve <ilog:BrazilMap> to a component implementation."
    If I click "Proceed with Launch" at the error screen, everything runs fine, however I cannot "Export a Release Build" until this error is resolved.
    Here's the namespaces found at the top of CountriesMap.mxml (where the error occurs):
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="100" height="100%" xmlns:ilog="http://www.ilog.com/2007/ilog/flex" xmlns:mccune="com.dougmccune.containers.*" creationPolicy="all" creationComplete=";" creationCompleteEffect="{Iris}" hideEffect="{Iris}" showEffect="{Iris}">
    About a hundred lines down, the actual error is triggered on the "ilog:" line of code below:
    <mx:ViewStack ... >
         <mx:Canvas ... >
              <ilog:BrazilMap ... />
         </mx:Canvas>
    </mx:ViewStack>
    I'm relatively new to this (but not to programming in general) and the former employee is not available. Any insight you all could provide would be gratefully appreciated!
    Incidentally, I've tried tinkering with the namespaces (this is a common issue online), but just get more errors. :-/
    Thanks!

    Thanks for the rapid reply Ubuntu! Since the live version runs on the server, I assume the libraries are stored somewhere on the server. Where in the code would it indicate where the libraries are stored? I assume it must have a directory path listed somewhere, but I can't find? :-/
    Thanks!

  • Could not resolve s:SplashScreenImage to a component implementation.

    I'm trying to get my mobile app's splash screen to show differently depending on orientation.
    <?xml version="1.0" encoding="utf-8"?>
    <s:SplashScreenImage xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark">
      <!-- no settings, so this acts as default -->
      <s:SplashScreenImageSource source="@Embed('assets/splash1.png')"/>
      <!-- specific settings -->
      <s:SplashScreenImageSource source="@Embed('assets/splash1.png')" dpi="240" aspectRatio="portrait"/>
    </s:SplashScreenImage>
    Error: Could not resolve <s:SplashScreenImage> to a component implementation.

    This post explains how to get access to the pre-release builds of Flex 4.6: http://blogs.adobe.com/flex/2011/09/flex-and-flash-builder-4-6-and-pre-release.html

  • Could not resolve s:ViewNavigatorApplication to a component implementation

    Hi,
    I am getting this error while building my Flex mobile project using ant build. It compiles preopely through flash Builder but gives the error : "Could not resolve <s:ViewNavigatorApplication> to a component implementation" when compiling with ant. I am using the config file airmobile-config.mxml . Here is my build script mcmlc task is below:
    <mxmlc file="${Src.dir}/${Application.name}.mxml" incremental="false" actionscript-file-encoding="UTF-8"
                 output="${Deploy.dir}/${Application.name}.swf" debug="${Debug.Boolean}" keep-generated-actionscript="false">
                 <load-config filename="${FLEX_HOME}/frameworks/airmobile-config.xml" />
                 <compiler.source-path path-element="${Src.dir}" />
              <source-path path-element="${externalLib.dir}/libraries/CommonMobile/src"/>
              <library-path dir="${FLEX_HOME}/frameworks/libs" includes="*.swc" append="true"/>
              <library-path dir="${FLEX_HOME}/frameworks/libs/mobile" includes="mobilecomponents.swc" append="true"/>
              <library-path dir="${FLEX_HOME}/frameworks/libs/air" includes="*.swc" append="true"/>
              <library-path dir="${FLEX_HOME}/frameworks/libs/automation" includes="*.swc" append="true"/>
              <library-path dir="${FLEX_HOME}/frameworks/libs/mx" includes="*.swc" append="true"/>
              <library-path dir="${FLEX_HOME}/frameworks/libs/player" includes="*.swc" append="true"/>
              <library-path dir="${FLEX_HOME}/frameworks/locale/en_US" append="true"/>
              <library-path dir="${externalLib.dir}/libraries/external/robotlegs/1.4.0/bin" includes="robotlegs-framework-v1.4.0.swc" append="true"/>
              <library-path dir="${tomcat.dir}/webapps/MobilityServer/WEB-INF/flex/libs" includes="fds.swc" append="true"/>  
              <library-path dir="${tomcat.dir}/webapps/MobilityServer/WEB-INF/flex/libs/air" includes="airfds.swc" append="true"/>
              <library-path dir="${tomcat.dir}/webapps/MobilityServer/WEB-INF/flex/libs" includes="fiber.swc" append="true"/>
              <library-path dir="${externalLib.dir}/libraries/CustomMobilelib/bin" includes="CommonMobile.swc" append="true"/>         
             </mxmlc>

    Thanks for the reply. I tried changing to the airmobile-config.xml but then I got the same error with a different componenet.
    Error: Could not resolve <r:QContainer> to a component implementation. <r:QContainer id="d">
    Could this related to a missing SWC from my build path do you think?

Maybe you are looking for