# Interactive movie clips using OnClick on certain objects - Help!

**URL:** <https://forum.kirupa.com/t/interactive-movie-clips-using-onclick-on-certain-objects-help/329485>\
**Category:** flash\
**Created:** [September 4, 2012, 9:57pm UTC](https://forum.kirupa.com/t/interactive-movie-clips-using-onclick-on-certain-objects-help/329485 "2012-09-04T21:57:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lewis\_Taylor](https://avatars.discourse-cdn.com/v4/letter/l/82dd89/32.png) [@Lewis\_Taylor](https://forum.kirupa.com/u/Lewis_Taylor)\
**Post date:** [September 4, 2012, 9:57pm UTC](https://forum.kirupa.com/t/interactive-movie-clips-using-onclick-on-certain-objects-help/329485/1 "2012-09-04T21:57:11Z")

</div>

Hello people! I’m a complete newbie to flash and having some trouble making flash website. Im using Adobe flash CS5.5 and ActionScript 2.0. After searching the net I couldn’t find anything on this (or im looking in the wrong places).

For the website I have a movie clip for each page/section of the website. I have animated buttons which are again movie clips which are clickable to get to the different parts of the website. This is an example of the code I used for the buttons which worked perfectly.

on (press) {  
\_root.pagekong.gotoAndPlay(“play\_page”);  
}

Basically my problem is I want the movie clips that are used for the pages/sections to have objects within them which can be clicked on to activate different sections of the movie clip. Like the movie plays for X amount of frames and then stops allowing time for the users to read.Then an object can be clicked (arrow or something) to continue the movie to the next section.

I thought it would be as simple as placing code into the frame with the object needed to be clicked. Although I know this is wrong something like…

_placed into frame with object that needs to be clicked named click\_next_

on (press) {  
click\_next.gotoAndPlay(“phase2”);  
}

Oh and when I try this method I often get the error “mouse events are permitted only for button events”

So yeah, I hope you can see my idea :/. Any suggestions would be fantastic!  
Thank you ever so much guys and gals!:beam:
