Mathew Easow Jacob’s Blog–India

a enthusiast…developer…on technology,RIA,flex,web,startup….

Archive for the ‘Flex’ Category

About adobe Flex

Flash Innovation Time Line

Posted by easow83 on November 12, 2009

Posted in Flex, RIA | Leave a Comment »

Choosing a Flex framework…

Posted by easow83 on November 12, 2009

This is a summary written by Jeremy regarding the popular framework currently available for Flex.So that you can make the most informed choice possible regarding which framework best suits the needs of your team or project. It covers the Cairngorm, Mate, PureMVC, and Swiz frameworks. (you can view the presentation here).

Frameworks must be simple and maintanable, rather than popular or complecated.

Posted in Flex, RIA | Leave a Comment »

Adobe® Flex® 3 SDK. It is updated 3.3.

Posted by easow83 on March 13, 2009

New version of Flex is available on download Flex 3.3

New features include

1.Sandboxed and multi-version applications (new in Flex 3.2)

2.Native support for Adobe® AIR™

3.Persistent framework caching

4.Advanced DataGrid component

5.OLAP DataGrid component

6.Enhanced Constraints layout mechanism

7.Flex Charting package enhancements

8.Flex Component Kit for Flash CS3

9.Flex Ajax Bridge library

Flex moves to open source – Adobe Flex is now open source with source code for the framework, compilers, debugger, and more available under the Mozilla Public License. Learn more at http://opensource.adobe.com/flex.

http://www.adobe.com/support/documentation/en/flex/3/releasenotes_flex3_sdk.html

Posted in Flex 3 | Leave a Comment »

Getting ready for AIR 1.5 and Flex 3.2

Posted by easow83 on October 19, 2008

With flashplayer10 out in the wild, it’s only a matter of days before the release of both FlexBuilder 3.2 and AIR 1.5 -aka Cosmo (nightly builds are already available). Although we probably shouldn’t expect much besides the FP10 upgrade, it’s still pretty exciting news. I don’t know about you, but I still haven’t compiled any application for this player just yet. I didn’t want to bother tweaking my development environment, and just prefered to wait. Now, I must say I’m getting impatient… :) Here are some thoughts about what we can expect from these Read More

Posted in AIR, Flex 3 | Tagged: , | Leave a Comment »

undrgable flex alert

Posted by easow83 on September 14, 2008

Here is the source for undgragable alert ….set  “isPopUp” property “true” to make it dgragable.

<?xml version=”1.0″ encoding=”utf-8″?>
<mx:Application
xmlns:mx=”http://www.adobe.com/2006/mxml
layout=”
vertical”
verticalAlign=”middle”
backgroundColor=”white”>
<mx:Script>
<![CDATA[
import mx.controls.Alert;
private var myAlert:Alert;
private function showAlert():void
{
title =
"Undraggable Alert"
;

myAlert = Alert.show("My undgragable alert!!",title);
myAlert.isPopUp = false;
myAlert.status = Capabilities.version;
}
]]>
</mx:Script>
<mx:Button id=”btn”
label=”Show Alert”
click=”showAlert()”
/>
</mx:Application>

 

 

 

 

 

 

 

 

 

Posted in Flex, Flex 2.0.1, Flex 3 | Leave a Comment »

Flex4 animation: try it out

Posted by easow83 on September 11, 2008

see this demo…some of the animation features thatguys are working on for the next version of Flex

http://graphics-geek.blogspot.com/2008/09/flexy-flexible-as3-animation-library.html

Posted in Flex | Leave a Comment »

Update system time dynamically..

Posted by easow83 on September 11, 2008

Here is the sample code were you can display the system time..its like a digital clock..usually the timer we can use to update the time ,running a an application similar to stop watch ,alarm and lot more ..

<mx:Application xmlns:mx=”http://www.adobe.com/2006/mxml” layout=”absolute” creationComplete=”init()”>
<mx:Script>
 <![CDATA[
 [Bindable]
 private var sec:String;
 
  private function init():void {
   var ti:Timer = new Timer(1000);
   ti.addEventListener(TimerEvent.TIMER,timerFun);
   ti.start();
  }
  private function timerFun(e:TimerEvent):void{
     var dt:Date = new Date();
   sec = dt.getHours() +’:'+dt.getMinutes()+’:'+dt.getSeconds();
   
  }
 ]]>
</mx:Script>
 <mx:HBox>
  <mx:Label id=”lbl” text=”{sec}”/>
 </mx:HBox>
</mx:Application>

Posted in Flex, Flex 2.0.1, Flex 3 | Leave a Comment »

Flex custom tooltip speech bubble

Posted by easow83 on September 11, 2008

Here is a sample that should help demonstrate the approach.

click here

Posted in Flex, Flex 2.0.1, Flex 3 | Leave a Comment »

How to turn off horizontalScrollPolicy and verticalScrollPolicy for all conatiners

Posted by easow83 on September 9, 2008

 Application.application.scrollPolicy = “no” that can be overrided by individual containers..

Posted in Flex, Flex 2.0.1, Flex 3 | 1 Comment »

What makes a flex app big in size ??

Posted by easow83 on September 9, 2008

Generally what makes a flex app big in size
1.Try to load your assets (images/animations) at runtime.
2. Try not to embed fonts. If you don’t really need a special font, or advanced anti-aliasing and you are not applying any effects and transformations (alpha, rotation etc.) to your text, you don’t need to embed fonts.
3.Another important concept is that of modular applications. Here are the docs:
http://livedocs.adobe.com/flex/3/html/help.html?content=modular_1.html
4.make sure you are looking at a “production” compile and not a debug compile.  There is significant difference in swf size.
5.not forget the Runtime Shared Libraries.  If you can offload the Flex Framework into and RSL that will significantly decrease your swf’s size.  The initial load will be the full 1mb, unless the user has been to another site that loaded the RSLs already into the flash player cache.  Every subsequent load will be reduced by about 500kb if you’re using the full flex framework.

Posted in Flex, Flex 2.0.1, Flex 3, GeneralDiscussion, RIA | Leave a Comment »