Could not resolve to a component implementation error

I am using the SuperImage component from
http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best- option-orhow-i-made-my-flex-images-stop-dancing/
The problem I am having is that when I try to use this
component in a TileList ItemRenderer, I recieve the error Could not
resolve <qs:SuperImage> to a component implementation.
In my Application tag, I use xmlns:qs="qs.controls.*" which
allows me to use the SuperImage component anywhere else, but the
error occurs when I use it in a Component.
I have searched for an answer but could not find anything
that worked. Can anyone help me figure out what is wrong? Below is
the code where the error occurs.
<mx:TileList>
<mx:itemRenderer>
<mx:Component>
<mx:VBox>
<qs:SuperImage/>
<mx:Label/>
</mx:VBox>
</mx:Component>
</mx:itemRenderer>
</mx:TileList>
Thank you for any help.

Why would Component not be able to find the package, but
everywhere else in the same file can?
If I add <qs:SuperImage/> right before the TileList, it
works correctly. Is there a way to specify the classpath for
Component specifically? I wasn't able to find a way to do
that.

Similar Messages

  • Could not resolve to a component implementation

    I'm using Flex Builder 2 Version 2.0.143459 (Geez, couldn't
    you just make it 2.0.144?) and I am running Eclipse version 3.2.1
    and I have Flex Charting 2 installed also.
    Now, I downloaded the example for "dashboard" that has the
    various graphs, and when I go and create these files and copy in
    the contents into my eclipse project I get:
    Could not resolve <AllRegions> to a component
    implementation.
    Could not resolve <RegionBreakdown> to a component
    implementation.
    Could not resolve <RegionDetail> to a component
    implementation.
    It seems to be something with the namespace? But what is the
    solution? I've search these boards and people say uninstall Beta 1,
    etc, but I am not running a Beta, AND this is a fresh install for
    any Flex at all.
    Thanks for any help

    OK, I solved the problem -- it was a simple item that got
    left out of the top <mx:Application tag
    I needed to have xmlns="*" in there, and eclipse does not put
    that there when you start a project!
    Hopefully this helps someone in the future.

  • ORA-12154: TNS:could not resolve the connect identifier specified Error in Integration Service Catalogs

    Hi guys,
    I tried to execute a package with Oracle Data Source from Integration Services Catalogs and I got the following error. 
    ORA-12154: TNS:could not resolve the connect identifier specified
    The package runs fine from the SSIS project but once I deploy to SSIS Catalog it fails to run. I need help!
    Thanks
    me

    Hello ,
    The ORA-12154 is a very common error, always related to your local copy of the tnsnames.ora file, your listener configuration and your database name aliases.
    Make sure that your listener is listening for the same service name that you are using. 
    Your service name might have an alias, so check for global (world) entries and local entries.  Check:
    $ORACLE_HOME/network/admin/tnsnames.ora 
    Check your global_name setting with this SQL:
    select * from global_name;
    Ref :
    http://www.dba-oracle.com/t_ora_12154_tns_resolve_service_name.htm
    Ahsan Kabir Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread. http://www.aktechforum.blogspot.com/

  • ORA-12154: TNS:could not resolve the connect identifier

    I am simply trying to move a site from a Windows 2003 32bit server to a Windows 2008 R2 64-bit. The database was on and is remaining on the 2008 server. Trying to run the new site results in:
    ORA-12154: TNS:could not resolve the connect identifier
    This error pops up more than a few times in the forums but do not seem unique to my situation where I know the connection string works fine from another server. Any insights?

    Working
    Microsoft Windows [Version 5.2.3790]
    (C) Copyright 1985-2003 Microsoft Corp.
    C:\>SET
    ALLUSERSPROFILE=C:\Documents and Settings\All Users
    APPDATA=C:\Documents and Settings\Cherie.Jarvis\Application Data
    ARCGISHOME=D:\Program Files\ArcGIS\
    CLIENTNAME=ZEKIAH-PC463
    ClusterLog=C:\WINDOWS\Cluster\cluster.log
    CommonProgramFiles=C:\Program Files\Common Files
    CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
    COMPUTERNAME=CFLGIS1
    ComSpec=C:\WINDOWS\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Documents and Settings\Cherie.Jarvis
    LOGONSERVER=\\BATMAN
    NUMBER_OF_PROCESSORS=4
    ORACLE_HOME=D:\Ora11g\Administrator\product\11.1.0\db_1
    OS=Windows_NT
    Path=D:\Program Files\ArcGIS\ArcSDE\ora11gexe\bin;D:\Ora11g\Administrator\produc
    t\11.1.0\db_1\bin;D:\Ora11g\Administrator\product\11.1.0\db_1;D:\Ora11g_Client32
    \product\11.1.0\client_3;D:\Ora11g_Client32\product\11.1.0\client_3\bin;C:\WINDO
    WS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files (x86)\Microsoft
    SQL Server\90\Tools\binn\;C:\Program Files\ArcGIS\ArcSDE\ora11gexe\bin
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PROCESSOR_ARCHITECTURE=AMD64
    PROCESSOR_IDENTIFIER=EM64T Family 6 Model 23 Stepping 10, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=170a
    ProgramFiles=C:\Program Files
    ProgramFiles(x86)=C:\Program Files (x86)
    PROMPT=$P$G
    PYTHONPATH=D:\Program Files\ArcGIS\bin
    SDEFORCEXDR=1
    SDEHOME=C:\Program Files\ArcGIS\ArcSDE\ora11gexe\
    SESSIONNAME=RDP-Tcp#461
    SystemDrive=C:
    SystemRoot=C:\WINDOWS
    TEMP=C:\DOCUME~1\CHERIE~1.JAR\LOCALS~1\Temp\1
    TMP=C:\DOCUME~1\CHERIE~1.JAR\LOCALS~1\Temp\1
    TNS_ADMIN=D:\Ora11g\Administrator\product\11.1.0\db_1\NETWORK\ADMIN
    USERDNSDOMAIN=CFLHD.LOCAL
    USERDOMAIN=CFLHD
    USERNAME=Cherie.Jarvis
    USERPROFILE=C:\Documents and Settings\Cherie.Jarvis
    VS90COMNTOOLS=D:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\
    windir=C:\WINDOWS
    C:\Documents and Settings\Cherie.Jarvis>
    Not Working
    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    C:>set
    AGSSERVERJAVA=C:\Program Files (x86)\ArcGIS\Server10.0\
    ALLUSERSPROFILE=C:\ProgramData
    ANT_HOME=D:\Software\apache-ant-1.8.1
    APPDATA=C:\Users\cherie.jarvis\AppData\Roaming
    CLIENTNAME=ZEKIAH-PC463
    CommonProgramFiles=C:\Program Files\Common Files
    CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
    CommonProgramW6432=C:\Program Files\Common Files
    COMPUTERNAME=CFLGIS2
    ComSpec=C:\Windows\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Users\cherie.jarvis
    JAVA_HOME=D:\Program Files\Java\jdk1.6.0_22
    LOCALAPPDATA=C:\Users\cherie.jarvis\AppData\Local
    LOGONSERVER=\\BATMAN
    NUMBER_OF_PROCESSORS=16
    ORACLE_HOME=D:\ORA11G\Administrator\product\11.1.0\db_1
    OS=Windows_NT
    Path=D:\app\Zekiah\product\11.1.0\client_2;D:\app\Zekiah\product\11.1.0\client_2
    \bin;D:\Program Files (x86)\PHP\;D:\Ora11g_Client32\product\11.1.0\client_1\bin;
    D:\Ora11g\administrator\product\11.1.0\db_1\bin;C:\Windows\system32;C:\Windows;C
    :\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\Program F
    iles\ArcGIS\ArcSDE\ora11gexe\bin;D:\Program Files (x86)\MySQL\MySQL Server 5.1\b
    in;D:\Program Files\Java\jdk1.6.0_22\bin;D:\Software\apache-ant-1.8.1\bin;D:\Pro
    gram Files\TortoiseSVN\bin
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    PHPRC=D:\Program Files (x86)\PHP\
    PROCESSOR_ARCHITECTURE=AMD64
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 44 Stepping 2, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=2c02
    ProgramData=C:\ProgramData
    ProgramFiles=C:\Program Files
    ProgramFiles(x86)=C:\Program Files (x86)
    ProgramW6432=C:\Program Files
    PROMPT=$P$G
    PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
    PUBLIC=C:\Users\Public
    SDEHOME=D:\Program Files\ArcGIS\ArcSDE\ora11gexe\
    SESSIONNAME=RDP-Tcp#0
    SystemDrive=C:
    SystemRoot=C:\Windows
    TEMP=C:\Users\CHERIE~1.JAR\AppData\Local\Temp\2
    TMP=C:\Users\CHERIE~1.JAR\AppData\Local\Temp\2
    USERDNSDOMAIN=CFLHD.LOCAL
    USERDOMAIN=CFLHD
    USERNAME=Cherie.Jarvis
    USERPROFILE=C:\Users\cherie.jarvis
    VISUALSVN_SERVER=D:\Program Files (x86)\VisualSVN Server\
    windir=C:\Windows

  • Unable to resolve ORA-12154: TNS:could not resolve the connect identifier specified

    Hi Friends,
    I am unable to resolve ORA-12154: TNS:could not resolve the connect identifier specified, error:
    C:\Windows\system32>sqlplus scott/tiger@ORADATA
    SQL*Plus: Release 11.2.0.1.0 Production on Sun Feb 2 13:46:10 2014
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    SQL> select database_name from v$database;
    DATABASE_NAME
    ORADATA
    SQL> select instance_name from v$instance;
    INSTANCE_NAME
    oradata
    tnsnames.ora
    ============
    ORADATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL=TCP)(HOST=himanshu-PC)(PORT=1521))
        (CONNECT_DATA =
    (SERVICE_NAME = oradata)
      (SERVER = DEDICATED)
    listener.ora
    =========
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = himanshu-PC)(PORT = 1521))
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = ORADATA)
          (ORACLE_HOME = G:\app\himanshu\product\11.2.0\dbhome_1)
          (SID_NAME = oradata)
    sqlnet.ora
    ========
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    C:\Windows\system32>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 02-FEB-2014 13:53:37
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=himanshu-PC)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
    Start Date                02-FEB-2014 13:29:35
    Uptime                    0 days 0 hr. 24 min. 6 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   G:\app\himanshu\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File         g:\app\himanshu\diag\tnslsnr\himanshu-PC\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=himanshu-PC)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    Services Summary...
    Service "ORADATA" has 2 instance(s).
      Instance "ORADATA", status UNKNOWN, has 1 handler(s) for this service...
      Instance "oradata", status READY, has 1 handler(s) for this service...
    Service "ORADATAXDB" has 1 instance(s).
      Instance "oradata", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Kindly guide whats wrong with my configuration.

    ORADATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL=TCP)(HOST=himanshu-PC)(PORT=1521))
        (CONNECT_DATA =
    (SERVICE_NAME = oradata)
      (SERVER = DEDICATED)
    Try editing the tnsnames.ora file to check there is any junk characters around the tns entry(shown in RED) and then try pining the tns from CMD as
    tnsping ORADATA.

  • ORA-12154: TNS:could not resolve the connect identifier specified (sqlplus)

    Hi All,
    I don't know if this has ever been posted, but since I've spent a week figuring it out (no joke, a week), I thought I would post it so that no one else has to waste this much time.
    "ORA-12154: TNS:could not resolve the connect identifier specified" from what I've seen on this site is a major problem for a lot of people, but I did not find a reference to my specfic problem.
    FYI--
    My Database is called "ordidm"
    userID: SYSMAN
    password: p@ssw0rd
    My specific issue was the following:
    I can....
    - Connect to the database via the client "admin assstant" GUI in Windows while supplying the userID and password using the "Database Authentication".
    - Connect via sqlplus as "/as sysdba"
    - "tnsping oraidm" passes works just fine.
    I CANNOT....
    - connect to oraidm at the dos prompt by using sqlplus, regardless of whether or not I supply all the user authentiocation information and db name on one line, or...if I just type "sqlplus" at the command prompt and then enter the userID and password when prompted. Every time I get the "ORA-12154: TNS:could not resolve the connect identifier specified" error message.
    Ready for this?? (some may have guessed this already) The problem is the "@" in my password. After looking closely at the trace logs, I noticed that one of the entries was...
    [09-MAR-2009 08:23:12:921] nnftrne: Original name: ssw0rd
    Remember that the format for connecting on one line at the dos prompt is
    C:/> sqlplus SYSMAN/p@ssw0rd oraidm
    or you can do the following...
    C:\Documents and Settings\Administrator.WIN2K3>sqlplus
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Mar 9 09:08:50 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter user-name: scott
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL>
    (BTW-I just started using the "scott" ID because from what I understand, changing the SYSMAN userID password is kind of a pain. Figured just using "scott" ID would be easier to test)
    So of course what it's doing is counting everything after the first "@" as the database name...which of course it can't find in the tnsnames.ora file. Also, contrary to some other posts I found here and there, enclosing the userID and/or passowrd in quotes does not do any good. Apparently, even when using the 2nd method...in the background, the end result is it must pass the whole thing as one long string much like in the 1st method (as you will get the same truncated "Original Name" of "ssw0rd" in the log)
    So...the question is, why does Oracle even allow "@" in the password if it will become an issue with sqlplus??? Also, if you can't (or shouldn't) use it, why isn't it documented somewhere? At the least I would expect the installer to at least warn you ahead of time that an "@" is not suggested. I don't remember it being there. Maybe it's just me and I'm just missing this info somewhere
    I sincerely hope this saves someone else a week of their life. ;-)
    -Eric

    user8100001 wrote:
    Hi All,
    I don't know if this has ever been posted, but since I've spent a week figuring it out (no joke, a week), I thought I would post it so that no one else has to waste this much time.
    "ORA-12154: TNS:could not resolve the connect identifier specified" from what I've seen on this site is a major problem for a lot of people, but I did not find a reference to my specfic problem.
    FYI--
    My Database is called "ordidm"
    userID: SYSMAN
    password: p@ssw0rdThere are restrictions from oracle side how should password look:
    Passwords can be from 1 to 30 characters.
    The first character in an Oracle password must be a letter.
    Only letters, numbers, and the symbols “#”, “_” and “$” are acceptable in a password.
    And password must not be a reserved word (look into v$reserved_words).
    And as You can see sysman password containt "@" - this is not allowed.
    >
    My specific issue was the following:
    I can....
    - Connect to the database via the client "admin assstant" GUI in Windows while supplying the userID and password using the "Database Authentication".
    - Connect via sqlplus as "/as sysdba"
    - "tnsping oraidm" passes works just fine.
    I CANNOT....
    - connect to oraidm at the dos prompt by using sqlplus, regardless of whether or not I supply all the user authentiocation information and db name on one line, or...if I just type "sqlplus" at the command prompt and then enter the userID and password when prompted. Every time I get the "ORA-12154: TNS:could not resolve the connect identifier specified" error message.
    Ready for this?? (some may have guessed this already) The problem is the "@" in my password. After looking closely at the trace logs, I noticed that one of the entries was...
    [09-MAR-2009 08:23:12:921] nnftrne: Original name: ssw0rd
    Remember that the format for connecting on one line at the dos prompt is
    C:/> sqlplus SYSMAN/p@ssw0rd oraidAnd here You can see why this symbol is restricted as full syntax for sqlplus in this case will be:
    sqlplus username/password@oraidm
    but in Your case @symbol already is in password.
    Here can be used a small trick
    sqlplus sysman/"p@ssw0rd"@oraid
    >
    or you can do the following...
    C:\Documents and Settings\Administrator.WIN2K3>sqlplus
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Mar 9 09:08:50 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter user-name: scott
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL>
    (BTW-I just started using the "scott" ID because from what I understand, changing the SYSMAN userID password is kind of a pain. Figured just using "scott" ID would be easier to test)
    So of course what it's doing is counting everything after the first "@" as the database name...which of course it can't find in the tnsnames.ora file. Also, contrary to some other posts I found here and there, enclosing the userID and/or passowrd in quotes does not do any good. Apparently, even when using the 2nd method...in the background, the end result is it must pass the whole thing as one long string much like in the 1st method (as you will get the same truncated "Original Name" of "ssw0rd" in the log)
    So...the question is, why does Oracle even allow "@" in the password if it will become an issue with sqlplus??? Also, if you can't (or shouldn't) use it, why isn't it documented somewhere? At the least I would expect the installer to at least warn you ahead of time that an "@" is not suggested. I don't remember it being there. Maybe it's just me and I'm just missing this info somewhereActually Oracle is not allowing this if You will just try to
    alter user scott identidified by p@ssword
    You will get error message (ORA-00922: missing or invalid option), but You can
    alter user scott identified by "p@ssword" - and that will work.
    These double quotes will allow to overide Oracle restrictions.

  • 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

  • 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 [public class] to a component implementation

    Here's another clueless newbie question! :-(
    I define a public class "DynamicTextArea" at the top of the file, and get the compiler error message "Could not resolve <DynamicTextArea> to a component implementation" at the bottom of the same file.
    Clearly, I don't understand something very basic.
    (The code between the commenrted asterisks was originally in a separate package file, which I couldn't get either mxmlc or FlexBuilder to find, so rather than fight that issue now, I moved it into the same file.)
    Here's the file:
    <?xml version="1.0" encoding="utf-8" ?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    >
    <!--****************************************************************-->
        <mx:Script>
        <![CDATA[
      import flash.events.Event;
      import mx.controls.TextArea;
    public class DynamicTextArea extends TextArea{
        public function DynamicTextArea(){
          super();
          super.horizontalScrollPolicy = "off";
          super.verticalScrollPolicy = "off";
          this.addEventListener(Event.CHANGE, adjustHeightHandler);
        private function adjustHeightHandler(event:Event):void{
          trace("textField.getLineMetrics(0).height: " + textField.getLineMetrics(0).height);
          if(height <= textField.textHeight + textField.getLineMetrics(0).height){
            height = textField.textHeight;    
            validateNow();
        override public function set text(val:String):void{
          textField.text = val;
          validateNow();
          height = textField.textHeight;
          validateNow();
        override public function set htmlText(val:String):void{
          textField.htmlText = val;
          validateNow();
          height = textField.textHeight;
          validateNow();
        override public function set height(value:Number):void{
          if(textField == null){
            if(height <= value){
              super.height = value;
          }else{      
            var currentHeight:uint = textField.textHeight + textField.getLineMetrics(0).height;
            if (currentHeight<= super.maxHeight){
              if(textField.textHeight != textField.getLineMetrics(0).height){
                super.height = currentHeight;
            }else{
                super.height = super.maxHeight;        
        override public function get text():String{
            return textField.text;
        override public function get htmlText():String{
            return textField.htmlText;
        override public function set maxHeight(value:Number):void{
          super.maxHeight = value;
        ]]>
      </mx:Script>
    <!--****************************************************************-->
         <mx:Script>
        <![CDATA[
          import mx.controls.Alert;
          private var str:String = "This text will be long enough to trigger " +
            "the TextArea to increase its height.";
          private var htmlStr:String = "This <b>text</b> will be <font color='#00FF00'>long enough</font> to trigger " +
            "the TextArea to increase its height.";
          private function setLargeText():void{
            txt1.text = str;
            txt2.text = str;
            txt3.text = str;
            txt4.text = str;
            txt5.htmlText = htmlStr;
            txt6.htmlText = htmlStr;
            txt7.htmlText = htmlStr;
            txt8.htmlText = htmlStr;
        ]]>
      </mx:Script>
      <DynamicTextArea id="txt1" width="300" height="14"/>
      <DynamicTextArea id="txt2" width="300" height="20"/>
      <DynamicTextArea id="txt3" width="300" height="28"/>
      <DynamicTextArea id="txt4" width="300" height="50"/>
      <DynamicTextArea id="txt5" width="300" height="14"/>
      <DynamicTextArea id="txt6" width="300" height="20"/>
      <DynamicTextArea id="txt7" width="300" height="28"/>
      <DynamicTextArea id="txt8" width="300" height="50"/>
      <mx:Button label="Set Large Text" click="setLargeText();"/>
    </mx:Application>
         Thanks for any insight you can provide!
    Harvey

    Gordon:
        As you've noted, there were multiple  misunderstandings.
        Some are due to references in the language which are  different from uses in pre-existing languages.
        Take "name spaces". They look like URLs but they're  not. One of the first errors I made when starting Flex was to try to browse to  http://www.adobe.com/2006/mxml. I  figured that it would have some description of the language. But it didn't. In  spite of LOOKING like a URL, it doesn't point to anything; it's really just an  arbitrary magic incantation, like "Open Sesame".
        But, then when I wanted to use my OWN namespace, I  find that it's NOT arbitrary, and does have to point to something, but it's  still not a URL. The "AHA" moment was when Michael told me that "*" means "look  in this directory for a file with the name later named in an import statement,  but not named here". And if the file was in subfolder  "X" I'd have to use "X.*", while if it were a URL I'd use slash instead of  dot, but never an asterisk.
        When the language syntax is so contrary to the  expectations of people coming from a declarative language or web programming  background, I think it is important to explicitly address the differences and  disabuse them of their preconceptions. I think the same should apply to the ways  in which ActionScript differs from ECMAScript.
        Another problem adding to my confusion is the habit  of naming variables with the names of keywords but with capitalization changes.  Not only does that set readers up for subtle "gotchas", but makes it unclear  which names are truly arbitrary, and which are required by the  compiler.
    It might be a good idea to have a convention of an  identifiable format for user variables. Many authors use names like  myButton for that purpose.
        It would also be helpful if printed text could  simulate the syntax coloring of the better editors, or at least have more  in-source comments saying exactly what each line does. (Or both)
        Another aid to understanding would be to provide a  reference to the alternative (MXML or AS) way of doing anything, whenever you  demonstrate one of the ways.
        I find that the emphasis on using FlexBuilder  distracts from a sense of what is really going on behind the scenes. E,g.: If  FlexBuilder automatically sets up the folder structure, I don't learn to do it  myself. I like to work at the code level, so when something goes wrong I don't  have to worry about what level it went wrong at.
        Also, not everyone is willing to drop $600 or $250  BEFORE they've learned whether they even like Flex. Your tutorials are, by  definition, addressed to newcomers who may well not yet have committed to the  expense of FlexBuilder. So more emphasis on using mxmlc would be nice. It would  also be helpful to discuss how to use local servers, like Tomcat, during the  development stage.
        Thanks for asking my opinion. I'm afraid that my 40  years of programming experience may make it harder for me to adapt to this new  style of programming than it would be for a kid with a tabula rasa. But, it  looks like it'll be fun once I get over the hump!
    Harvey

  • 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:Script (or fx: Declarations to a component implementation

    Hi,
    I am trying to compile a file into swf using mxmlc in command line.  When it is a very simple mxml, compile is successful. But when the file  contaion the fx name space, I get a compile error like: could not  resolve COMPONENT_NAME to a component implementation.
    I have to be able to do this, without the help of Flash Builder  because I am working on a project where I will need to generate swf  files from mxml files  which we generate the code of.
    I tried it with SDK version 4.0.0.,  version 4.1.0 build 16076 and 4.5.0. build 20967. And I also tried it in 3 different computers. Note: Our notebooks has Windows 7 OS - locale:Turkish.
     I read that this error is specific to some locales like Turkish here: http://forums.adobe.com/message/892431#892431, . But I couldnt find the solution.
    Any suggestions?
    The simple code I am trying to compile is(which is generated by Flash Builder 4 and can be compiled there):
    <?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">
         <fx:Declarations>
              <!-- Place non-visual elements (e.g., services, value objects) here -->
         </fx:Declarations>
    </s:Application>

    Could you please file a bug at http://bugs.adobe.com/jira with sample code that fails to compile on a Turkish system, so that we can track this problem and fix it in a future release?
    Gordon Smith
    Adobe Flex SDK Team

  • 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>

  • Could not resolve Application to a component implementation.

    Hi..
    Am getting an error message Could not resolve <Application> to a component implementation. Am trying the following mxml code.
    <?xml version="1.0" encoding="utf-8"?>
    <!-- http://blog.flexexamples.com/2008/08/25/saving-files-locally-using-the-filereference-classs-save-method-in-flash-player-10/ -->
    <Application name="FileReference_save_test"
            xmlns="http://ns.adobe.com/mxml/2009"
            xmlns:mx="library:adobe/flex/halo"
            xmlns:net="flash.net.*"
            layout="flex.layout.BasicLayout"
            creationComplete="init();">
        <Script>
            <![CDATA[
                private function init():void {
                    textArea.text = describeType(FileReference).toXMLString();
                private function btn_click(evt:MouseEvent):void {
                    fileReference.save(textArea.text, "describeType.txt");
            ]]>
        </Script>
        <Declarations>
            <net:FileReference id="fileReference" />
        </Declarations>
        <mx:Panel id="panel"
                width="500"
                height="300"
                verticalCenter="0"
                horizontalCenter="0">
            <mx:TextArea id="textArea"
                    editable="true"
                    width="100%"
                    height="100%" />
            <mx:ControlBar horizontalAlign="right">
                <Button id="btn"
                        label="Save Text"
                        click="btn_click(event);" />
            </mx:ControlBar>
        </mx:Panel>
    </Application>..
    Help plz..

    That's a different topic. Please mark this one as answered (by me ) and start a new topic.
    If this post answers your question or helps, please mark it as such.

Maybe you are looking for