Would you like to react to this message? Create an account in a few clicks or log in to continue.


Pakistan is contributing at its best in the field of latest technologies, platforms and approaches. Here,Flex developers share their experience, knowledge and ideas to assure their best talent in the world.

Latest topics
» Advice sought on recruiting a Senior Flex developer in Lahore
Time display by ILOG ELIXIER PACKAGE EmptyTue May 11, 2010 2:41 pm by anjum

» steam boiler efficency calculator
Time display by ILOG ELIXIER PACKAGE EmptyWed Dec 23, 2009 4:55 am by imranmalik

» URLLoader and URLRequest application
Time display by ILOG ELIXIER PACKAGE EmptyTue Dec 15, 2009 6:01 pm by imranmalik

» Time display by ILOG ELIXIER PACKAGE
Time display by ILOG ELIXIER PACKAGE EmptyThu Dec 10, 2009 9:28 am by imranmalik

» how Filter XML data by Flash Builder
Time display by ILOG ELIXIER PACKAGE EmptySat Dec 05, 2009 6:33 pm by imranmalik

» drag and drop (Advance Data Grid to List Box)
Time display by ILOG ELIXIER PACKAGE EmptyThu Nov 19, 2009 7:12 pm by imranmalik

» access the xml file through HTTPService request
Time display by ILOG ELIXIER PACKAGE EmptySun Nov 15, 2009 11:46 am by imranmalik

» CURRENCY VALIDATOR
Time display by ILOG ELIXIER PACKAGE EmptyTue Nov 03, 2009 2:06 pm by imranmalik

» Synchronous Behavior
Time display by ILOG ELIXIER PACKAGE EmptySun Nov 01, 2009 8:04 pm by imranmalik

Social bookmarking
Social bookmarking reddit      

Bookmark and share the address of on your social bookmarking website


You are not connected. Please login or register

Time display by ILOG ELIXIER PACKAGE

Go down  Message [Page 1 of 1]

1Time display by ILOG ELIXIER PACKAGE Empty Time display by ILOG ELIXIER PACKAGE Thu Dec 10, 2009 9:28 am

imranmalik



for importing ILOG ELIXIER PACKAGE intall it from ibm site,than right click on your project and click on properties then flex build path then click library path tab and click on add swc button and import your files from .swc ilog elixier folder like local folder,framework folder etc
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
verticalAlign="middle" horizontalAlign="center"
backgroundGradientColors="[0x000000,0x323232]"
xmlns:ilog="http://www.ilog.com/2007/ilog/flex"
width="100%" height="100%" themeColor="0x6B4747" creationComplete="init()"
backgroundColor="0x323232">
<mx:Script>
<![CDATA[
private function init():void
{
setTime();
var t:Timer = new Timer(1000);
t.addEventListener(TimerEvent.TIMER, setTime);
t.start();
}
private function setTime(e:TimerEvent = null):void
{
var date:Date = new Date();
var h:String = date.hours.toString().length == 1 ? '0' + date.hours.toString() : date.hours.toString();
var m:String = date.minutes.toString().length == 1 ? '0' + date.minutes.toString() : date.minutes.toString();
var s:String = date.seconds.toString().length == 1 ? '0' + date.seconds.toString() : date.seconds.toString();
time.text = h + ':' + m + '.' + s;
}
]]>
</mx:Script>
<mx:VBox width="100%" height="100%" verticalAlign="middle" horizontalAlign="center">
<mx:Panel title="MUHAMMAD IMRAN" backgroundColor="0" width="271" horizontalAlign="center">
<ilog:NumericIndicator charHeight="30" numChars="0" id="time" charGap="3" segmentGap="thin" text="00:00.00">
<ilog:renderer>
<mx:Component>
<ilog:NumericRenderer aspectRatio="1"/>
</mx:Component>
</ilog:renderer>
</ilog:NumericIndicator>
</mx:Panel>
</mx:VBox>
</mx:Application>

http://www.jumusic.tv

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum