Migration to flex 3.3

Hi,
I am migrating a project from Flex 2.0.1 to Flex 3.3 (very behind I know - should I go straight to Flex 4?).
Anyway, I installed the Flex 3.3 SDK, including the data visualisation components, recompiled the application and all ran fine, using LCDS 2.5.1 and JRUN 4. (I am not using Flex Builder).
Then I added references to AdvancedDataGrid in ActionScript code in my application and tried to recompile. These references were undefined. What else do I have to download and install to be able to use the Advanced DataGrid in ActionScript?
I tried to install LCDS 2.6.1 with Tomcat, but there didn't seem to be an option to run it with JRUN 4 and my application will not run with it at present.
I am confused. Can anyone help please?
Thanks.
Annette

Hi,
Thx Alex for your help and quick reply, I think I have found the problem in my project. Actually we are using swfobject in our index.jsp to call my .swf file.
We are using parameter when we called our .swf from Tomcat :
     /app/flex/app.swf?server=http://localhost:8080/app&flexroot=/flex&lang=en_US&jre=1.6.0.11&flashVersion=10.0.32
It's working in Flex2, but when we're using Flex3 it caused "VerifyError: Error #1014: Class mx.core::Application could not be found". My colleage said this is URLEncode problem and I have to replace '/' with '%2F'  and ':' with '%3A'. So we have to use syntax like :
     /app/flex/app.swf?server=http%3A%2F%2Flocalhost%3A8080%2Fapp&flexroot=%2Fflex&lang=en_US& jre=1.6.0.11&flashVersion=10.0.32
The strange thing is, why it's working in Flex2.. Thanks again for your help
Andre

