Build Automation via Ant – Facebook Photo Gallery

Using ant macros for extracting swf libary files from the swc runtime shared libraries, compiling the external swf modules, generating the html wrappers. Flex Ant tasks have priority over corresponding exec or java commands. This is the case for compc and mxmlc compilers. For extracting swf libraries from rsls or for generating custom html wrappers, exec commands are used because there are no corresponding flex ant tasks.
Continue reading Build Automation via Ant – Facebook Photo Gallery

Facebook.Connect Javascript-Flex Communication – Facebook Photo Gallery

Facebook actionscript API can only make login calls by opening a new browser page to an official Facebook login page. To avoid this redirection, Facebook javascript API is used for login/logout operations. It has the advantage of presenting dhtml login/logout popups over the flex app without any user redirection. The flex app still controls all the authentication logic with the difference that login/logout calls are done using javascript functions via ExternalInterface.
Continue reading Facebook.Connect Javascript-Flex Communication – Facebook Photo Gallery

Parsley 2.2 and Spicelib 2.2 Implementation Details – Facebook Photo Gallery

All flex applications are event driven. With Parsley messaging framework managing events is a lot more easier. You don’t have to manually dispatch and listen for events. Using Parsley defined metadata tags the code becomes cleaner, shorter, more easier to understand and maintain. Add Parsley Inversion of Control (IOC) framework and you have the means to easily create highly decoupled applications. Below steps take AlbumModule as a reference.
Continue reading Parsley 2.2 and Spicelib 2.2 Implementation Details – Facebook Photo Gallery

General Development Notes – Timeline Chart

Probably the most important thing to be mentioned is that custom flex components designed to be used as Xcelsius add-ons require to be compiled against Flex 2 SDK, latest being Flex 2.0.1 SDK with HotFix 3. You can’t use Flex 3/4 SDK and this haven’t changed with the latest Xcelsius 2008 SP3 version. I have no idea when this will change… Also Flex 2 SDK is not supported in the upcoming Flash Builder replacing Flex Builder.
Continue reading General Development Notes – Timeline Chart

Google Maps in Flex – Flight Routes

Main application mxml is ZSAB_ISL_SPFLIGHT following an ABAP like naming convention. Everything is built on two variables shared between flex and webdynpro: flightList and currentFlight. Every time they get updated, the map overlays get updated as well.
Continue reading Google Maps in Flex – Flight Routes