Monthly Archives: February 2010

Get a ribbit developers account

Step 1. From the Developer Portal homepage , click the Sign Up button. Step 2. Start by entering your email address. The email address you enter here will be the username you use to login to the Ribbit Developer Portal … Continue reading

Posted in Uncategorized | Leave a comment

Creating a sliding panel

Add a creation complete function which is a function called in the event of creation of application(basically in the starting) <?xml version="1.0" encoding="utf-8"?> <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()"> Added a canvas with id sliding panel and a button on it <mx:Canvas … Continue reading

Posted in Uncategorized | Leave a comment

Preventing the default behaviour of events in Flex

Hi all, In this eg. we have prevented the default action that occurs due to the closing event. The closing event is launched when you hit on the close button of the application window, i.e., this event is launched just … Continue reading

Posted in Uncategorized | Leave a comment

Open a new window @ runtime and alter its various properties

In this tutorial we are going to learn the use of mx.core.Window class to create a new window and use its properties. We will observe the changes in the windows appearance and nature as we modify its properties. After going … Continue reading

Posted in Uncategorized | 2 Comments

Using tweens in Flex

<?xml version="1.0" encoding="utf-8"?> <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()"> <mx:Canvas x="160" y="112" width="200" height="288" backgroundColor="#010000" id="slidingPanel"> <mx:Button x="58.5" y="131" label="SlideRight" id="Button"/> </mx:Canvas> <mx:Script> <![CDATA[ import mx.events.EffectEvent; import mx.effects.Move; import mx.effects.easing.*; private var panelIn:Move; private var panelOut:Move; private function init():void { this.Button.addEventListener(MouseEvent.CLICK,this.toggleBtn); this.panelIn=new … Continue reading

Posted in Uncategorized | Leave a comment