My First Adobe Developer Center article!

November 24, 2010 Leave a comment

Hi Folks,

I am glad to reveal that my first ever Adobe Developer center article went live this Monday 22nd November 2010.

The article basically talks about Item Renderer changes in Flex 4 and the tooling support provided in Flash Builder.

Please find the link for the article below:

http://www.adobe.com/devnet/flex/articles/spark_itemrenderers.html

Hope this helps!

Thanks :)

Categories: Uncategorized

IDE Productivity enhancements added to Flash Builder Burrito

October 29, 2010 1 comment

Hi All,

I am extremely delighted in sharing the fact that we have added an immense set of editor based IDE productivity features for the Flash Builder Preview release.

Here is the list of those features and a brief description on the same:

a) Code Templates:

Code templates are a structured description of code patterns that reoccur in source code. Support of these editor level templates with in action script/MXML and CSS documents, will enable flash builder ‘Burrito’ users to auto insert these code patterns using content assist (Ctrl+Space).

FB ‘Burrito’ proposes set of Pre-defined templates/code snippets for ActionScript,CSS and MXML under Editors preference page:

Code Templates Preference page in FB burrito

Templates can be newly created, an existing templates can be edited, templates can be imported/exported in the form of XML file.

The feature also supports linked mode to display multiple values.

Linked Mode in Code Templates

Templates are defined based on contexts in MXML and AS. The various contexts defined are:

MXML: MXML, MXML Attributes,MX Components and Spark Components.

AS: ActionScript, ActionScript Statements, ActionScript type members and ActionScript package scope.

Edit Template dialog with context info

Usage: In the editor on entering the name of template and hitting CMD/CTRL SPACE will bring up a list of code templates defined with similar name.

Action Script Proposal Cycling:

FB 4.5 will allow user to select the proposal kinds or related group of proposals to cycle through when repeatedly invoking content assist (Ctrl+Space). User can select a proposal kind/group and invoke Up and Down to change the order under FlashBuilder->ActionScript Code -> Content Assist Cycling preference page. We would be changing the name of the preference page in MXML cycling also.

Preference Page for AS Proposal Cycling

One can change the order in which the cycling proposals should show on content assist and the editor content assist would reflect the preference.

Usage: Subsequent content assist cycles(CTRL-SPACE) would bring up different proposal cycles as defined in the preference. On an empty line only code templates would appear.

Content Assist Cycling in the editor

FYI, This feature was available for MXML in the earlier releases.

Quick Assist:

Flash Builder “Burrito” will allow the developer to display a list of actions that relate to the current code fragment and select an action to perform a task with/without interacting with a dialog, either by selecting “Quick Fix” from the context menu or by pressing a keyboard shortcut combination (that is, CTRL +1).

Context Menu option for Quick Assist

The set of Quick Assist features supported are:

  • Split Variable Declaration
  • Assign to Variable
  • Convert local variable to field
  • Generate Getter/Setter (with UI)
  • Rename in Workspace (with UI)
  • Rename in File
  • Organize imports

Sub-set of Quick Assist options

Metadata Code Completion:

