ServeBox repository structure update ( Air integration )

ServeBox is working on implementing AIR application build with Maven Flex Plugin. Due to this update the structure of the repository is altered as follows :

  • SWC Artifacts “airframework” and “airspark” are moved from “com.adobe.air” to “com.adobe.flex.sdkcore” because they are not part of AIR SDK provided by Adobe.
  • The group “com.adobe.air” will contain from now four artifacts with version 1.5.3.9120; they are “airglobal.swc”, “applicationupdater.swc”, “applicationupdater_ui.swc” and “servicemonitor.swc”. These artifacts are also provided in versions 2.0.2.12610, 2.5.0.16600 and 2.6.0.19120 plus “aircore.swc” artifact.
  • Artifacts of Flex SDK with versions 4.0.0.4021 and 4.0.0.9136 will be deleted, these versions corresponds to Gumbo SDK (Flex SDK 4 beta).
  • Added zh_CN locales for Flex 4 SDK versions.

And very soon an AIR archetype will be provided to make your project configuration easier. We hope these improvements will affect your projects in the good way.

Wednesday, April 13th, 2011 Articles, Maven No Comments by Jeff Mathiot

ServeBox ActionScript Foundry 3.0.0-beta has been released

ServeBox ActionScript Foundry 3.0.0-beta has been released, bring compatibility with flex4 framework. Maven dependency available at http://maven.servebox.org/repository/ and source code in sf.net.

Changelog :

changelog v3.0.0- Flex4

– SmartForm compatibility with spark component
– added preInitialize() function in : called when all external resources are loaded and before initializeFoundryObjects(). It avoids adding an event listener to each IExternalRessource objects and has only one function called after resources are loaded.
– added addEventListener signature to IExternalRessource.
– XMLSpringResource constructor needs now only a path.
– XMLSpringResource addEventListener() updated to match EventDispatcher equivalent method signature.
– GlobalizationDictionary implements IExternalRessource.
– GlobalizationDictionary dispatches a COMPLETE event when file is loaded.
– GlobalizationDictionary load() function replaced by setUri() setter. load() function is used now for loading XML only.
– A GlobalizationDictionaryError is thrown when trying to change GlobalizationDictionary file Uri.
– AbstractApplication extends spark.components.Application.
– AbstractAirApplication extends spark.components.WindowedApplication.
– Views : mx containers replaced by spark containers.
– IView extends IVisualElementContainer and IVisualElement in addition of IUIComponent to match spark containers specifications.
– getView() ViewHelper method result is casted to IView and no more to Container.
– Widget is a spark.components.Group.
– ISmartFormElement and all components extending it: setValue updated to setItemValue and getValue to getItemValue.
– ISmartFormElement and all components extending it: renderer returns UIComponent instead of a Container.
– SFDateCombo uses DropDownList instead of ComboBox.
– Added SFDropDownList as an ISmartFormElement.
– TextRenderer deleted because Text was removed from spark and replaced by Label.
– LabelRenderer : maxDisplayedLines set to 1 and showTruncationTip set to true.
– SFTextArea : renderer maxDisplayedLines set 0 and renderer height set to component height.
– DelayTextInput : Event.CHANGE updated to TextOperationEvent.CHANGE.
– Ununsed GridView mx container removed.
– BrowsingTabBar and BrowsingTabNavigator removed because they have no equivalent in Spark. Use instead a saprk TabBar and a ViewStack.
– TileView removed because it is a Group container with a TileLayout.
– SFComboBox dataProvider setter update : verifying that the dataProvider is a an IList.
– Update of extractURI() to match Flex 4 container’s child handling.
– seekObject() in GetObjectBrowsingAction update : NavigatorContent is ignored and inner IView component is processed.
– execute() in ViewStackBrowsingAction : selectedIndex is determined on the contained IView of the NavigatorContent.
– mx namespace fix.
– Using mx namespace instead of spark for transitions and states in SmartTextAreaVertical.
– toolbox StringComparator.as ASDoc update to be valid.
– Projet pom.xml updated to use sparksins as a theme for ASDoc.
– Add postInitializeMethod after initializeFoundryObjects if there is no external resources.

Wednesday, October 6th, 2010 Releases No Comments by Jeff Mathiot

Servebox ActionScript Foundry and DotNet

Servebox ActionScript Foundry and a DotNet back-end.

