# "interactivity" issues

**URL:** <https://forum.kirupa.com/t/interactivity-issues/182370>\
**Category:** flash\
**Created:** [March 17, 2006, 3:01pm UTC](https://forum.kirupa.com/t/interactivity-issues/182370 "2006-03-17T15:01:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![midhel](https://avatars.discourse-cdn.com/v4/letter/m/a8b319/32.png) [@midhel](https://forum.kirupa.com/u/midhel)\
**Post date:** [March 17, 2006, 3:01pm UTC](https://forum.kirupa.com/t/interactivity-issues/182370/1 "2006-03-17T15:01:41Z")

</div>

Hi,

I am trying to make a siimple mockup for a site – in flash - and i am running into a problem. I basically made buttons for a menu - and then when each button is pressed (onRelease) it calls a movie clip or graphic which is in the library and plays it in the same screen.

Admittedly (and here is where the problem is) I looked at the tutorial lesson entitled “interactivity” in which Macromedia shows how to utilize the attachMovie function.

However, it doesn’t work when I used the same code?

What am i doing wrong?

Thanks so much,  
sorry for the n00b q, but i have searched and have not found a simple answer.

midhel

* * *

## the entire code

stop();

// The About Movie  
about.onRelease = function() {  
this.\_parent.attachMovie(“about\_text”, “abt\_txt”,1);  
abt\_txt.\_x = 150;  
abt\_txt.\_y = 250;  
};

// The Portfolio Movie  
portfolio.onRelease = function() {  
this.\_parent.attachMovie(“portfolio\_mov”, “port\_mov”,1);  
port\_mov.\_x = 150;  
port\_mov.\_y = 250;  
};

// The Current Projects Image  
projects.onRelease = function() {  
this.\_parent.attachBitmap(“projects\_txt”, 1);  
};

// The Contact Image  
contact.onRelease = function() {  
this.\_parent.attachBitmap(“contact\_text”, 1);  
};
