views:

334

answers:

1

In my application i want to show 5 clcok . In the clock shows international time depend on country based But Normal clock time i will get sytem time (getmintues and gethours ) and show . How can show all country time ?. i tried below code for animation . Do you know like those any example for clock animation .

public function createChildren() : Void
   {
    border_mc = createClassChildAtDepthWithStyles(
        _global.styles.rectBorderClass,
        DepthManager.kBottom, { styleName : this });
        // create the empty movie clips in the order
        // you want them stacked
        createEmptyMovieClip("face_mc",getNextHighestDepth());
        createEmptyMovieClip("hourHand_mc",getNextHighestDepth());
        createEmptyMovieClip("minuteHand_mc",getNextHighestDepth());
        createEmptyMovieClip("secondHand_mc",getNextHighestDepth());

        setInterval(this,"tickTock",1000);
        super.createChildren();
    }
A: 

search for degrafa tutorials for flex. tere is an example on how to make a clock in flex. hope what will help you out

Priyaman