We successfully used the DotNet framework for a customer Project backend, with the opensource project fluorinefx ( http://www.fluorinefx.com ). Our framework include now a DotNet project for TransferObject and ValueObject strong type mapping between flex client and fluorinefx backend.

Checkout at sf.net

Thursday, September 2nd, 2010 Tips No Comments by Jeff Mathiot

ServeBox ActionScript Foundry 2.2.0 has been Released

The ServeBox ActionScript Foundry 2.2.0 has been released.

Change log:

  • Add ServeBox-Foundry-DotNet-Commons project.
  • ViewHelper made compatible with AIR.
  • Initialization process refactored to AbstractAirApplication.
  • Handle AMFSecureChannel for https in ChannelSetProvider.
  • Width update of read-only renderer for a SFDateField.
  • Implemented ISmartFormElement to SFCheckBox.
  • Added trueLabel and falseLabel to SFChekBox, it will be used in READ_MODE of SmartForm.
  • Model extends EventDispatcher now.
Wednesday, April 14th, 2010 Releases 1 Comment by Jeff Mathiot

Maven Flex Plugin 2.3.2 has been released

The Maven Flex Plugin 2.3.2 has been released.

Change log:

  • EclipseMojo writes a directive name and its value separated by a comma.
  • DOC_NAMESPACE_ARGUMENT changed from “-namespace=” to “-namespace”.
  • Conditional control for handling name spaces is now inside handleSources method.
  • DOC_SOURCE_PATH_ARGUMENT argument is added to argument list before checking if the asdoc compiler uses manifest or not.
Thursday, January 21st, 2010 Releases No Comments by Jeff Mathiot

Maven Flex Plugin 2.3.1 has been released

The Maven Flex Plugin 2.3.1 has been released.

Change log:

  • Handle of flex:eclipse goal for air applications.
  • Added feature #2563487: when useLocalFlexSDK is set to true, SDK <!– /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:””; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:”Times New Roman”; mso-fareast-font-family:”Times New Roman”;} @page Section1 {size:612.0pt 792.0pt; margin:70.85pt 70.85pt 70.85pt 70.85pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} –> dependencies are not added to library path.
  • Added new configuration property: <mxmlExtraFiles> allows to put multiple flex applications into the same project.
  • Added new configuration property: <useLocalFlexSDK> allows to use local flex SDK.
  • Added support for two compiler options : include-file, include-stylesheet.
  • Added functionality to flex:eclipse : embedded files and styles are generated in flexLibProperties.xml.
  • buildFinalName configuration option added.
  • Component manifests now allows including class using manifest files in SWC artifatcs.
  • ArchiveFiles and StyleSheets SWC attachment fixed: when building SWC project files with flex:eclipse, the plugin will ignore not existing files and files not in sourceDirectory or resourcesDirectory. The flex plugin will raise an exception if one of the defined files does not exist. But it will include existing files that are not in sourceDirectory or resourcesDirectory.
  • Fixed issue on themes configuration. NB: a css file should be set as theme and the swf referenced inside the CSS file.
  • Fixed issue #2694561: classEntry path is correctly created when a package starts with .as or .mxml.
  • Fixed issue #2698139: included classes array is no more empty.
  • Fixed .actionscriptProperties file generation: the link for referenced project is now set to “bin” instead of taking in fact the project’s nature.
  • .actionscriptProperties file rootUrl property fixed.
  • Improved documentation.
Wednesday, July 8th, 2009 Releases No Comments by Jeff Mathiot

CManager tutorial

CManager, a tutorial which illustrates the development of a Flex application using ActionScript Foundry, is available. The application is composed of a Flex client and Java/BlazeDS service running on a Tomcat server. You can read the tutorial here.

Friday, April 24th, 2009 Tutorials No Comments by Jeff Mathiot

Using Spring ActionScript With ActionScript Foundry

What is Spring ActionScript ?

According to the official site:

Spring ActionScript is an Inversion of Control (IoC) Container for ActionScript 3.0, and more specifically the Flex framework. It enables you to configure objects and components in a non-intrusive way by describing them in an external xml document and having them loaded at runtime. ”

› Continue reading

Tags: , , ,

Thursday, April 9th, 2009 Tutorials No Comments by Jeff Mathiot

Maven Flex Plugin 2.2.0 has been released

The Maven Flex Plugin 2.2.0 is released

Change log :

  • Several bug fixes.
  • Improved RSL dependencies support.
  • Improved compilation when optimize option is set to true.
  • Fixed fontSnapshot property.
  • Added modules support, modules can be configured, compiled and defined with flex:eclipse mojo.
  • Support of post-compilation optimization for modules.
  • resourcesDirectory option added.
  • maven-dependency-plugin dependency upgraded from version 2.0-alpha4 to latest stable version 2.1 ( fixed issue 2528490 ).
  • Downgraded xercesImpl to match OEM compiler dependency.
  • Add resourcesPath to compileSourceRoots.
  • Add a localesDirectory property which allows locales compilation prior to artifacts compilation.
  • Added a locales property (which now takes precedence on the former locale property) :

    <locales>
    <locale>en_US</locale>
    <locale>fr_FR</locale>
    <locale>sp_SP</locale>
    </locales>
Saturday, April 4th, 2009 Releases No Comments by Jeff Mathiot

ServeBox ActionScript Foundry 2.1.0 has been Released

Changelog :

  • Add a useNameAsMatchPropery on SmartForm. This property is used to force SmartForm mechanism on name property instead of Id property. e.g : If the linked value object has a “label” or a “name” property , you will not be able to create a SmartForm element with “name” as id, this is a reserved work.
  • Compatibility with Spring ActionScript ( prana ) improved
  • Load mechanism for external resources at startup refactored
  • Code cleaning
  • ISMartFormElement forward change event to SmartForm
  • Using flex SDK 3.2.0.3958
  • Add a rendererPaddingTop for SmartForm renderer alignment.
Saturday, April 4th, 2009 Releases No Comments by Jeff Mathiot