Mathew Easow Jacob’s Blog–India

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

Archive for the ‘Flex’ Category

About adobe Flex

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 »

Firebug for Flex 2.0/3.0 applications

Posted by easow83 on June 5, 2008

from http://code.google.com/p/fxspy/

Check it out a live at: http://www.mieuxcoder.com/data/2007/12/FlexSpy-1.2/dashboard.html (in the application, click the flexSpy button on the top-right corner)

Flex-Spy allow you to inspect and dynamically change most properties and styles of the visual components in your Flex application. You can – for example – try out a specific width or a background color for your component before changing it in your code.

To install it in your application, follow the InstallationInstructions.

Posted in Flex, Flex 2.0.1 | Leave a Comment »

My flex app:

Posted by easow83 on April 9, 2008

I am building my own flex app…its a website :) ..its going to host on April 20th…then i willl post its link…i know flex is not meant for website development..its for app. purpose..but when i have  to do with photviwer app. yahoo map. and some more like webservices (in future :) )…i choose flex finallyy :)

Posted in Flex, GeneralDiscussion | 1 Comment »