Stuck on Compiler Error in Flex Builder

Greetings all.
I have my first Flex app calling a Java backend, and the connection works fine.  I have a method "getContinents()" in Java, which returns a List of Continent objects.  Each Continent object has two variables, "name" and "description".  "Name" is a two-letter abbreviation (NA for North America, SA for South America, etc; you get the idea) and "Description" is the spelled-out description (like "North America").  I have an ActionScript class which mimics the Java class.
In Flex, I have a DataGrid which has, as its dataProvider, a Bindable ArrayCollection.  When the data comes back into Flex, I put it in the aforementioned Bindable ArrayCollection.  That works great.  The list of Continents appears in the DataGrid, as expected.
The issue is the DropDownList.  I want to see the same thing happen in the DropDownList.  I want to see the Description in the DropDownList, and when one is chosen, based on the selection, I want to go back to the server to get the list of Countries in that selected Continent.  But I can't get this to happen because I can't get past a compiler error on the DropDownList:
-1067: Implicit coercion of a value of type String to an unrelated type mx.collections:IList.
DropDownList is defined like this:
    <s:DropDownList x="270" y="220" id="continentDropdown" width="112">
                                    dataProvider="{continentArray}"
                                    labelField="description"
                                    valueField="name"
                                    change="continentChanged(event)">
    </s:DropDownList>
