# Problem in Action please help ^\_^

**URL:** <https://forum.kirupa.com/t/problem-in-action-please-help--/229632>\
**Category:** Uncategorized\
**Created:** [June 19, 2007, 3:28am UTC](https://forum.kirupa.com/t/problem-in-action-please-help--/229632 "2007-06-19T03:28:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![offclick](https://avatars.discourse-cdn.com/v4/letter/o/b19c9b/32.png) [@offclick](https://forum.kirupa.com/u/offclick)\
**Post date:** [June 19, 2007, 3:28am UTC](https://forum.kirupa.com/t/problem-in-action-please-help--/229632/1 "2007-06-19T03:28:49Z")

</div>

Hello again expertise 🙂

I’m not good in action script could someone help me out about my problem…

i have this code on flash tutorial and this code is just for movieclip not in buttons  
is it possible to put this code as “button”  
**[COLOR=Red]  
[/COLOR]**[COLOR=Red][COLOR=Black]

[/COLOR][/COLOR]===========================================================  
stop();

this.onEnterFrame = function(){  
if(rewind == true){  
prevFrame();  
}  
}

this.onRollOver = function(){  
rewind = false;  
play();  
}

this.onRollOut = function(){  
rewind = true;  
}

this.onRelease = function(){  
**[COLOR=Red]getURL(“[http://www.kirupa.com](http://www.kirupa.com)”,"\_blank"); [/COLOR]**[COLOR=Red][COLOR=Black]\<\<=== ( replace the link )===\>[/COLOR][/COLOR]\*\*[COLOR=Red]  
[COLOR=Black]\*\*\*\*\*\*\*[/COLOR]  
(on

(release) {  
gotoAndPlay(2);  
}

on (release) {  
concon.loadMovie(“glasseffect.swf”);  
})[/COLOR]\*\*[COLOR=Red][COLOR=Black]

i want this code replace the geturl code not as movie clip but as “BUTTON”🙂 could anyone help me please…  
thanks in advance and GOD BLESS![/COLOR][/COLOR]  
}
