# Call afunction on attached movie

**URL:** <https://forum.kirupa.com/t/call-afunction-on-attached-movie/307336>\
**Category:** Uncategorized\
**Created:** [April 1, 2010, 8:53pm UTC](https://forum.kirupa.com/t/call-afunction-on-attached-movie/307336 "2010-04-01T20:53:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![svenneke](https://avatars.discourse-cdn.com/v4/letter/s/e9a140/32.png) [@svenneke](https://forum.kirupa.com/u/svenneke)\
**Post date:** [April 1, 2010, 8:53pm UTC](https://forum.kirupa.com/t/call-afunction-on-attached-movie/307336/1 "2010-04-01T20:53:03Z")

</div>

Hello,

i attach a movie to an other with this code  
currentMc = clips[0].cont.attachMovie(“about”, about, 0, {\_y: 10 });

this works fine, bunt in de about movieclip there is a function that is called  
setData (xmlfile , cssfile) i want to call to fill the clip with the data provided in the funtion but i can not figure out how to call the function in the about

tia  
sven
