| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: May 2005
Posts: 2
|
the code run normally in swf,
ActionScript Code:
and how to use setInterval() in flex actionscript as referred in flex actionscript reference: setInterval(functionName:Function, interval:Number [, param1:Object, param2, ..., paramN]) : Number setInterval(objectName:Object, methodName:Function, interval:Number [, param1:Object, param2, ..., paramN]) : Number Parameters functionName A function name or a reference to an anonymous function. interval The time in milliseconds between calls to the functionName or methodName parameter. param1, param2, ..., paramN Optional parameters passed to the functionName or methodName parameter. objectName An object containing the method methodName. You must include this parameter when using setInterval() in an <mx:Script> block in Flex applications. thanks |
|
|
|
|
|
#2 |
|
lala
Join Date: Feb 2002
Location: on the road
Posts: 2,859
|
needs to be inside a <mx:Script> tag
|
|
|
|
|
|
|
|
|
#4 |
|
Registered User
Join Date: Aug 2008
Posts: 1
|
Thank you for your info! I know it now! Thanks!
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|