# Please help me to display my time

**URL:** <https://forum.kirupa.com/t/please-help-me-to-display-my-time/193991>\
**Category:** flash\
**Created:** [July 19, 2006, 7:09pm UTC](https://forum.kirupa.com/t/please-help-me-to-display-my-time/193991 "2006-07-19T19:09:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![firefly](https://avatars.discourse-cdn.com/v4/letter/f/f0a364/32.png) [@firefly](https://forum.kirupa.com/u/firefly)\
**Post date:** [July 19, 2006, 7:09pm UTC](https://forum.kirupa.com/t/please-help-me-to-display-my-time/193991/1 "2006-07-19T19:09:57Z")

</div>

In my game thre is timer counter(count up) going, when the person solves the puzzle I want to store the time.  
On my main page thre is a graphic symbol time on that I made a movieClip Timer, inside Timer I defined a dynamic text nTime  
For action for graphic symol time thats the code  
onClipEvent(load){  
startTime=getTimer();  
}  
onClipEvent (enterFrame) {  
currentTime=getTimer();  
elapsedTime=Math.round((currentTime-startTime)/1000);  
nTime = elapsedTime+ " secs";  
}  
Its showing me time. Once the puzzle is solved I’m redirecting it to frame 5 which has a dynamic text box to display time person used to solve the puzzle.  
But its saying undefined .  
Can anyone tell me how to reference it?