This feature will allow the developer to use content assist for metadata code completion when beginning a code statement with the ‘[‘ character. The list of metadata presented to the developer must be contextual to the location within the class or MXML document so that only valid metadata can be inserted via content assist. Where appropriate, content assist should present a list of values for metadata properties. Support for metadata content assist should be provided for metadata defined for use with the version of the Flex SDK the developer is using in their project.

This features supports Code hinting inside metadata for optional attributes, linked mode support and proposal cycling support.

Cycling Support in Metadata features

Generate From Usage:

Flash Builder “Burrito” will offer the developer the option to generate the stub code for a method, variable and class via the Quick Assist (CTRL/CMD 1)menu.

Few of the options available here are:

Generate method: selecting this action will create a new method in the appropriate class or
MXML script block with the name of the method supplied by the developer.
eg:

Invoking Quick Assist on an expression like

bar(x, y); // bar is not defined anywhere in the document
Selecting will create a new method named bar(var x:int, var y:int) if x and y are of int type. If the type of the argument is not known then Object will be generated.

Generate variable: selecting this action will create a new property in the appropriate class or
MXML script block with the name of the property supplied by the developer.
eg:
Invoking Quick Assist on an expression like

bar; // bar is not defined anywhere in the document

On Selecting, the statement will be changed to:

var bar:Object;

Generate Class/Interface: selecting this action will create a new class with the name of the class
supplied by the developer.
eg:
Invoking Quick Assist on an expression like:
new Bar(); // Bar is not defined anywhere in the document
 will give option to Generate the Class Bar. 
Selecting will open the new Class Wizard UI with the name 'Bar' pre-populated.

Generate from Usage Scenario

I am also proud to share that the initial feedback
from our customers have been exceedingly good.
However, i request you guys to try them out and
provide us your feedback.

 


Categories: Uncategorized

Preview Release Of Next Generation Flash Builder, Flex and Flash Catalyst is OUT!

October 26, 2010 Leave a comment

Hi All,

I am all excited to communicate that Adobe has publicly released the Preview release versions of next generation Flash Builder(Burrito), Flex SDK(Hero) and Flash Catalyst(Panini).

The downloads are now available at Adobe Labs.

Burrito: Download

Panini: Download

Some of the exciting stuffs that i cherish are:

a) Support for Mobile Application development, debugging and deployment on Android

b) IDE Productivity enhancements.

c) Performance improvements in the editor, design view and start-up.

d) Designer-Developer workflow enhancements.

I personally request you guys to play around with them and send us your suggestions/feedback.

More specific and detailed articles are on the WAY…..!!!!

Also, please do enjoy Adobe MAX 2010 live and exclusive.

Categories: Uncategorized

Adobe Melrose – A Business Dimension to your Day-to-Day Development!

August 27, 2010 5 comments

Hey Guys,

Long time no see; Yeah, was a bit caught up with the product release cycles! Welcome Back…..

This time i would like to talk about a  real COOL stuff which got recently introduced to Adobe Flash platform services called “Melrose”.

Melrose achieved its first public BETA on 25th August,2010.

What is Melrose?

Melrose (formerly Shibuya) enables developers and publishers to distribute and make money with Adobe® AIR® applications through application stores. Melrose enables application syndication to multiple stores so that publishers can reach millions of users.

Who can make use of it?

Any developer who can build apps using AIR; which simply means anyone and everyone(since Flex is open source).

What should I require to use this?

Flex Builder 3, Flash Builder 4 or Flash Professional.Flex 3.4/4/4.1 sdk’s are supported and ensure your AIR version is above 1.5.3.

Should i PAY?

NO :) As part of the BETA program Adobe provides a free ‘Code Signing Certificate’ which is sufficient to deploy your app to the marketplace.

How do I share revenue with Adobe?

We follow try and buy licensing mechanism. There a lot of licensing methods available namely Simple licensing, Timer based licensing, Feature based licensing and Manual Licensing. For a given paid app, the revenue share would be 70-30(Developer/Publisher -> Adobe).

Which are the stores i can target via Melrose?

Currently INTEL AppUp Centre and Adobe AIR marketplace. But lot in store for you guys in the near future….!!!!!

What should be my NEXT steps?

a) Download AIR SDK and start building compelling apps which can make you a MILLIONAIRE(who knows!)

b) Login in to ‘adobe.com”, Sign up for the Melrose BETA program and download the Melrose SDK.

c) Include the downloaded library to you AIR app’s build path.

d) Enable licensing as mentioned in the BETA release help documentation.

e) Apply for FREE ‘Code Signing Certificate’ from the BETA program or provide your signed certificate issued by Thwate, VeriSign or GlobalSign

f) Export Release Build with the above certificate and upload your application to the Melrose portal.

More details on the portal and other pre-requisites can be obtained once you sign-up for the BETA program.

g) Once Adobe approves your application installer; you would be given an URL which can used by the users to download and start using your apps.

I request you guys to check out Adobe Melrose Forum for any specific info and further details.

Best Of All, you can monitor the ANALYTICS of your application.

