Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-13-2010, 09:11 AM   PM User | #1
getbestproduct
Banned

 
Join Date: Aug 2010
Location: everywhere
Posts: 63
Thanks: 2
Thanked 3 Times in 3 Posts
getbestproduct is an unknown quantity at this point
How to change text on frame number?

I want to change the text of a dynamic text box based on the frame number. Something like this:
Code:
if (_currentframe > 222 && _currentframe < 2222) {
	txtMessage.text = "Pump turned on";
}else{
	txtMessage.text = "";
}
But this doesn't work. All help is much appreciated!
getbestproduct is offline   Reply With Quote
Old 10-14-2010, 09:08 AM   PM User | #2
[Paul Ferrie ]
Regular Coder

 
Join Date: Nov 2009
Location: Scotland / Glasgow
Posts: 184
Thanks: 1
Thanked 19 Times in 19 Posts
[Paul Ferrie ] can only hope to improve
Try tracing the current frame as your code looks fine.
__________________
.:To me AS is like LEGO, Only for the big Kids :.
- Site - Blog - Glasgow Flasher
[Paul Ferrie ] is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

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

Forum Jump


All times are GMT +1. The time now is 12:21 AM.


Advertisement
Log in to turn off these ads.