1 Reply Latest reply on Oct 24, 2011 10:12 AM by Flex harUI

    mx.controls Flex 4.5.1

    EBS User

      Hi

      I am trying to port an application from Flex 2 to Flex 4.5

       

      We have downloaded the trial version of Flash Builder 4.5 / Flex sdk 4.5.1 and entered our license key.

       

      I imported the existing project workspace into FB 4.5 I get lots of errors relating to mx.control classes not found.

       

      The following directory "C:\Adobe\Adobe Flash Builder 4.5\sdks\4.5.1\frameworks\projects\framework\src\mx\controls"

      is missing all of the following classes and more :

       

      1046: Type was not found or was not a compile-time constant: CheckBox.
      1046: Type was not found or was not a compile-time constant: ComboBox.
      1046: Type was not found or was not a compile-time constant: DataGrid.
      1046: Type was not found or was not a compile-time constant: DateField. 
      1046: Type was not found or was not a compile-time constant: HBox. 
      1046: Type was not found or was not a compile-time constant: TextInput.
      1046: Type was not found or was not a compile-time constant: VBox.
      1046: Type was not found or was not a compile-time constant: ViewStack.
      1046: Type was not found or was not a compile-time constant: WipeDown.
      1046: Type was not found or was not a compile-time constant: WipeRight. 

       

      The directory only contains the following (which is much less than 3.6.0 which is also present in the Adobe Flash Builder 4.5\sdks directory):

       

      10/06/2011  03:08             2,132 ButtonLabelPlacement.as
      22/06/2011  12:55    <DIR>          colorPickerClasses
      10/06/2011  03:07             1,860 IFlexContextMenu.as
      22/06/2011  12:55    <DIR>          listClasses
      22/06/2011  12:55    <DIR>          menuClasses
      10/06/2011  03:11            10,767 MovieClipSWFLoader.as
      10/06/2011  03:07             1,516 ProgressBarDirection.as
      10/06/2011  03:07             2,247 ProgressBarLabelPlacement.as
      10/06/2011  03:09             2,303 ProgressBarMode.as
      10/06/2011  03:09             2,173 Spacer.as
      10/06/2011  03:09               405 Spacer.png
      10/06/2011  03:10            90,491 SWFLoader.as
      10/06/2011  03:10               766 SWFLoader.png
      10/06/2011  03:08            14,893 ToolTip.as


      I understand some of these classes have alternate spark versions and am using some (HBox, TextInput etc). However, there is no spark version of DateField, so I want to keep using the mx.control version.

       

      According to the ActionScript 3 (http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/class-summary.html) references it is still available, so could anyone help me find out why it is not part of my 4.5.1 installation?

      thanks