Sunday, April 29, 2007

Flex 2.0.1 ComboBox with icon support.

Sometimes a ComboBox with icons in the list as well as in the text display area can be useful. However the out of the box Flex ComboBox component dosn’t support this. Here is one way of doing it.


Jason Hawryluk made good component. you can get here

Thursday, April 26, 2007

eval API for Flex™ 2

The D.eval() (read DEE-val) API is a SWC library for Flex™ 2 applications to execute text strings of dynamic ActionScript expressions and programs. The language used in D.eval() is Deval, a subset of the ActionScript 3 (AS3). It supports all the AS3 expressions (including E4X) and most flow control statements; it can access any AS3 classes and functions; it does not define functions and classes. D.eval() opens a whole new world to Flex™ 2 applications and application development.

download here

Create Custom ContextMenu

The following example hides all the built-in objects in the Context menu. (However, the Settings and About items still appear, because they cannot be disabled.)

var newMenu:ContextMenu = new ContextMenu();
newMenu.hideBuiltInItems();
this.menu = newMenu;

In this example, the specified event handler, menuHandler, enables or disables a custom menu item (using the ContextMenu.customItems array) based on the value of a Boolean variable named showItem. If false, the custom menu item is disabled; otherwise, it's enabled.

var showItem = true; // Change this to false to remove
var my_cm:ContextMenu = new ContextMenu(menuHandler);
my_cm.customItems.push(new ContextMenuItem("Hello", itemHandler));
function menuHandler(obj, menuObj) {
if (showItem == false) {
menuObj.customItems[0].enabled = false;
} else {
menuObj.customItems[0].enabled = true;
}
}
function itemHandler(obj, item) {
//...put code here...
trace("selected!");
}
this.menu = my_cm;

When the user right-clicks or Control-clicks the Stage, the custom menu is displayed.

Wednesday, April 25, 2007

Artemis

Artemis is a community focused project aimed at bringing external libraries
to the Flex / Flash environment. The goal of Artemis is to provide features in the
Flex / Flash desktop application domain that are not currently available. The Artemis
framework allows a developer to create their own custom libraries (currently written
in java with plans to support other languages) that integrate with a Flex / Flash
Apollo application. Developers will be encouraged to share Artemis libraries they’ve
built and discuss new features through this web site.



For Flex Developers:

Artemis provides a way for developers to collaborate on building extension to
theApollo framework. Nearly any java API can be encapsulated in an Artemis Library and
exposed to an Apollo application through the Artemis framework.



The Java Artemis Bridge developers have the capability of interfacing with
hardware on Bluetooth and other communication ports, are able to off load expensive
tasks like XSLT to the java process, and in the end let Flex do what Flex does
best: present an engaging and interactive user interface. No more hang ups in having
the Flash player fight for processing resource, an Artemis developer can tap into a
multi-threaded environment provided using java.

Saturday, March 24, 2007

"Joyent Slingshot " beer to ruby on rails community

The joyent slingshot is lightweight framework, which is customizable and allows ruby on rails application to run offline with simple and transparent data synchronization.

Joyent Slingshot enables Rails to break free of the browser. It breaks down the wall between a Web application and a desktop application without losing what makes a Web application great: the ability to rapidly develop, deploy and update, now for desktop applications.

And for more details visit: official web site

Friday, March 23, 2007

Do you want prevent flex loader from start up your application?

Here's a really simple trick you can use to prevent the Flex loader from showing when you start up your application. All you have to do is hide the window, and show it when the Application is ready.

In MyApplication-app.xml:

"<"rootContent systemChrome="standard" transparent="false" visible="false">[SWF reference is generated]

"</"rootContent">"

This sets your application manifest to make the root window invisible. Then, you just make it visible when everything's ready:

In MyApplication.mxml:

"<"mx:MyApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="window.visible = true" ">"

Saturday, March 17, 2007

Can you specify data types of the elements of the array?!

Hey don't worry, actually you con't specify the data types of the elements of the array.But you can able to do using by [META DATA] .Look into following syntax

[ArrayElementType("String")]
public var stringArray:Array = new Array();
......

[ArrayElementType("Number")]
public var numberArray:Array = new Array();
....

You have foure options to specify as a data type of [ArrayElementType("-- ")].There are String,Number,Class and Interface.I hope that it would be helpful.You may get more useful tips often.. who knows...

What is Metadata How can use on FLEX 2.0 ?

The Flex compiler recognizes component metadata statements in your ActionScript class files and MXML files. The metadata tags define component attributes, data binding properties, events, and other properties of the component. Flex interprets these statements during compilation; they are never interpreted during run time.

Metadata statements are associated with a class declaration, an individual data field, or a method. They are bound to the next line in the file. When you define a component property or method, add the metadata tag on the line before the property or method declaration.

In an ActionScript file, when you define component events or other aspects of a component that affect more than a single property, you add the metadata tag outside the class definition so that the metadata is bound to the entire class, as the following example shows:

// Add the [Event] metadata tag outside of the class file.
[Event(name="enableChange", type=flash.events.Event)]
public class ModalText extends TextArea
{
...
// Define class properties/methods
private var _enableTA:Boolean;
// Add the [Inspectable] metadata tag before the individual property.
[Inspectable(defaultValue="false")]
public function set enableTA(val:Boolean):void
{
_enableTA = val;
this.enabled = val;

// Define event object, initialize it, then dispatch it.
var eventObj:Event = new Event("enableChange");
dispatchEvent(eventObj);
}
}