Data is returned to Flex in this result handler:
            protected function continentsRO_resultHandler(event:ResultEvent):void
            {    log.info("Returned in result handler") ;
                continentArray=event.result as ArrayCollection ;
When I create a ComboBox instead of a DropDownList, I get the same compiler error.  When I change the ComboBox from a Spark ComboBox to an MX ComboBox, I don't get the compiler error, but the ComboBox never has any data in it.
Would anyone be able to tell me what it is that I am doing wrong here?
Thanks very much in advance!!!

I would try this:
continentArray = new ArrayCollection(event.result as Array);
And if that does not work then ensure event.result is not just a string.
If this post answers your question or helps, please mark it as such.
Greg Lafrance - Flex 2 and 3 ACE certified
www.ChikaraDev.com
Flex Training and Support Services

Similar Messages

  • Error installing flex builder 2 plugin

    I'm getting an error when I try to install the flex builder 2
    into my copy of eclipse version 3.2.1.
    Here is the log:
    !SESSION 2007-03-13 14:10:12.087
    eclipse.buildId=M20060629-1905
    java.version=1.4.2_12
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments: -application
    org.eclipse.update.core.standaloneUpdate -command install -from
    file:\C:\Program Files\Adobe\Flex Builder 2
    Plug-in\com.adobe.flexbuilder.update.site/ -featureId
    com.adobe.flexbuilder.feature.core -version 2.0.155577
    Command-line arguments: -application
    org.eclipse.update.core.standaloneUpdate -command install -from
    file:\C:\Program Files\Adobe\Flex Builder 2
    Plug-in\com.adobe.flexbuilder.update.site/ -featureId
    com.adobe.flexbuilder.feature.core -version 2.0.155577
    !ENTRY org.eclipse.update.core 4 0 2007-03-13 14:10:17.197
    !MESSAGE Duplicate conflicts

    Yes I tried that to work around my problem Flex Builder
    crashing. My Eclipse 3.3 install works fine, Flex Builder will not
    even start. The plug-in installer would not get past that same
    screen, I downloaded 3.2 and it installed fine, I assume it checks
    the version and 3.3 is not supported.

  • Compiling error - trying to build fbsplash

    hey all. Trying to compile fbsplash, and keep getting this error;
    make --silent all-recursive
    Making all in libs
    Making all in src
    CREATE fbsplash.h
    Making all in .
    daemon_cmd.c: In function 'cmd_log':
    daemon_cmd.c:346: warning: incompatible implicit declaration of built-in function 'strndup'
    daemon_cmd.c:348: warning: incompatible implicit declaration of built-in function 'strndup'
    /usr/bin/ld: cannot find -lfreetype
    collect2: ld returned 1 exit status
    make[4]: *** [fbsplashctl] Error 1
    make[3]: *** [all-recursive] Error 1
    make[2]: *** [all] Error 2
    make[1]: *** [all-recursive] Error 1
    make: *** [all] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    I have the libfreetype, as shown here:
    ls -l /usr/lib/libfree*
    -rwxr-xr-x 1 root root 259150 2008-07-06 16:34 /usr/lib/libfreebl3.so
    lrwxrwxrwx 1 root root 30 2008-07-07 23:52 /usr/lib/libfreetype.so -> /usr/lib/libfreetype.so.6.3.18
    lrwxrwxrwx 1 root root 30 2008-07-07 23:52 /usr/lib/libfreetype.so.6 -> /usr/lib/libfreetype.so.6.3.18
    -rwxr-xr-x 1 root root 595471 2008-07-07 23:53 /usr/lib/libfreetype.so.6.3.18
    any help appreciated. I know its out of date and everything, but this seems to be a compiler error, not a package thing? or i'm just wrong. Don't just suggest splashy either, thats not what i want - i'm trying to get a background on my terminal. Sorry for the grumpy tone, but i've been battling with this and trawling the web for about 5 hours now, and its 1am...

    it compiled, but i get the same kernel panic when i use this on the end of my boot line:
    splash=verbose,theme:darch console=tty1
    And the error is:
    kinit: nuking initramfs contents, directory not empty
    Kernel Panic - not syncing: attempted to kill init
    Also, just trying to run "/etc/rc.d/fbsplash start" gives me "line 6: splash_check not found"
    again, any help appreciated.

  • Compile error during Flex Deployment of a Webservice

    Hello,
    We are using the Visual Composer (7.0 SP9) to display the data from a home made Web Service. This is the complete display of a simple table without input.
    We tested the Web Service with the "Test Dat Service" option and within the Web Service Navigator of the J2EE Engine. This all worked fine.
    When we try to deploy the application with Flash/Flex it fails, but when we try to deploy it with WebDynpro, the table is displayed correctly.
    The following error is created during the compilation:
    Error in compiling Flex application: Error 1049: Expected a field name after '.' operator.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:300)
    Error 1205: The statement '' is incomplete.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:300)
    Error 1099: This statement is not permitted in a class definition.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:302)
    Error 1099: This statement is not permitted in a class definition.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:303)
    Error 1099: This statement is not permitted in a class definition.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:304)
    Error 1099: This statement is not permitted in a class definition.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:305)
    Error 1099: This statement is not permitted in a class definition.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:307)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:310)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:337)
    Error 1049: Expected a field name after '.' operator.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:355)
    Error 1205: The statement '' is incomplete.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:355)
    Error 1140: ActionScript 2.0 class scripts may only define class or interface constructs.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:337)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:376)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:394)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:408)
    Error 1029: Unexpected '}' encountered
          (E:\usr\sap\DP6\JC00\j2ee\cluster\server0\GUIMachine_Business_Packages\Prodin_Taken_2_8620\FLEX_COMPILATION_FOLEDR\AAD25B.mxml:417)
    Failed to compile AAD25B.mxml
    Does anybody know what the problem could be?
    Thanks in advance,
    Edwin Oldenburg

    Hi Edwin,
    have you access to the AAD25B.mxml file and take a look at the lines where the errors occurs?
    Maybe you get further particulars about the errors.
    But I think, this is an error in VC, but I'm not sure.
    Best Regards,
    Marcel

  • Compile error in flex with FlvPlayBack

    Hi all,
    First of all I should mention that i'm working under linux.
    I've installed flex plugin 3 alpha 4 for eclipse, with an ecliplse 3.3.0.
    I've decided to be in the "best environement" possible and do not force the installation as needed on higher versions.
    Firsts compilation, hello word, textbox, backgrounds...etc.. run correctly... stimulant !
    So I start my real stuff : working with FlvPlayback.
    I choose this component because I have to work with cue points and I prefer not to start with a full extend of video classes to implement it.
    I've installed the 2.5 component released for linux as mentionned in the productivity tool download page.
    Adding the swc to my projet librairie build path and wow : now I can acceed to fl.* classes with import classes completion... sounds good !!!
    However when I tried to compile a simple code ( player with 1 flv ) it rise an error :
    1046 : Type not found or not a compilation constant : NetStreamPlayOptions.
    I've browsed the web frantically for hours....
    What i've understood is that this class is part of Player2 implementation that come in runtime player10.
    According to http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+10?showComments=fa lse
    i have to got /frameworks/libs/player/10/playerglobal.swc and force eclipse to use it.
    But that's not in the SDK...
    All what adobe propose as download is the libflashplayer.so.
    Does anyone had encountered this issue ?
    As the download page explicitly explain the the component is working on linux there should be a fix somewhere, does anybody know ?
    Thxs for you help...

    Hi,
    Can you please make sure you have Flex 3.2 or higher SDK and then target to Flash Player 10. I have this working on my system and yes, i got the same error when my SDK was below 3.2 and not targeted to Flash Player 10.
    Hope this helps.

  • Native extension, compilation error in flex

    Hello,
    I use flex 4.6.
    I try to include native extension in my AIR/IOS project, but when I compile, i always have a runtime error whatever the native extension i try.
    Exemple :
    VerifyError: Error #1014: Class com.custardbelly.air.extensions.battery.ios::Battery could not be found.
    I link in my project properties the ane file and the associate swc file.
    in the app xml file I have the right extensions tag :
    <extensions>
        <extensionID>com.custardbelly.ibattery</extensionID>
    </extensions>
    What do I wrong ?
    Thanks.
    PS : sorry for my english...

    Make sure the ANE file has no error if you created it.
    Add the ANE file into your project Build Path, then check it into Build Packaging->Apple IOS->Native Extensions.
    BTW, I built my native extension for displaying PPT file in UIWebView from Objective-C. Then I tried it on my PC to get the IPA file, it did not work out, but it works on my mac
    I don't what exactly the reason is. You can try a mac if you are using windows.

  • Error In flex builder

    When i try to run a project i get this error:
    there is no disk in the drive please insert a disk into drive
    \device\harddisk1\DR3
    It has JavaW.exe as the application name.
    How do i fix this?

    I would try this:
    continentArray = new ArrayCollection(event.result as Array);
    And if that does not work then ensure event.result is not just a string.
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com
    Flex Training and Support Services

  • Getting a compilation error when deploying a web service to OC4J.

    The following are the error that I got from Oracle AS server console:
    [Feb 5, 2007 11:31:14 AM] Application Deployer for edsssaws STARTS.
    [Feb 5, 2007 11:31:14 AM] Copy the archive to D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws.ear
    [Feb 5, 2007 11:31:14 AM] Initialize D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws.ear begins...
    [Feb 5, 2007 11:31:14 AM] Unpacking edsssaws.ear
    [Feb 5, 2007 11:31:14 AM] Done unpacking edsssaws.ear
    [Feb 5, 2007 11:31:14 AM] Unpacking edsssaws-web.war
    [Feb 5, 2007 11:31:16 AM] Done unpacking edsssaws-web.war
    [Feb 5, 2007 11:31:16 AM] Initialize D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws.ear ends...
    [Feb 5, 2007 11:31:16 AM] Starting application : edsssaws
    [Feb 5, 2007 11:31:16 AM] Initializing ClassLoader(s)
    [Feb 5, 2007 11:31:16 AM] Initializing EJB container
    [Feb 5, 2007 11:31:16 AM] Loading connector(s)
    [Feb 5, 2007 11:31:16 AM] Starting up resource adapters
    [Feb 5, 2007 11:31:16 AM] Initializing EJB sessions
    [Feb 5, 2007 11:31:16 AM] Committing ClassLoader(s)
    [Feb 5, 2007 11:31:16 AM] Initialize edsssaws-web begins...
    [Feb 5, 2007 11:31:16 AM] Initialize edsssaws-web ends...
    [Feb 5, 2007 11:31:16 AM] Started application : edsssaws
    [Feb 5, 2007 11:31:16 AM] Binding web application(s) to site default-web-site begins...
    [Feb 5, 2007 11:31:16 AM] Binding edsssaws-web web-module for application edsssaws to site default-web-site under context root edsssaws
    [Feb 5, 2007 11:31:35 AM] Operation failed with error: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
    I don't have any problem to build the webservice using oracle:assemble command in ant script, nor compilation error in the build time.
    The error log shows as the following:
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-02-05T11:31:35.392-06:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>oc4j</COMPONENT_ID>
    <MSG_TYPE TYPE="TRACE"></MSG_TYPE>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>w2gzfdx801</HOST_ID>
    <HOST_NWADDR>148.94.36.32</HOST_NWADDR>
    <MODULE_ID>admin.jmx.client.EventManager</MODULE_ID>
    <THREAD_ID>26</THREAD_ID>
    <USER_ID>SYSTEM</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>148.94.36.32:33615:1170696695392:16</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>1 events to be dispatched for: oracle.oc4j.admin.management.mejb.MEjb@a8c31b and domain: oc4j-w2gzfdx801.amer.corp.eds.com-12401-default</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-02-05T11:31:35.392-06:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>oc4j</COMPONENT_ID>
    <MSG_TYPE TYPE="TRACE"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>w2gzfdx801</HOST_ID>
    <HOST_NWADDR>148.94.36.32</HOST_NWADDR>
    <MODULE_ID>admin.jmx.client.CoreRemoteMBeanServer</MODULE_ID>
    <THREAD_ID>26</THREAD_ID>
    <USER_ID>SYSTEM</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>148.94.36.32:33615:1170696695392:16</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>Dispatching event type: deploy.edsssaws and message: Application Deployer for edsssaws FAILED. to listener with id: 0 on MBeanServer proxy: oracle.oc4j.admin.management.mejb.MEjb@a8c31b</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-02-05T11:31:35.392-06:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>oc4j</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>w2gzfdx801</HOST_ID>
    <HOST_NWADDR>148.94.36.32</HOST_NWADDR>
    <MODULE_ID>admin.deploy.spi.status.ProgressObjectImpl</MODULE_ID>
    <THREAD_ID>26</THREAD_ID>
    <USER_ID>SYSTEM</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>148.94.36.32:33615:1170696695392:16</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>java.lang.InstantiationException: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[oracle.oc4j.admin.jmx.shared.exceptions.InternalException: java.lang.InstantiationException: Error compiling  :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
         at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107)
         at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:123)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Error compiling  :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:214)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:96)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:541)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:197)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
         ... 4 more
    Caused by: java.lang.InstantiationException: Error compiling  :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
         at com.evermind.server.http.WrapperClassGenerator.generateWebServiceArts(WrapperClassGenerator.java:98)
         at com.evermind.server.http.HttpApplication.generateWebServiceArtifacts(HttpApplication.java:8403)
         at com.evermind.server.http.HttpApplication.populateLoaderWithWebServicesDeploymentCache(HttpApplication.java:5465)
         at com.evermind.server.http.HttpApplication.populateLoader(HttpApplication.java:5394)
         at com.evermind.server.http.HttpApplication.initClassLoader(HttpApplication.java:5333)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:645)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:428)
         at com.evermind.server.Application.getHttpApplication(Application.java:512)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1975)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1894)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1591)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:206)
         ... 8 more
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    Any idea why it happened?
    Thanks,
    Jason

    Hello,
    I do not see why you have this error, is it the only log entry that you have? Anything in the application.log?
    Can you send me the ear? tugdual [dot] grall [at] oracle [dot] com
    Regards
    Tugdual Grall

  • Source Not Found in Flex Builder Debug

    Flex Builder 2 with CF App Wizard error.
    I'm getting a souce not found message and this error in Flex
    Builder 2. Anyone else see this? Says to Edit Source Lookup Path???
    Thanks,
    Don
    [SWF] /DA8/Constellation/CxI/bin/CxI-debug.swf - 1,087,677
    bytes after decompression
    [RPC Fault faultString="Send failed"
    faultCode="Client.Error.MessageSend"
    faultDetail="Channel.Connect.Failed error
    NetConnection.Call.Failed: HTTP: Status 404"]
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::faultHandler()[C:\dev\enterprise_gmc\framework s\mx\rpc\AbstractInvoker.as:192
    at
    mx.rpc::Responder/fault()[C:\dev\enterprise_gmc\frameworks\mx\rpc\Responder.as:56]
    at
    mx.rpc::AsyncRequest/fault()[C:\dev\enterprise_gmc\frameworks\mx\rpc\AsyncRequest.as:107]
    at
    mx.messaging::ChannelSet/mx.messaging:ChannelSet::faultPendingSends()[C:\dev\enterprise_g mc\frameworks\mx\messaging\ChannelSet.as:962]
    at
    mx.messaging::ChannelSet/channelFaultHandler()[C:\dev\enterprise_gmc\frameworks\mx\messag ing\ChannelSet.as:710]
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at
    mx.messaging::Channel/mx.messaging:Channel::connectFailed()[C:\dev\enterprise_gmc\framewo rks\mx\messaging\Channel.as:736]
    at
    mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChannel::connectFailed ()[C:\dev\enterprise_gmc\frameworks\mx\messaging\channels\PollingChannel.as:203]
    at
    mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::statusHandler()[C:\de v\enterprise_gmc\frameworks\mx\messaging\channels\AMFChannel.as:294]

    Can you post sample code that shows this issue?
    BaBo,

  • Flash Professional Question: About the compiler error window

    Sorry if this is the wrong forum however I was unable to post a question to the Flash Professional forum for some wierd reason. Basically my question is, when I get an error in my console in Flash Professional is there an elegant way of zooming to my intended editor, Flash Builder? The built in code viewer is useless and a hassle to use.

    Launch the movie Flash Builder:
    Run > Test Movie will launch in Flash Pro and give compile errors in Flash Builder
    Run > Debug As.. will start a debug session (in browser or AIR) and you can debug it from Flash Builder (runtime errors, breakpoints, etc.)
    -Aaron

  • Flex compilation error

    Hi All,
    I am getting flex compilation error when i deploy the models which were developed in older version7.0, now it is 7.01.I am getting the following error in 7.01 version.
    Flex2Compiler.Build: Error in executing a process for Flex compilation: /usr/sap/BWD/DVEBMGS30/j2ee/cluster/server0/GUIMachine_Business_Packages/[KCRXK59]MyModels.SMIScoreCard/FLEX_COMPILATION_FOLDER/AAD583.mxml
    Does the older version models doesnot deploy in new versions?
    Thanks
    Srinivas K

    Hello Srinivas,
    Currently i am also facing the same issue , Can you let us know were you able to solve the problem u encountered , if yes how?
    Thanks and Regards,
    Ronniee

  • Flex Ant SDK giving compile warnings not present in Flex Builder

    We have a project when  we complie from Flash Builder 4 it compiles as expected with no errors. However when we do an ANT build on a build machine with no Flash Builder installed, the same code (checked out from SVN) and same Flex SDK we have started to get an error: "Error: Access of possibly undefined property labelName through a reference with static type ..."
    If I Run As the ant build from inside eclipse it builds fine and no errors (I verified the SDKs are the same). I can "work around" this by using show-actionscript-warnings="false" in the build.xml file, I'd rather not have to do this.
    The error labelName property in the component that is referenced in the error is indeed marked public and it is [Bindable]. In fact the component that it says this error is associated with hasn't changed in a couple months.
    Some other info that might be of interest on our system that builds the deploy version:
    1. Our build box is running mac os x (10.5.6), Processor: 2GHz Intel Core 2 Duo, Memory: 2GB
    2. Flex SDK 4.1A
    3. Java version 1.5.0_13
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)
    JavaHotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)
    4. Ant -version: Apache Ant version 1.7.0 compiled on February 29 2008
    Any ideas as to what could be causing this "phantom" error in our module? How to fix? Hints or other avenues to pursue?
    Thanks,
    Mike Weiland

    So it turns out I need to overlay the latest SDK into the Flash Builder directory completely, not just the files I was messing with before.
    In flex builder, go to the directory where the SDKs are installed.
    On my system this is
    C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.5\sdks
    On a Mac, it might be
    /Applications/Adobe Flash Builder 4.5/sdks
    There should be a 3.6.0, 4.5.0 and a 4.5.1 present.
    Make a copy of the 4.5.1 directory.
    Download the AdobeAIRSDK from
    Windows -  http://airdownload.adobe.com/air/win/download/latest/AdobeAIRSDK.zip
    Mac - not sure what the link is.
    Unzip this file, then overlay the contents into the 4.5.1 directory. There are 8 directories, and 2 files. The target 4.5.1 has 10 directories, and 7 files (on my system)
    In Flash Builder, project properties need to be tweaked.
    The Flex Compiler tab - Check [Use a specific SDK:], and pick Flex 4.5.1 in the dropdown.
    And in the Additional compiler arguments add
    -swf-version=12
    In your code, to use the AEC, pick the Enhanced Microphone, as in
    microphone = Microphone.getEnhancedMicrophone();
    Now if only I could figure out what all the settings do and which one's I need to tweak for our environment... loads of experimenting.
    Mark.

  • Internal Server Error When Trying to Open Flex Builder Tutorials

    Anyone know what I need to set up to run the tutorials in
    Flex Builder - get an internal error server (500) when trying to
    open up the tutorials listed on the start page.
    I can open, compile and run projects .
    Thanks

    well thats a real vague error that IIS can spit out and it
    could mean anything. If you are using a server side script in
    conjunction with the tutorials for some reason that i would start
    by commenting it all out. If you are just getting that error when
    just trying to access a static html file that resides whithin your
    web root then i would open up IIS and check you permisions under
    your default web site for that folder.

  • Flex 2 with AS 3.0: Transitions code compilation error

    I just bought "The Essential Guide to Flex 2 with
    ActionScript 3.0. (Friends of Ed 2007) In order to work through the
    examples, I downloaded Flex 3.0 beta. Its been going well ... until
    starting the exercises on transitions.
    I've narrowed the problem down to the "relativeTo" attribute
    of the AddChild class. This snipped builds and runs fine:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:states>
    <mx:State name="bookDetails" basedOn="">
    <mx:AddChild creationPolicy="all" position="lastChild">
    <mx:FormItem id="isbn" label="ISBN: 1590595432" />
    </mx:AddChild>
    </mx:State>
    </mx:states>
    <mx:Panel title="Book" id="book"
    horizontalScrollPolicy="off" verticalScrollPolicy="off">
    <mx:Form id="bookForm">
    <mx:FormItem label="Foundation XML Flash"
    fontWeight="bold" />
    <mx:FormItem label="Sas Jacobs" fontStyle="italic" />
    </mx:Form>
    <mx:ControlBar>
    <mx:LinkButton label="Book Details" id="bookLink" />
    <mx:Spacer width="100%" id="spacer1" />
    <mx:Label text="Book Title" id="title" />
    </mx:ControlBar>
    </mx:Panel>
    </mx:Application>
    However, as soon as I add relativeTo, e.g:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:states>
    <mx:State name="bookDetails" basedOn="">
    <mx:AddChild relativeTo="{bookForm}" creationPolicy="all"
    position="lastChild">
    <mx:FormItem id="isbn" label="ISBN: 1590595432" />
    </mx:AddChild>
    </mx:State>
    </mx:states>
    <mx:Panel title="Book" id="book"
    horizontalScrollPolicy="off" verticalScrollPolicy="off">
    <mx:Form id="bookForm">
    <mx:FormItem label="Foundation XML Flash"
    fontWeight="bold" />
    <mx:FormItem label="Sas Jacobs" fontStyle="italic" />
    </mx:Form>
    <mx:ControlBar>
    <mx:LinkButton label="Book Details" id="bookLink" />
    <mx:Spacer width="100%" id="spacer1" />
    <mx:Label text="Book Title" id="title" />
    </mx:ControlBar>
    </mx:Panel>
    </mx:Application>
    Flex Builder 2 gives me the following error:
    Type was not found or was not a compile-time constant.
    Thinking this might have been a bug with Flex 3.0, I
    uninstalled then installed the most recent release of version 2. I
    still get the same problem. Any ideas?

    Another possibility is that you used some kind of transition for the object but didn't name it in all of the keyframes.  When you transition an object in a timeline tween and don't name it in the first keyframe, the latter keyframes adopt that lack of a name event though you might assign a name in them.
    What you should do is go into your Publish Settings and in the Flash section select the option to Permit Debugging.  This will add a line number following the frame number in the error message.  Once you know which line is causing the problem, try tracing the object that is in that line.  You will most likely find out it is null, and it will be because of one of the reasons I've mentioned (I don't think I forgot any others, but it's possible).

  • Flex 2 Compatibility?  Seeing StreamingAMFChannel compile error

    I have seen postings such as <br />http://tjordahl.blogspot.com/2008/03/blazeds-and-flex-2-compatibility.html<br />suggesting that BlazeDS is compatible with the latest versions of Flex 2 SDK.<br /><br />My experience shows that this may not be completely true.<br /><br />In Flex Builder 3, I have created a project using Flex 2.0.1 Hotfix 3 SDK.<br />This points to:<br />C:\Program Files\Adobe\Flex Builder 3\sdks\2.0.1<br />which is build 180927.<br /><br />I have code like this:<br /><br />public function sendRequest(): void {<br />        var ro:RemoteObject = new RemoteObject();<br />        ro.addEventListener(ResultEvent.RESULT, resultHandler);<br />        ro.addEventListener(FaultEvent.FAULT, faultHandler);                  <br />                  <br />             <br />     if (_channelId != null && _channelUrl != null)<br />        {<br />   var cs:ChannelSet = new ChannelSet();<br />                    <br />   var myChannel:AMFChannel = new AMFChannel(_channelId, _channelUrl);<br />   myChannel.pollingEnabled = true;<br />   myChannel.pollingInterval = 8000;<br />   cs.addChannel(myChannel);<br />   ro.channelSet = cs;<br />        }<br />               <br /><br />   ro.destination = "myService";<br />   ro.channelSet = cs;<br />                                   <br />   ro.myOperation();               <br />}<br /><br />When compiling this I get the following error message:<br /><br />Channel definition, mx.messaging.channels.StreamingAMFChannel, can not be found.<br /><br />Even when I comment out the above code referencing AMFChannel, the compile error still occurs (even when doing a "clean" build).<br /><br />Here are the relevant compiler settings:<br /><br /><?xml version="1.0" encoding="UTF-8"?><br /><actionScriptProperties mainApplicationPath="client.mxml" version="3"><br /><compiler additionalCompilerArguments="-services &quot;C:\tomcat_blazeDS\webapps\myservice\WEB-INF\flex\services-config.xml&quot;<br />  -locale en_US" copyDependentFiles="true" enableModuleDebug="true" flexSDK="Flex 2.0.1 Hotfix 3" generateAccessible="false"<br />   htmlExpressInstall="true" htmlGenerate="true" htmlHistoryManagement="true" htmlPlayerVersion="9.0.28" htmlPlayerVersionCheck="true" <br />   outputFolderLocation="C:/tomcat_blazeDS/webapps/myservice/swf" outputFolderPath="bin-debug" sourceFolderPath="src" <br />   strict="true" useApolloConfig="false" verifyDigests="true" warn="true"><br /><compilerSourcePath/><br /><libraryPath defaultLinkType="1"><br /><libraryPathEntry kind="4" path=""><br /><modifiedEntries><br /><libraryPathEntry kind="3" linkType="4" path="${PROJECT_FRAMEWORKS}/libs/framework.swc" useDefaultLinkType="true"><br /><crossDomainRsls><br /><crossDomainRslEntry autoExtract="true" policyFileUrl="" rslUrl="framework_3.0.0.477.swz"/><br /><crossDomainRslEntry autoExtract="true" policyFileUrl="" rslUrl="framework_3.0.0.477.swf"/><br /></crossDomainRsls><br /></libraryPathEntry><br /></modifiedEntries><br /></libraryPathEntry><br /><libraryPathEntry kind="1" linkType="1" path="libs"/><br /><libraryPathEntry kind="3" linkType="1" path="myCore.swc" useDefaultLinkType="false"/><br /></libraryPath><br /><sourceAttachmentPath/><br /></compiler><br /><applications><br /><application path="client.mxml"/><br /></applications><br /><modules/><br /><buildCSSFiles/><br /></actionScriptProperties><br /><br />Any comments on whether this should work, and is supported?  If this is expected to work, I would also appreciate some ideas on work-arounds.<br /><br />Thank you,<br />David

    David,
    Even when you comment out the channel (actually all channels) that has the
    reference to mx.messaging.channels.StreamingAMFChannel this still doesn't
    work?
    Are you sure that FlexBuilder is pointing at the right services-config.xml
    file when it compiles the MXML? It can't point at a BlazeDS 'default'
    config.
    It sounds like the problem is that the Flex2 libraries in the swf are trying
    to load that channel class which is new for Flex3 and it isn't there.
    Removing any and all references to this class in the config files used to
    compile the swf should fix it.
    Let us knwo if that isn't it.
    Tom Jordahl

Maybe you are looking for

  • Windows Vista and Creative Zen Touch/ Creative Media Sou

    Hey there, I just got a shiny new laptop with Windows Vista (32 bit) and would like to install the media source player. Unfortunately I lost the CD with the installation long time ago. I downloaded all kinds of files for the Zen (the media player and

  • Missing Unfiled Colums in Workbook

    Hi Gurus, We are on BI7.0, SP14. I have created a Workbook with containg different coloumns, some with data and remaining without data.  It is found to be working fine. The problem is: When I try to do the settings of the Workbook Proparties (Refresh

  • Remote Thread Dumping via MBeans

    I am relatively new to JMX and to weblogic intricacies, so please bear with my possibly newbish question. I am trying to replicate the thread dump data that you can get via the kill -3 signal, via remotely connecting to the server and querying data v

  • PO Output change

    Hi Experts, I have a query for change output type in PO. When a particular change is made in PO the change output type is triggered & when i see the print preview i can see the changes in the PO. But when i delete all the line items in a PO, even tho

  • Extending range of cellular service

    I would like to use the I pad on my sailboat- In the past I have extended the range of my cell phone using a cell phone booster- It connected the phone, thru a cable that actually plugged into an antenna port on the phone and ran to the booster- now