# Problem with buttons

**URL:** https://forum.kirupa.com/t/problem-with-buttons/283967
**Category:** Uncategorized
**Created:** [March 13, 2009, 12:06am UTC](https://forum.kirupa.com/t/problem-with-buttons/283967 "2009-03-13T00:06:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![WEich1213](https://avatars.discourse-cdn.com/v4/letter/w/ecb155/32.png) [@WEich1213](https://forum.kirupa.com/u/WEich1213)
#### Post date: [March 13, 2009, 12:06am UTC](https://forum.kirupa.com/t/problem-with-buttons/283967/1 "2009-03-13T00:06:20Z")

</div>

I’m trying to add actionscript to a button that says:

on (release) {  
//Goto Webpage Behavior  
getURL(“[http://www.thefwa.com?","\_blank](http://www.thefwa.com?%22,%22_blank)”);  
//End Behavior

}

but when I click the button it won’t let me write any actionscript, it says"current selection cannot have actions applied to it."  
I’ve done this before with no problem I don’t know why it won’t let me do it with this button. Any suggestions? Thanks WEich1213