Friday, March 16, 2007

GoogleTalk Gadget Added to Personal Pages


Google just announced integration of their instant messaging service, Google Talk, with Google IG, their personalized home page. The flash-based widget plugs into your Google Personal Home Page as an integrated buddy list and IM window. The new widget can be added to your page here.



The widget isn’t just a copy of the Gmail version, it also has some of its own cool new features. Compared to popup message windows in the Gmail version, the widget’s conversations open up tabs instead. The new widget will also will also intelligently parse Picassa and YouTube links, displaying the content embedded right in the conversation.

Thursday, February 22, 2007

Do you want to go to Apollo camp? Register to get free ticket !!!

ApolloCamp is coming. On March 16, 2007 at 5PM-11:30PM Adobe is hosting ApolloCamp in San Francisco. This one night mini conference will have you building Apollo applications.



ApolloCamp Registration ( FREE EVENT )

ApolloCamp is limited to 300 developers. Signup launched yesterday and it is nearly 50% booked. If you want to go to ApolloCamp, stop what you are doing and register now. If you register, make sure to attend, there are some giveaways that you will NOT WANT TO MISS.

Runtime CSS in Flex 2.0.1

We have fabulous features in newly updated flex platform, called runtime CSS .It provides compiler option to directly compile CSS into swf.

To proceed , use MXMLC Stylesheet.css comment in commant line or If you are using Flex 2.0.1 straight away you can right click on CSS file and press on "Compile CSS to SWF".

And If you don't have any idea about css style of flex component, don't worry you have
Flex 2 Style Explorer . The style explorer has facility to generate css style as what you feel components should be.

Monday, February 19, 2007

myFeedz - The social newspaper

Hey folks you have another rss reader like google reader,which is provided by adobe that is myFeedz.It is released for free as a technology preview on Adobe Labs.

myFeedz is a webapplication that finds what is important news from the sea of information on the internet and shows you what you need to read.Here they are providing personalized content, you can customize as what you feel.Realy it's a fabulous application.

You can get into this by click here.keep with updated information of technology...wow enjoy :)

Friday, February 09, 2007

Fullscreen mode in Adobe flash browser player

Now you have option to get fullscreen mode in browser player too.Already stand-alone player has this implementation.now they have added new actionscript that will work in both stand-alone and browser player, and a new HTML parameter allowFullScreen to enable the fullscreenmode

The fullscreen mode initiated through Actionscript and you can terminate through Actionscript or by the user switching focus to another window.

But the problem is that You con't enter the text in textbox while in fullscreen mode.your keyboard input and key-related actionscript would be disabled while in fullscreen,except key borad shortcut that take user out of fullscreen mode.

To enable the fullscreen mode you have to install 9,0,28,0 or greater of Flash Player.

Wednesday, January 24, 2007

Hey Let's go towards FLEX 3.0

The good news for flex geek is that adobe now starts talking about FLEX 3.0.You can register
your interest to join an advisory panel here.

Flex 3.0 targets the release version of Flash Player 9 and will be widely deployable to over 90% of computers, well over 1 Billion computers, the day it ships.And To sum up what Ted says the main subject is that about Flex 3.0's target. see more here

Im evidently looking the way of coming flex3.0. I belive that you too.........

Friday, January 19, 2007

No more worries about css issues among IE and Firefox


Hai folks still do you worry about css issues between IE and Firefox.so Now it is time to feel free.....


Microsoft announced microsoft firefox 2007 for $30.It provides improved navigation through tabbed browsing, web search right from the toolbar, advanced marginal manipulation, reading & subscription to RSS (Real Simple Sex), and much more.


Microsoft Firefox 2007 provides security through a robust new architecture, security features that help defend against malicious software, and new ways to better protect against the theft of personal data from fraudulent websites, a practice known as Googling.


It has improved support for cascading style sheets and robust tools for deploying and managing images, sounds, video and other interactive content.


CSS Improvement:

Margins and Paddings within Microsoft Firefox now work flawlessly after extensive research by the Microsoft Laboratories in Silicon Valley. Better support for font families and font sizes still pending further research.

Thursday, January 11, 2007

Microsoft's RIA Platform

Microsoft makes revolution among the RIA tech.That is WPF/E(windows presentation fountation).“WPF/E” is the Microsoft solution for delivering rich, cross-platform, interactive experiences including vector animation, graphics, audio, and video for the Web and beyond. Utilizing a subset of XAML (eXtensible Application Markup Language)-based on WPF technology.

WPF/E enable you to make creation of content and applications that runs within multiple browser and operating systems(windows and macintosh) using web standards for programmablity.WPF requires lightweight browser plug-in,it freely available you can get it here.

Thursday, January 04, 2007

OpenSource

Opensource is a fabulous methodology that promote access to the end's product source materials.We can make changes if you like to change the way of working or whatever,then redistribute without paying royalties or fees.But we have to get license .The classic licenses are GPL, LGPL, BSD, and MIT .When our code goes to live as an opensource, people improve it,adapt it and fix bugs.


The Mozilla and google makes an astonishing trend among the opensource community.Google runs the google code service,In this service google provides bunch of opensource project,APIs ,code search..etc.That's what still google shine.So folks mind it "the future is opensource everthing".

Friday, October 27, 2006

I m begin to Web2.0

Hey folks,

From today i am going to join you and our community


ok