# Targeting main timeline from attachMovie (help)

**URL:** <https://forum.kirupa.com/t/targeting-main-timeline-from-attachmovie-help/275757>\
**Category:** flash\
**Created:** [November 18, 2008, 12:58pm UTC](https://forum.kirupa.com/t/targeting-main-timeline-from-attachmovie-help/275757 "2008-11-18T12:58:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Drawsoup](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/drawsoup/32/80_2.png) [@Drawsoup](https://forum.kirupa.com/u/Drawsoup)\
**Post date:** [November 18, 2008, 12:58pm UTC](https://forum.kirupa.com/t/targeting-main-timeline-from-attachmovie-help/275757/1 "2008-11-18T12:58:46Z")

</div>

'ello 'ello!  
I’m working on this project, where i attach movies to an empty movieclip. In these attached movies, i have a button that needs to target a function on the main timeline.  
Example:

on the main timeline, i have an action that loads a bitmap onto the background: loadBitmapSmoothed(“background.jpg”,bg\_con);  
On the main timeline, i also have a button with following action:  
on(release){  
this.mc\_holder.attachMovie(“MC\_products”,1);  
}

Then, in the attached movieclip i have a button that needs to swap the image previously loaded into the ‘bg\_con’-movieclip, like thus:  
on(release){  
\_root.loadBitmapSmoothed(“product\_1.jpg”,bg\_con);  
}

For some reason, this doesn’t work. I’ve also tried using \_level0. but nothing happens. Any good ideas anyone?  
Any help is welcome, i shall bow in respect to anyone who might come up with a solution.

cheers

Mikz
