Hi Abdul, I ran into a similar issue. In short, whether my code was not scoped in an MXML file or whether it was within a class, I could not pass over a parameter (a number in my case) and have the function called by the setInterval reference the parameter passed over more than 1x.
With Terry's problem, I had experienced something similar using Cairngorm with Flex. I could not get my textfield (or label) to update if I called a function that called a setInterval. If I called the function directly it worked. I fixed this when I stuck the code in a class and specified the object with view.MyTextfield.text. However, I'm still unable to do the following: Call a setInterval within a class. Have the setInterval pass over a number. And the function called increment that number. Pass this new number to a textfield object. If I call: setInterval(this,"somefunction", 1000, 5) function somefunction ( e : Number) { e++ mx.controls.Alert.show(e) // shows 6 } My code is at work, but the above is what I remember as having not worked. It works if I set a default value within the function. But as a parameter, the value fails. Best, Dave Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/