-
Simple Question for Showing Current Frame
Hi!
I'm working to create a simple animation and have created the motion tween. I would like a text box that shows during the clip that tells the viewer what frame they're viewing.
I've created an empty dynamic text box and named the instance 'myTextField'.
Then, I inserted the following code in an actionscript layer:
myTextField.text = _currentframe;
However, when I play the movie, the textbox only shows the first frame, and doesn't change as it the motion tween does. What am I doing wrong? Thanks for any input!
-
Actionscript Code:
this.onEnterFrame = function() { myTextField.text = _currentframe; };
arkitx
-
Thanks a bunch. It worked perfectly.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|