# Movieclip behavior

**URL:** <https://forum.kirupa.com/t/movieclip-behavior/189379>\
**Category:** Uncategorized\
**Created:** [June 2, 2006, 2:35am UTC](https://forum.kirupa.com/t/movieclip-behavior/189379 "2006-06-02T02:35:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdcates](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@jdcates](https://forum.kirupa.com/u/jdcates)\
**Post date:** [June 2, 2006, 2:35am UTC](https://forum.kirupa.com/t/movieclip-behavior/189379/1 "2006-06-02T02:35:17Z")

</div>

i have a movieclip that is a slider used like a toggle on/off switch.  
it currently will turn on and start its parent movie.  
i cannot figure out how to assign an additional behavior to this movieclip.  
how can tell it that once the button/movieclip is in a certain x/y position on the slider that its behavior should be different, ie goto a different frame in its parent movie, upon user ‘press’

when the slide is moved back to off, i cannot figure out how to get it to go the frame that starts the other gradiant tween.

[http://www.picturehisword.com/jv](http://www.picturehisword.com/jv)
