I didnt test this, but something along the line should work [ActionScript] onEnterFrame = function{ i = dataYougetFromMySQL; if (i < max){ this._width = this._width * (i*factor) // factor can slow down or accelerate your animation } } [/ActionScript]
hth, Philipp "- [ Paul Ferrie ] -" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi guys i hope there is someone in here that use flsah along with php to > help with this :) > > Anyway i will make it simple. > > mysql returns a number say 123 i want flash to take this number to animate a > progress bar, but here the problem it does work but the progress bar dosn't > animate it just sets to the hieght of the numbers sent back from mysql. How > can i slow down the animation of the progress bar > > Anyone > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php