Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
change text box color
07-23-2008, 12:16 PM (This post was last modified: 07-23-2008 12:16 PM by bpsujith.)
Post: #1
change text box color
hi..
i have an Action script for a counter.

function wait() {
if (mad<50) {
mad++;//adds 1 to the text box: mad
}
}
myTimer = setInterval(wait, 45);



here 'mad' is variable name of dynamic text box.

how to change text box color to 'red' when the 'mad' reaches 50.

plz find the attachment for fla.


Attached File(s)
.fla  counter.fla (Size: 40.5 KB / Downloads: 4)
Visit this user's website Find all posts by this user
Quote this message in a reply
12-30-2010, 05:51 AM (This post was last modified: 12-30-2010 05:52 AM by dilexmellen.)
Post: #2
RE: change text box color
if my text box is activated html Text How do I change the text color Wen add text to it through this?
does not work. and another question is there a way to change the background color of a textbook on a regular basis without AS?
Find all posts by this user
Quote this message in a reply
02-14-2011, 03:33 PM
Post: #3
RE: change text box color
Anyone know how to do it? That when a user selects clicks into a text box, the "class" changes to another value which has a different background colour set. I tried a view javascripts like change property in Dreamweaver MX but to no avail. Anyone know the actual script as I am not a javascript writer.

Thanks
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Arabic text in XML bpsujith 0 2,681 02-03-2010 12:54 PM
Last Post: bpsujith

Forum Jump:


User(s) browsing this thread: 1 Guest(s)