# Cannot apply an action script

**URL:** https://forum.kirupa.com/t/cannot-apply-an-action-script/278705
**Category:** flash
**Created:** [January 4, 2009, 6:19am UTC](https://forum.kirupa.com/t/cannot-apply-an-action-script/278705 "2009-01-04T06:19:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![nawaray](https://avatars.discourse-cdn.com/v4/letter/n/54ee81/32.png) [@nawaray](https://forum.kirupa.com/u/nawaray)
#### Post date: [January 4, 2009, 6:19am UTC](https://forum.kirupa.com/t/cannot-apply-an-action-script/278705/1 "2009-01-04T06:19:36Z")

</div>

hi…  
i was using flash 8 before and now im using flash CS3.  
i have created a movie clip and i want to insert this code:

```auto

on (release) {
 iColor=new Color(this);
 iColor.setRGB(_root.fillColor);
 delete iColor;
}

```

but when i click on the movie clip and go to Actions this what appears:  
Current selections cannot have actions applied to it…  
but in flash 8 i can put the code in the movie clip…  
can someone please teach me how to do this in CS3…  
thankx
