Hello all, I am new to flash and seem to be stuck with this problem. Any

guidance would be extremely appreciated.

I am trying to spin the wheel automatically with out mouse click. i am

trying harder. here is the code:

Code:
import fl.transitions.Tween;
import fl.transitions.TweenEvent;
import fl.transitions.easing.*;


txtCount.background=true;


var randomnumber:Number; 


var tw:Tween  = new Tween(mcArrow,"rotation",Strong.easeOut, 10, 360, 

20, true); 


tw.stop();


tw.addEventListener(TweenEvent.MOTION_FINISH, spinStopped);


function spinStopped(twevt:TweenEvent):void {
    txtCount.backgroundColor = 0xFFFFFF;
    txtCount.text = String(randomnumber);
    mcArrow.addEventListener(MouseEvent.CLICK, spin);
}


mcArrow.addEventListener(MouseEvent.CLICK, spin);


function spin(mevt:MouseEvent):void {
    var numturns:int = Math.ceil(2*Math.random());
    randomnumber = Math.ceil(100*Math.random());
    
    mcArrow.removeEventListener(MouseEvent.CLICK, spin);
    
    txtCount.text = "Spinning...";
    txtCount.backgroundColor = 0xFF9999;
    
    tw.begin = mcArrow.rotation;
    tw.finish = numturns*1080 + randomnumber*3.6;
    tw.start();
}
here is the sample file http://www.mediafire.com/?q988b9nse43zbdg
how to get the specified number which is available in mysql database

instead of random no.

advance thanks for the help...