Adobe Flex 4.6 & Playbook deployment hastles

Compiling and deploying a mobile application built in Adobe Flex 4.6 was an extremely difficult and confusing tasks.  Main issues involved vague error messages in Flex Builder and even vaguer solutions that I came across on-line. Missing File error messages This was the most confusing
Continue Reading →

Adobe Flex 4.6: Mobile TextInput component border and color modifications

What should have been a relatively simple requirement interestingly enough turned in to an involved process. The concept is quite simple: I needed a way to modify the standard spark.component.TextInput component for my mobile application – the modification involved changing the
Continue Reading →

SAP WebDynpro Adobe Flex island libraries

When creating Adobe Flex islands within an SAP WebDynpro application one must embed proper ActionScript libraries in to the corresponding Flex project.  The libraries can be located in an SAP NetWeaver system.  To find the libraries follow these steps: TR: SE80 Select MIME Repository 
Continue Reading →

Adobe Flex 4.5 vs 4.6 input fields overlay/overflow problem in Mobile Development

This particular problem has puzzled me for quite some time now.  Imagine the following scenario: <?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"
Continue Reading →

Flex & SAP: SAP Gateway as dataService plugin

Follow these steps in order to set up SAP GAteway as one of the data service objects in your Adobe Flex builder. Prerequisites Fully installed version of Adobe Flex builder version 4.5 Installation instructions Download the SAP Gateway plug-in from Adobe [link here] Start Flex Builder
Continue Reading →

FLEX: reflective programming

  flash.utils.describeType Produces an XML object that describes the ActionScript object named as the parameter of the method. This method implements the programming concept of reflection for the ActionScript language. var lo_xml:XML = describeType(myClass); lo_xml.@name; // retu
Continue Reading →

MXML: “true && true” error

Stumbled across this strange error while doing some development.  I’ve needed to determine the enable function of a button based on two boolean conditions and as a result created the following bit of code: <com:Component enabled="{booleanA &amp;&amp; booleanB}&qu
Continue Reading →

Adobe Flex: smooth out the images – scaleContent

When you’re dealing with a situation that requires the use of the following image settings: width="100%" height="100%" scaleContent="true" maintainAspectRatio="true" You can find your self in a situation where the loaded content will resul
Continue Reading →

FLEX: BlackBerry SDK basic compilation error [locale]

When I tried creating a new project with the BlackBerry sdk I ran in to the following error: DescriptionResourcePathTypeLocation Unable to resolve resource bundle “collections” for locale “en_US”. Flex ProblemUnknown Although annoying I quickly found a solution
Continue Reading →

FLEX: convert HTML format to RichText

If you are working with rich text editors you will run in to a situation where you have to format an HTML string to RichText value. Following code can accomplish this: gc_ta_bio.textFlow = TextConverter.importToFlow( "<h1>Your String</h1>", TextConverter.TEXT_FIE
Continue Reading →