Thanks all, hope you guys make more and more money leveraging Adobe Solutions and Services!!!!!

Categories: Uncategorized

Flex Builder Linux Alpha 5 now available @ Adobe labs!

November 27, 2009 Leave a comment

Hi Guys,
This NEWS can get you all excited :)

Adobe has released the next version of Flex Builder for LINUX.

It is now available @

http://labs.adobe.com/technologies/flex/flexbuilder_linux/ :)

Please pick up your copies and let us know your feedback!

Thanks!

Categories: Uncategorized

How to consume CFaaS using Flex client ?

November 27, 2009 2 comments

Hi All,

Welcome Back!

Here is a brief explanation on how services exposed by Coldfusion(CFAAS) can be consumed using Flex client.

FYI, Coldfusion9 has exposed few utlities as services, namely :

Charting (CFCHART) ,Document Services (CFDOCUMENT) , PDF Utilities (CFPDF) ,Image Manipulation (CFIMAGE) , Mail (CFMAIL)  & Pop (CFPOP)

Here i would like to explain how one of  the most common CF service(CFMail) can be accessed using Flex.

a) In CF9 administrator, under Mail section please type your server name, username and password. Check the ‘ Verify mail server connection’

checkbox and click ‘Submit Changes’. Make sure you get the message ‘Connection Verification Successful’.

b) Under Security-> ‘User Manager’ section in CF9 administration,  add an user using ‘Add User’ with the following info:

username, password, confirm password , check both RDS and administrative access and add ‘Exposed Services’ by selecting the required services.

eg: Mail Service and click ‘Add User’.

c) Go to ‘Security->Allow IP Address in CF9 administrator and enter your IP address and say ‘Add’.

d) After add the following tag in addition to CF:Mail,

<cf:Config  cfServer=”” cfPort=”8501″ servicePassword=”” serviceUserName=”” />(the values entered here should be same as the ones configured under ‘Add User’ and ‘Allow IP address’ section).

e) Create a flex project using Flash Builder and add the ‘CFService.swc’  which would be available under D:\ColdFusionCentaur\wwwroot\CFIDE\scripts\air (subject to CF9 installed location) to your build path (Project->Flex Build Path->Add SWC).

Also find the Flex code required to access the CFMail service below:

<cf:Mail to=”{to1.text}” from=”{from1.text}”  subject=”Test” content=”{myContent.text}” type=”html” id=”cfmail”  result=”cfmail_resultHandler(event)” />
<mx:VBox>
<mx:HBox>
<mx:Label text=”From”/>
<mx:TextInput id=”from1″ />
</mx:HBox>
<mx:HBox>
<mx:Label text=”To” width=”33″/>
<mx:TextInput id=”to1″ />
</mx:HBox>
<mx:RichTextEditor id=”myContent”>

</mx:RichTextEditor>
<mx:Button id=”myButton” label=”Send” click=”cfmail.execute()”/>

</mx:VBox>

We request you guys to take a look at these workflows and send your feedback on the same :)

Thank You!

Categories: Uncategorized

Custom Summary Calculator for Grouping Collection 2

October 23, 2009 1 comment

Hi ,

Here is a small implementation of custom summary calculator which can be used with SummaryField2 in GroupoingCollection2 of Advanced data grid.

Most of us know that the default summary calulations are SUM, MAX, MIN, AVG and COUNT.

With the new Grouping Collection one can add a custom summary calculator to calculate the summary of a field.

A sample snippet to illustrate the use is as shown:

var summField:SummaryField2 = new SummaryField2(“price”, new MySummaryCalculator());

OR

var summField:SummaryField2 = new SummaryField2(“price”);

summField.summaryOperation = new MySummaryCalculator();

Here, MySummaryCalculator is the custom summary calculator which implements ISummaryCalculator.

Please find the MySummaryCalculator

and the corresponding  Flex code with grouping collection :)

(Look for ADGGC2Test.mxml and MySummaryCalculator.as in the linked site)

The summary calculator here generates the Summary as a PRODUCT of the values in the datafield.

Thanks!

Balaji


Categories: Uncategorized
Follow

Get every new post delivered to your Inbox.