# Action for one frame only

**URL:** https://forum.kirupa.com/t/action-for-one-frame-only/311715
**Category:** flash
**Created:** [July 14, 2010, 4:31pm UTC](https://forum.kirupa.com/t/action-for-one-frame-only/311715 "2010-07-14T16:31:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kaico](https://avatars.discourse-cdn.com/v4/letter/k/e495f1/32.png) [@kaico](https://forum.kirupa.com/u/kaico)
#### Post date: [July 14, 2010, 4:31pm UTC](https://forum.kirupa.com/t/action-for-one-frame-only/311715/1 "2010-07-14T16:31:25Z")

</div>

Hello everybody,

Is there some way that I can have a special function for one/selected frame(s) only? Like when you click on a button, the function will only execute if you’re in frame 7 (please note that this is only an example, I want to use it in an other way, using the motion-sensor on my phone)…  
The script/action must be entered in the frame-actions dialogue, and not on a movieclip or something.

Anyone knows the answer to my question?  
Thanks in advance,  
Kaico
