# When you select the textField DropShadow occurs?

**URL:** <https://forum.kirupa.com/t/when-you-select-the-textfield-dropshadow-occurs/247053>\
**Category:** Uncategorized\
**Created:** [December 18, 2007, 2:37am UTC](https://forum.kirupa.com/t/when-you-select-the-textfield-dropshadow-occurs/247053 "2007-12-18T02:37:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rchinchilla](https://avatars.discourse-cdn.com/v4/letter/r/91b2a8/32.png) [@rchinchilla](https://forum.kirupa.com/u/rchinchilla)\
**Post date:** [December 18, 2007, 2:37am UTC](https://forum.kirupa.com/t/when-you-select-the-textfield-dropshadow-occurs/247053/1 "2007-12-18T02:37:16Z")

</div>

Its pretty simple but I don’t know how to do it.

I have a file with first name, middle initial, last name.

I have created 3 text fields inside of mc’s and 3 mc’s for the “text field borders”.

I would like for the first mc aka fn\_box to have a DropShadow when the first textField mc is either rolledOver or selected.

I have attached the file but I don’t even know where to begin.

I think its something along these parameters…but don’t quote me…lol

Code:  
fn\_txt\_mc.onRollOver {fn\_box.filters [DropShadowFilter,3,3];}  
How would I write this in AS 2 and AS 3?

Thanks,

Roger
