LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-12-2004, 10:49 AM
MarushA MarushA is offline
Registered User
 
Join Date: Nov 2003
Posts: 51
Rep Power: 10
MarushA is on a distinguished road
Easy variable questions

I want to display this variable. I have a setinterval meaning it uses that figure to start counting down from.

When i use dynamictext to display variable, it shows the amount it was when the frame loaded. Is there a way to make it update so it keeps displaying the refreshed value every second? So basically its counting down.

timer = setInterval(this,"resume",timed*1000);
function resume() {
clearInterval(timer);
gotoAndPlay("timeup");

I have this script as a delay script. I want the dynamictext (named timer) to count down the delay. All it says instead is 1

timed = variable which decreases on entering the frame

Whats not right?
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
using value of a variable as a variable name jhatpat ActionScript 3.0 2 01-26-2009 04:36 AM
Editing Template error(convert from .fla to .swf) Travi$18 Flash CS3 / Flash 9 2 09-03-2008 06:43 PM
2D Physics Engine Scottae Members Cafe 11 07-24-2008 04:36 PM
Dynamic Text - change text box variable on click kenisswell Flash MX ActionScript 10 11-01-2005 09:20 PM
variable questions and suggestions, please rigpig Flash MX ActionScript 1 03-20-2004 01:47 AM




All times are GMT. The time now is 08:39 AM.