I'm doing some programmatic validation of some field values in a form, is there any way in Actionscript to highlight the field in red the way the validators do?
相关问题
- Should I wait for Flash Player 10.1 or go with Fla
- How to load flex swf from flash?
- Converting Date with Time in PST into UTC format
- Is older version of flex SDK really required?
- Setting Page Title from a SWF
相关文章
- How To Programmatically Enable/Disable 'Displa
- Trace on Chrome/Browser console
- Is building separate .swc allow a faster loading o
- How to load images and fragments dynamically in Li
- Assigning an array of objects to a DataGrid
- Libraries for text animation in Flex / Actionscrip
- Flex 4 - Create states and add elements at runtime
- changin the default width and height of the dropdo
Try using glow filter:
you just need to set errorString property on programmatic validation error
Using:
To highlight the background in AS3:
To highlight the border in AS3:
To turn it off, just set the appropriate boolean to
false
.