# WARNING: Actions on button or MovieClip instances are not supported in ActionScript 3

**URL:** <https://forum.kirupa.com/t/warning-actions-on-button-or-movieclip-instances-are-not-supported-in-actionscript-3/322711>\
**Category:** flash\
**Created:** [May 31, 2011, 1:30pm UTC](https://forum.kirupa.com/t/warning-actions-on-button-or-movieclip-instances-are-not-supported-in-actionscript-3/322711 "2011-05-31T13:30:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tseyigai](https://avatars.discourse-cdn.com/v4/letter/t/47e85d/32.png) [@tseyigai](https://forum.kirupa.com/u/tseyigai)\
**Post date:** [May 31, 2011, 1:30pm UTC](https://forum.kirupa.com/t/warning-actions-on-button-or-movieclip-instances-are-not-supported-in-actionscript-3/322711/1 "2011-05-31T13:30:51Z")

</div>

I’m getting the error message below for a button I have that goes to url function. What code do I need to do for this to work?

This is what I’m using now:

**on (release) {  
getURL(“[http://www.angelfire.com/in/HisTruth/copyofindex.html](http://www.angelfire.com/in/HisTruth/copyofindex.html)”, “content”);  
}**

(Can I use this code and just change it to actionscript 2 instead or what?)

WARNING: Actions on button or MovieClip instances are not supported in ActionScript 3.0. All scripts on object instances will be ignored.

thanks for any help,  
tseyigai
