-
[F8] quick color switch in text box
Have a series of numericSteppers. When the user clicks on one of these steppers I want Productivity (a dynamic field on stage) to update while simultenaously emitting a quick flash of color. The background would be best. Something to catch the eye so that the user understands that the dynamic field has changed.
Tried changing it through:
Pros.backgroundColor=;dlfkjas;fdlk;
Pros.backgroundColor=;dlfkjas;fdlk;
Where Pros is the instance of the dynamic text and ;alkdfjj;dlfkj are two different colors.
No good, it just defaulted to the later of the two colors.
The code I am using to update Pros is:
var stepsListener = new Object();
stepsListener.change = function() {
populateProductivity();
populateAnnual();
};
Labor.addEventListener("change", stepsListener);
CutSet.addEventListener("change", stepsListener);
CutDay.addEventListener("change", stepsListener);
GenSet.addEventListener("change", stepsListener);
ExtenSet.addEventListener("change", stepsListener);
Any suggestions? I would imagine that this is done frequently in different applications.
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
|