Saturday, March 24, 2007
"Joyent Slingshot " beer to ruby on rails community
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?!
[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 ?
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.