Similar Messages

  • Issues migrating from Flex Builder 3 to Flash Builder 4.5

    Migrating from Flex Builder 3 (SDK 3.5) to Flash Builder 4.5 (SDK 4.5). Using Flex 3 compatibility mode. Flash Player 10.2. MX only components set.
    Issue 1. A DataGridColumn error per:  Description Resource Path Location Type
    Declaration of style 'direction' conflicts with previous declaration in C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.5\sdks\4.5.0\frameworks\libs\mx\mx.swc(mx.controls.dataGridClasses:DataGridColumn). SPT_GUI  Unknown Flex Problem
    Issue 2. Using Cairngorm 2. Have a class 'Bindable] public class GuiModel implements ModelLocator'. Now getInstance() is not defined per: private var model : GuiModel = GuiModel .getInstance(). Does Cairngorm 3 have to be used with Flash Builder 4.5?
    What has to be done to resolve these issues?

    Issue 2: Have you defined the static variable to hold the instance of the model locator? Also, have you defined a static method to return the model locator's instance?

  • [svn:cairngorm3:] 19478: -General: Reverted migration to Flex 4. 5 back to Flex 4.1.

    Revision: 19478
    Revision: 19478
    Author:   [email protected]
    Date:     2010-12-20 03:02:48 -0800 (Mon, 20 Dec 2010)
    Log Message:
    -General: Reverted migration to Flex 4.5 back to Flex 4.1. -Insync Sample: Fixed Insync Build error. -Navigation: added runtime navigation feature for SelectedChildWaypoint (default Waypoint). (work in progress).
    Modified Paths:
        cairngorm3/trunk/libraries/Contract/.actionScriptProperties
        cairngorm3/trunk/libraries/ContractTest/.actionScriptProperties
        cairngorm3/trunk/libraries/Integration/.actionScriptProperties
        cairngorm3/trunk/libraries/IntegrationDMS/.actionScriptProperties
        cairngorm3/trunk/libraries/IntegrationParsley/.actionScriptProperties
        cairngorm3/trunk/libraries/IntegrationParsley/.flexLibProperties
        cairngorm3/trunk/libraries/IntegrationTest/.actionScriptProperties
        cairngorm3/trunk/libraries/Module/.actionScriptProperties
        cairngorm3/trunk/libraries/Module/.flexLibProperties
        cairngorm3/trunk/libraries/ModuleTest/.actionScriptProperties
        cairngorm3/trunk/libraries/Navigation/.actionScriptProperties
        cairngorm3/trunk/libraries/Navigation/src/com/adobe/cairngorm/navigation/waypoint/decorat or/ContainerDestinationRegistration.as
        cairngorm3/trunk/libraries/NavigationParsley/.actionScriptProperties
        cairngorm3/trunk/libraries/NavigationParsleyTest/.actionScriptProperties
        cairngorm3/trunk/libraries/NavigationParsleyTest/src/NavigationParsleyStates.mxml
        cairngorm3/trunk/libraries/NavigationParsleyTest/src/NavigationParsleyToggleButtonBar.mxm l
        cairngorm3/trunk/libraries/NavigationParsleyTest/src/states/presentation/ContentPM.as
        cairngorm3/trunk/libraries/NavigationParsleyTest/src/togglebuttonbar/presentation/Content PM.as
        cairngorm3/trunk/libraries/NavigationSpringAS/.actionScriptProperties
        cairngorm3/trunk/libraries/NavigationSpringASTest/.actionScriptProperties
        cairngorm3/trunk/libraries/NavigationSwiz/.actionScriptProperties
        cairngorm3/trunk/libraries/NavigationSwizTest/.actionScriptProperties
        cairngorm3/trunk/libraries/Observer/.actionScriptProperties
        cairngorm3/trunk/libraries/ObserverParsley/.actionScriptProperties
        cairngorm3/trunk/libraries/ObserverTest/.actionScriptProperties
        cairngorm3/trunk/libraries/Persistence/.actionScriptProperties
        cairngorm3/trunk/libraries/PersistenceTest/.actionScriptProperties
        cairngorm3/trunk/libraries/PersistenceTest/src/AllTests-app.xml
        cairngorm3/trunk/libraries/PersistenceTest/src/IntegrationTests-app.xml
        cairngorm3/trunk/libraries/PersistenceTest/src/PersistenceSample-app.xml
        cairngorm3/trunk/libraries/PersistenceTest/src/UnitTests-app.xml
        cairngorm3/trunk/libraries/Popup/.actionScriptProperties
        cairngorm3/trunk/libraries/PopupParsley/.actionScriptProperties
        cairngorm3/trunk/libraries/PopupTest/.actionScriptProperties
        cairngorm3/trunk/libraries/Task/.actionScriptProperties
        cairngorm3/trunk/libraries/TaskTest/.actionScriptProperties
        cairngorm3/trunk/libraries/Validation/.actionScriptProperties
        cairngorm3/trunk/libraries/ValidationTest/.actionScriptProperties
        cairngorm3/trunk/samples/insync/insync-basic/.actionScriptProperties
        cairngorm3/trunk/samples/insync/insync-basic/.flexProperties
        cairngorm3/trunk/samples/insync/insync-modularExtended-contacts/.actionScriptProperties
        cairngorm3/trunk/samples/insync/insync-modularExtended-contacts/.flexProperties
        cairngorm3/trunk/samples/insync/insync-modularExtended-expenses/.actionScriptProperties
        cairngorm3/trunk/samples/insync/insync-modularExtended-expenses/.flexProperties
        cairngorm3/trunk/samples/insync/insync-modularExtended-messaging/.actionScriptProperties
        cairngorm3/trunk/samples/insync/insync-modularExtended-messaging/.flexProperties
        cairngorm3/trunk/samples/insync/insync-modularExtended-shell/.actionScriptProperties
        cairngorm3/trunk/samples/insync/insync-modularExtended-shell/.flexProperties
    Added Paths:
        cairngorm3/trunk/libraries/ObserverTest/html-template/history/
        cairngorm3/trunk/libraries/ObserverTest/html-template/history/history.css
        cairngorm3/trunk/libraries/ObserverTest/html-template/history/history.js
        cairngorm3/trunk/libraries/ObserverTest/html-template/history/historyFrame.html
        cairngorm3/trunk/libraries/ObserverTest/html-template/index.template.html
        cairngorm3/trunk/libraries/ObserverTest/html-template/playerProductInstall.swf
        cairngorm3/trunk/libraries/ObserverTest/html-template/swfobject.js
    Removed Paths:
        cairngorm3/trunk/libraries/NavigationSpringAS/.settings/com.adobe.flexbuilder.project.pre fs

    Simeon,
    Thanks for that, I had a brainfart and forgot you can have the properties defined in that manner.  I changed it but it still wasn't working which made me realize I had to change the backgroundColor property on the view in Away3D.  I realized this after trying the params for the class and then not adding the view (which had a white bg) and then i looked at the docs and bam, there it was.  Thanks!
    Matt

  • [svn:cairngorm3:] 19481: -General: Reverted migration to Flex 4. 5 back to Flex 4.1.

    Revision: 19481
    Revision: 19481
    Author:   [email protected]
    Date:     2010-12-20 03:53:00 -0800 (Mon, 20 Dec 2010)
    Log Message:
    -General: Reverted migration to Flex 4.5 back to Flex 4.1. -Insync Sample: Fixed Insync Build error. -Navigation: added runtime navigation feature for SelectedChildWaypoint (default Waypoint). (work in progress).
    Modified Paths:
        cairngorm3/trunk/libraries/lib-parent/pom.xml

    Simeon,
    Thanks for that, I had a brainfart and forgot you can have the properties defined in that manner.  I changed it but it still wasn't working which made me realize I had to change the backgroundColor property on the view in Away3D.  I realized this after trying the params for the class and then not adding the view (which had a white bg) and then i looked at the docs and bam, there it was.  Thanks!
    Matt

  • [svn:cairngorm3:] 16817: Migration to Flex 4.1 SDK.

    Revision: 16817
    Revision: 16817
    Author:   [email protected]
    Date:     2010-07-05 14:05:28 -0700 (Mon, 05 Jul 2010)
    Log Message:
    Migration to Flex 4.1 SDK.
    Modified Paths:
        cairngorm3/trunk/libraries/ContractTest/.actionScriptProperties
    Added Paths:
        cairngorm3/trunk/libraries/ContractTest/html-template/history/
        cairngorm3/trunk/libraries/ContractTest/html-template/history/history.css
        cairngorm3/trunk/libraries/ContractTest/html-template/history/history.js
        cairngorm3/trunk/libraries/ContractTest/html-template/history/historyFrame.html
        cairngorm3/trunk/libraries/ContractTest/html-template/index.template.html
        cairngorm3/trunk/libraries/ContractTest/html-template/playerProductInstall.swf
        cairngorm3/trunk/libraries/ContractTest/html-template/swfobject.js
        cairngorm3/trunk/samples/insync/insync-basic/html-template/history/
        cairngorm3/trunk/samples/insync/insync-basic/html-template/history/history.css
        cairngorm3/trunk/samples/insync/insync-basic/html-template/history/history.js
        cairngorm3/trunk/samples/insync/insync-basic/html-template/history/historyFrame.html
        cairngorm3/trunk/samples/insync/insync-basic/html-template/index.template.html
        cairngorm3/trunk/samples/insync/insync-basic/html-template/playerProductInstall.swf
        cairngorm3/trunk/samples/insync/insync-basic/html-template/swfobject.js

    What kinds of errors are you getting?

  • [svn:cairngorm3:] 16813: Migration to Flex 4.1 SDK.

    Revision: 16813
    Revision: 16813
    Author:   [email protected]
    Date:     2010-07-04 09:57:32 -0700 (Sun, 04 Jul 2010)
    Log Message:
    Migration to Flex 4.1 SDK.
    Modified Paths:
        cairngorm3/trunk/build-parent/pom.xml
        cairngorm3/trunk/libraries/Contract/.actionScriptProperties
        cairngorm3/trunk/libraries/Integration/.actionScriptProperties
        cairngorm3/trunk/libraries/IntegrationDMS/.actionScriptProperties
        cairngorm3/trunk/libraries/IntegrationDMS/.flexLibProperties
        cairngorm3/trunk/libraries/IntegrationParsley/.actionScriptProperties
        cairngorm3/trunk/libraries/IntegrationTest/.actionScriptProperties
        cairngorm3/trunk/libraries/IntegrationTest/html-template/history/history.css
        cairngorm3/trunk/libraries/IntegrationTest/html-template/history/history.js
        cairngorm3/trunk/libraries/IntegrationTest/html-template/history/historyFrame.html
        cairngorm3/trunk/libraries/IntegrationTest/html-template/index.template.html
        cairngorm3/trunk/libraries/IntegrationTest/html-template/swfobject.js
        cairngorm3/trunk/libraries/Module/.actionScriptProperties
        cairngorm3/trunk/libraries/Navigation/.actionScriptProperties
        cairngorm3/trunk/libraries/NavigationParsley/.actionScriptProperties
        cairngorm3/trunk/libraries/NavigationParsleyTest/.actionScriptProperties
        cairngorm3/trunk/libraries/NavigationParsleyTest/html-template/index.template.html
        cairngorm3/trunk/libraries/NavigationParsleyTest/html-template/swfobject.js
        cairngorm3/trunk/libraries/NavigationSpringAS/.actionScriptProperties
        cairngorm3/trunk/libraries/NavigationSpringAS/pom.xml
        cairngorm3/trunk/libraries/NavigationSpringASTest/.actionScriptProperties
        cairngorm3/trunk/libraries/NavigationSpringASTest/html-template/history/history.css
        cairngorm3/trunk/libraries/NavigationSpringASTest/html-template/history/history.js
        cairngorm3/trunk/libraries/NavigationSpringASTest/html-template/history/historyFrame.html
        cairngorm3/trunk/libraries/NavigationSpringASTest/html-template/index.template.html
        cairngorm3/trunk/libraries/NavigationSpringASTest/html-template/swfobject.js
        cairngorm3/trunk/libraries/NavigationSwiz/.actionScriptProperties
        cairngorm3/trunk/libraries/NavigationSwizTest/.actionScriptProperties
        cairngorm3/trunk/libraries/NavigationSwizTest/html-template/history/history.css
        cairngorm3/trunk/libraries/NavigationSwizTest/html-template/history/history.js
        cairngorm3/trunk/libraries/NavigationSwizTest/html-template/history/historyFrame.html
        cairngorm3/trunk/libraries/NavigationSwizTest/html-template/index.template.html
        cairngorm3/trunk/libraries/NavigationSwizTest/html-template/swfobject.js
        cairngorm3/trunk/libraries/Observer/.actionScriptProperties
        cairngorm3/trunk/libraries/ObserverParsley/.actionScriptProperties
        cairngorm3/trunk/libraries/ObserverParsley/.flexLibProperties
        cairngorm3/trunk/libraries/ObserverTest/.actionScriptProperties
        cairngorm3/trunk/libraries/ObserverTest/html-template/history/history.css
        cairngorm3/trunk/libraries/ObserverTest/html-template/history/history.js
        cairngorm3/trunk/libraries/ObserverTest/html-template/history/historyFrame.html
        cairngorm3/trunk/libraries/ObserverTest/html-template/index.template.html
        cairngorm3/trunk/libraries/Persistence/.actionScriptProperties
        cairngorm3/trunk/libraries/Persistence/.settings/org.eclipse.core.resources.prefs
        cairngorm3/trunk/libraries/PersistenceTest/.actionScriptProperties
        cairngorm3/trunk/libraries/Popup/.actionScriptProperties
        cairngorm3/trunk/libraries/Popup/.flexLibProperties
        cairngorm3/trunk/libraries/PopupParsley/.actionScriptProperties
        cairngorm3/trunk/libraries/PopupParsley/.flexLibProperties
        cairngorm3/trunk/libraries/PopupTest/.actionScriptProperties
        cairngorm3/trunk/libraries/PopupTest/html-template/history/history.css
        cairngorm3/trunk/libraries/PopupTest/html-template/history/history.js
        cairngorm3/trunk/libraries/PopupTest/html-template/history/historyFrame.html
        cairngorm3/trunk/libraries/PopupTest/html-template/index.template.html
        cairngorm3/trunk/libraries/PopupTest/html-template/swfobject.js
        cairngorm3/trunk/libraries/Task/.actionScriptProperties
        cairngorm3/trunk/libraries/Task/.flexLibProperties
        cairngorm3/trunk/libraries/TaskTest/.actionScriptProperties
        cairngorm3/trunk/libraries/TaskTest/html-template/index.template.html
        cairngorm3/trunk/libraries/Validation/.actionScriptProperties
        cairngorm3/trunk/libraries/Validation/.flexLibProperties
        cairngorm3/trunk/libraries/ValidationTest/.actionScriptProperties
        cairngorm3/trunk/libraries/ValidationTest/.flexProperties
        cairngorm3/trunk/libraries/ValidationTest/html-template/history/history.css
        cairngorm3/trunk/libraries/ValidationTest/html-template/history/history.js
        cairngorm3/trunk/libraries/ValidationTest/html-template/history/historyFrame.html
        cairngorm3/trunk/libraries/ValidationTest/html-template/index.template.html
        cairngorm3/trunk/libraries/ValidationTest/html-template/swfobject.js
        cairngorm3/trunk/samples/insync/insync-basic/.actionScriptProperties
        cairngorm3/trunk/samples/insync/insync-modularExtended-api/.actionScriptProperties
        cairngorm3/trunk/samples/insync/insync-modularExtended-contacts/.actionScriptProperties
        cairngorm3/trunk/samples/insync/insync-modularExtended-contacts/html-template/history/his tory.css
        cairngorm3/trunk/samples/insync/insync-modularExtended-contacts/html-template/history/his tory.js
        cairngorm3/trunk/samples/insync/insync-modularExtended-contacts/html-template/history/his toryFrame.html
        cairngorm3/trunk/samples/insync/insync-modularExtended-contacts/html-template/index.templ ate.html
        cairngorm3/trunk/samples/insync/insync-modularExtended-contacts/html-template/swfobject.j s
        cairngorm3/trunk/samples/insync/insync-modularExtended-expenses/.actionScriptProperties
        cairngorm3/trunk/samples/insync/insync-modularExtended-expenses/html-template/history/his tory.css
        cairngorm3/trunk/samples/insync/insync-modularExtended-expenses/html-template/history/his tory.js
        cairngorm3/trunk/samples/insync/insync-modularExtended-expenses/html-template/history/his toryFrame.html
        cairngorm3/trunk/samples/insync/insync-modularExtended-expenses/html-template/index.templ ate.html
        cairngorm3/trunk/samples/insync/insync-modularExtended-expenses/html-template/swfobject.j s
        cairngorm3/trunk/samples/insync/insync-modularExtended-messaging/.actionScriptProperties
        cairngorm3/trunk/samples/insync/insync-modularExtended-shell/.actionScriptProperties
        cairngorm3/trunk/samples/insync/insync-modularExtended-shell/html-template/history/histor y.css
        cairngorm3/trunk/samples/insync/insync-modularExtended-shell/html-template/history/histor y.js
        cairngorm3/trunk/samples/insync/insync-modularExtended-shell/html-template/history/histor yFrame.html
        cairngorm3/trunk/samples/insync/insync-modularExtended-shell/html-template/index.template .html
        cairngorm3/trunk/samples/insync/insync-modularExtended-shell/html-template/swfobject.js
    Added Paths:
        cairngorm3/trunk/libraries/ObserverTest/html-template/swfobject.js
        cairngorm3/trunk/libraries/TaskTest/html-template/history/
        cairngorm3/trunk/libraries/TaskTest/html-template/history/history.css
        cairngorm3/trunk/libraries/TaskTest/html-template/history/history.js
        cairngorm3/trunk/libraries/TaskTest/html-template/history/historyFrame.html
        cairngorm3/trunk/libraries/TaskTest/html-template/playerProductInstall.swf
        cairngorm3/trunk/libraries/TaskTest/html-template/swfobject.js
    Removed Paths:
        cairngorm3/trunk/libraries/ContractTest/html-template/history/
        cairngorm3/trunk/libraries/ContractTest/html-template/index.template.html
        cairngorm3/trunk/libraries/ContractTest/html-template/playerProductInstall.swf
        cairngorm3/trunk/libraries/ContractTest/html-template/swfobject.js
        cairngorm3/trunk/libraries/ObserverTest/html-template/AC_OETags.js
        cairngorm3/trunk/samples/insync/insync-basic/html-template/history/
        cairngorm3/trunk/samples/insync/insync-basic/html-template/index.template.html
        cairngorm3/trunk/samples/insync/insync-basic/html-template/playerProductInstall.swf
        cairngorm3/trunk/samples/insync/insync-basic/html-template/swfobject.js
        cairngorm3/trunk/samples/insync/insync-modularExtended-messaging/html-template/history/
        cairngorm3/trunk/samples/insync/insync-modularExtended-messaging/html-template/index.temp late.html
        cairngorm3/trunk/samples/insync/insync-modularExtended-messaging/html-template/playerProd uctInstall.swf
        cairngorm3/trunk/samples/insync/insync-modularExtended-messaging/html-template/swfobject. js

    What kinds of errors are you getting?

  • [svn:cairngorm3:] 16814: Migration to Flex 4.1 SDK.

    Revision: 16814
    Revision: 16814
    Author:   [email protected]
    Date:     2010-07-04 09:59:11 -0700 (Sun, 04 Jul 2010)
    Log Message:
    Migration to Flex 4.1 SDK.
    Modified Paths:
        cairngorm3/trunk/libraries/ModuleTest/.actionScriptProperties
        cairngorm3/trunk/libraries/ModuleTest/html-template/history/history.css
        cairngorm3/trunk/libraries/ModuleTest/html-template/history/history.js
        cairngorm3/trunk/libraries/ModuleTest/html-template/history/historyFrame.html
        cairngorm3/trunk/libraries/ModuleTest/html-template/index.template.html
        cairngorm3/trunk/libraries/ModuleTest/html-template/swfobject.js

    What kinds of errors are you getting?

  • [svn:cairngorm3:] 14661: Migrate to Flex SDK 3.5

    Revision: 14661
    Revision: 14661
    Author:   [email protected]
    Date:     2010-03-10 04:58:46 -0800 (Wed, 10 Mar 2010)
    Log Message:
    Migrate to Flex SDK 3.5
    Modified Paths:
        cairngorm3/trunk/build-parent/pom.xml

    There is no due date.  Adobe wants all future players to run all existing content.  Extensive testing is done before each release to try to ensure that.  Adobe in general will only purposefully break content if required to fix a security issue.  I’m pretty sure you aren’t the only one maintaining a Flex 3 app for years to come.
    And don’t forget, there is continuing development on the Flex 4 code at Apache.  If enough folks showed up on the Apache Flex mailing lists wanting to make improvements to Flex 3, such a thing could happen there too.  At Apache, development is completely community-driven.
    And also, there is progress being made on FlexJS, a next-generation Flex SDK that cross-compiles to HTML/JS/CSS.  That could make your transition off of Flash much easier.  Volunteers are always welcome to help accelerate its development
    -Alex

  • Migrating Adobe flex builder 3.0 to Adobe flash builder 4.6

    I am Migrating Adobe flex builder 3.0 to adobe flash builder 4.6. i get one error like"  Declaration of style 'direction' conflicts with previous declaration in C:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\frameworks\libs\mx\mx.swc(mx.controls:MenuBar)."
    So please suggest me how to handle this issue.

    Thanks Bharat Patel,
    I have already read this pdf files. but didnt get any solution.
    So, the issue is  style "direction" conflicts with the swc files.
    so, suggest me the correct answer.

  • Problem while migrating to Flex 4

    Hi,
    I am moving my application to Flex 4 from Flex 3. I have few pages in my application where I have charts. Those are pages are not loading at all. All the other pages are working fine. Can someone help me in this respect.
    Thanks in advance,
    Nirmal Kumar Bhogadi.

    No I am not embedding any fonts. To test, I just declared <mx:ColumnChart/> in one of the pages and the page did not load at all. Is there anything that I need to add while migrating to Flex 4.

  • Error while migrating to Flex 4.5.1 (1067: Implicit coercion of a value...)

    I am getting the following error while migrating my application from Flex 3.6 to Flex 4.5.1:
    1067: Implicit coercion of a value of type __AS3__.vec:Vector.<Object> to an unrelated type Array.
    The error is thrown on the following piece of code:
    var list:ArrayCollection=new ArrayCollection(dgSoftwareTitles.selectedItems);
    dgSoftwareTitles is defined as:
    <s:DataGrid id="dgShareCategoryForTransfer"
    x="34"
    y="369"
    requestedRowCount="5"
    width="90%"
    selectedIndex="-1"
    selectionMode="multipleRows">
    <s:columns>
    <s:ArrayList>
    <s:GridColumn headerText="SoftwareTitle"
    dataField="idSoftware"
    visible="false"/>
    <s:GridColumn headerText="SoftwareName"
    dataField="softwareName"
    visible="false"/>
    ...more GridColumns
    </s:columns>
    </s:ArrayList>
    </s:DataGrid>
    Any ideas why this would trow the "1067: Implicit coercion of a value of type __AS3__.vec:Vector.<Object> to an unrelated type Array" error?
    Thanks!
    Lee

    I think that dgSoftwareTitles.selectedItems is a type of Vector while
    public function ArrayCollection(source:Array = null) expects an array as a source.

  • Flex 3 to Flex 4 migration issue (Flex charting and Special char)

    Hi All,
    I have migrated Flex 3 to Flex 4 and in Flex charting axis label, I am not able to see less then sign ( < ). I tried to use &lt;  but it's not working, I have attached sample code.
    <?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" initialize="init()">
         <fx:Declarations>
             <s:SolidColor id="s1" color="#738994"/>
             <mx:SeriesInterpolate id="seriesInterpolate" duration="800"/>
             <mx:SeriesSlide id="seriesSlide" duration="800" direction="up"/>
             <mx:SeriesZoom id="seriesZoom"
                            duration="1000"
                            minimumElementDuration="50"
                            elementOffset="50"
                            verticalFocus="top"
                            horizontalFocus="left"
                            relativeTo="chart"/>
         </fx:Declarations>
         <fx:Script>
            <![CDATA[
                 import mx.collections.ArrayCollection;
                 [Bindable]
                 public var student:ArrayCollection = new ArrayCollection([
                     {Stream: "Management", Girls:1000, Boys:1400, TotalStudent:2400},
                     {Stream: "&lt;Computer Science", Girls:800, Boys:1200, TotalStudent:2000},
                     {Stream: "< Mechanical", Girls:200, Boys:1500, TotalStudent:1700},
                     {Stream: "> Electical", Girls:800, Boys:850, TotalStudent:1650},
                     {Stream: "Electronics", Girls:500, Boys:1000, TotalStudent:1500},
                     {Stream: "Civil", Girls:300, Boys:900, TotalStudent:1200}
                 private function update():void {
                     var str:String = catfDP.selectedItem.data;
                     if(str == "Girls"){
                         cs1.yField = str;
                         cs1.displayName = str;
                         cs1.setStyle("fill" , "738994");
                     }else if(str == "Boys"){
                         cs1.yField = str;
                         cs1.displayName = str;
                         cs1.setStyle("fill" , "999990");
                     }else{
                         cs1.yField = str;
                         cs1.displayName = str;
                         cs1.setStyle("fill" , "406374");
                 private function init():void{
                     catfDP.selectedIndex= 0;
                     effectDP.selectedIndex= 0;
             ]]>
         </fx:Script>
         <s:Panel title="Chart Effect Example" width="627" height="565">
             <s:layout>
                 <s:VerticalLayout/>
             </s:layout>
             <mx:ApplicationControlBar dock="true" width="625" height="82">
                 <mx:Form>
                     <mx:FormItem label="Category Field:">
                         <s:DropDownList id="catfDP" change="update();" prompt="--Select--" width="136"
                                         height="19">
                             <s:dataProvider>
                                 <mx:ArrayList>
                                     <fx:Object data="Girls" label="Girls" />
                                     <fx:Object data="Boys" label="Boys" />
                                     <fx:Object data="TotalStudent" label="TotalStudent" />
                                 </mx:ArrayList>
                             </s:dataProvider>
                         </s:DropDownList>
                     </mx:FormItem>
                     <mx:FormItem label="Choose Chart Effect:">
                         <s:DropDownList id="effectDP" change="update();" width="136" prompt="--Select--">
                             <s:dataProvider>
                                 <mx:ArrayList>
                                     <fx:Object label="seriesInterpolate" data="{seriesInterpolate}" />
                                     <fx:Object label="seriesSlide" data="{seriesSlide}" />
                                     <fx:Object label="seriesZoom" data="{seriesZoom}" />
                                 </mx:ArrayList>
                             </s:dataProvider>
                         </s:DropDownList>
                     </mx:FormItem>
                 </mx:Form>
             </mx:ApplicationControlBar>
             <mx:ColumnChart id="cchart"
                             dataProvider="{student}"
                             showDataTips="true"
                             width="621"
                             fontFamily="verdana" height="402">
                 <mx:verticalAxis>
                     <mx:LinearAxis title="Number of Students" />
                 </mx:verticalAxis>
                 <mx:horizontalAxis>
                     <mx:CategoryAxis dataProvider="{student}"
                                      categoryField="Stream"
                                      title="Stream"/>
                 </mx:horizontalAxis>
                 <mx:series>
                     <mx:ColumnSeries id="cs1"
                                      xField="Stream"
                                      yField="Girls"
                                      displayName="Girls"
                                      fill="{s1}"
                                      showDataEffect="{effectDP.selectedItem.data}"/>
                 </mx:series>
             </mx:ColumnChart>
             <s:HGroup>
                 <mx:Legend dataProvider="{cchart}"
                            direction="horizontal"/>
                 <s:VGroup>
                 </s:VGroup>
             </s:HGroup>
         </s:Panel>
    </s:Application>

    Thank you very much for you answer.
    I have solved this problem using Itemrenderer.
    <?xml version="1.0" encoding="utf-8"?>
    <s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:s="library://ns.adobe.com/flex/spark"
                    xmlns:mx="library://ns.adobe.com/flex/mx"
                    autoDrawBackground="true">
        <mx:Label htmlText="{data.text}"/>
    </s:ItemRenderer>
    and in chart I have used labelRenderer. in label I have used  &lt; for ( < ) sign.
    <mx:horizontalAxis>
                    <mx:CategoryAxis
                        dataProvider="{expenses}"
                        categoryField="Month"
                        title="FY 2006"
                        id="a1"
                        />
                </mx:horizontalAxis>
                <mx:horizontalAxisRenderers>
                    <mx:AxisRenderer labelRotation="45" axis="{a1}" labelRenderer="chase.BarChartLabelRenderer"/>
                </mx:horizontalAxisRenderers>
                <mx:verticalAxisRenderers>
                    <mx:AxisRenderer labelRotation="45" axis="{a1}" labelRenderer="chase.BarChartLabelRenderer"/>
                </mx:verticalAxisRenderers>

  • Bi-derectional text and migration from Flex 3 to Flex 4

    Hi guys, Can we migrate our application from Flex 3 to Flex 4
    in order to support bi-directional text? I have been reviewing the
    new Text Layout Framework tutorial and I found out a set of new
    components that need to be used in order to support bi-di ext.
    What about the classical Flex components that we used to use
    in our application? do I need to re-write my application with the
    TLF components in order to support bi-di? Can’t I just set
    some new properties and re-compile my application?
    Please help
    Thank You

    For Flex 4, in addition to developing new "Gumbo" components
    which have an improved skinning architecture and use TLF, the Flex
    team is also planning to make it possible to have a few TLF
    features such as bidirectional text in some or perhaps all of the
    Halo components from Flex 3. These components currently use a
    Player class known as TextField. A class called TLFTextField is
    being developed which uses TLF to implement the same APIs as
    TextField, and therefore can replace TextField in the Halo
    components.
    This work is underway but not yet complete. Only a few
    components are currently working with this approach and there is no
    way at the moment to turn on bidirectionality. We are also starting
    to develop a UI-mirroring feature to allow the entire user
    interface -- not just the text -- to become right-to-left.
    So what you need -- the ability to write Arabic and Hebrew
    applications using only legacy Halo components -- is planned for
    Flex 4.
    Gordon Smith
    Adobe Flex SDK Team

  • Migration from Flex 3 to Flex 4

    I've migrated my project from flex 3 to flex 4 and all it's ok, the new project work fine.
    But I created my custom TitleWindow MX style and I created a swc library from Flash builder 4, all it's ok.
    When I use my custom TitleWindow in new project (compatible with mx+spark) it work fine when I add only mx component, when I add a <s:TextArea> for example, it throw this error in run-time: Skin for ForumTitleWindow1220.boxMessaggioInput.TextArea1227 cannot be found.
    where ForumTitleWindow1220 and boxMessaggioInput are my instance.
    in particolar the error is "throw(new Error(resourceManager.getString("components", "skinNotFound", [this])));"
    in SkinnableComponent to line 698.
    why?

    For Flex 4, in addition to developing new "Gumbo" components
    which have an improved skinning architecture and use TLF, the Flex
    team is also planning to make it possible to have a few TLF
    features such as bidirectional text in some or perhaps all of the
    Halo components from Flex 3. These components currently use a
    Player class known as TextField. A class called TLFTextField is
    being developed which uses TLF to implement the same APIs as
    TextField, and therefore can replace TextField in the Halo
    components.
    This work is underway but not yet complete. Only a few
    components are currently working with this approach and there is no
    way at the moment to turn on bidirectionality. We are also starting
    to develop a UI-mirroring feature to allow the entire user
    interface -- not just the text -- to become right-to-left.
    So what you need -- the ability to write Arabic and Hebrew
    applications using only legacy Halo components -- is planned for
    Flex 4.
    Gordon Smith
    Adobe Flex SDK Team

  • Flash migration to Flex

    Hey there,
    Is there anyway to migrate existing applications built in Flash to Flex without having to rewrite everything over again? I've heard something about the Flex Component Kit that says it allows you to build Flex components in Flash but that doesn't sound like what I am looking for.
    Thanks!

    If you build a pure as3 project you can migrate it easily. But if you 
    don't you can embed the compiled flash app within a Flex app using 
    SWFLoader for instance.
    Sincerely,
    Michael
    Sent from my iPhone
    El 17/07/2009, a las 11:43, Tereno10 <[email protected]> escribió:
    >
    Hey there,
    >
    Is there anyway to migrate existing applications built in Flash to 
    Flex without having to rewrite everything over again? I've heard 
    something about the Flex Component Kit that says it allows you to 
    build Flex components in Flash but that doesn't sound like what I am 
    looking for.
    >
    Thanks!
    >

Maybe you are looking for

  • Unable to Create Workflows with either SharePoint Designer 2010 or 2013 to our SharePoint Online Service

    Hey there I was wondering if anyone could shed some light on our current issue using SharePoint Online (hope this question is in the correct place) We are using SharePoint Online and I believe we are using the SharePoint Plan 1 for EDU - which I beli

  • I can't open my refurbished palm pilot m500

    so I bought this palm pilot m500, have down loaded the software, charged and connected to my computer, and when I go to open the hand held it says "test" or assign log pad.... what is this? I just want to use the silly thing! and I can't find these i

  • Won't stay asleep. How to troubleshoot?

    My iMac won't stay asleep when either put to sleep or when it "falls asleep". I've attempted removing or turning off all peripherals with no luck. I've tried unchecking Wake for Network access (however, I use Logmein so this needs to remain on). Is t

  • Camera raw crash

    I use imac 4 core i7, 8GB ram, os 10.6.3 Trial install of CS5 extd. Open NEF file in camera raw (have tried 6.0 and 6.1)  Select spotting brush. Proceed to correct dust spots, etc. When I need to remove spotting circles to evaluate the image, I press

  • Have no clue what I'm doing

    Hi. I just started using Java and JSP. I'm taking a class at school and am struggling badly. I need help on two assignments. One: Objective: This assignment uses JSP directives Description: Create an HTML form name "SimpleInterest.html" that allows t