# How do I Intialize a movie clip? PLEASE HELP!

**URL:** <https://forum.kirupa.com/t/how-do-i-intialize-a-movie-clip-please-help/187511>\
**Category:** flash\
**Created:** [April 29, 2006, 9:59pm UTC](https://forum.kirupa.com/t/how-do-i-intialize-a-movie-clip-please-help/187511 "2006-04-29T21:59:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DougS](https://avatars.discourse-cdn.com/v4/letter/d/7cd45c/32.png) [@DougS](https://forum.kirupa.com/u/DougS)\
**Post date:** [April 29, 2006, 9:59pm UTC](https://forum.kirupa.com/t/how-do-i-intialize-a-movie-clip-please-help/187511/1 "2006-04-29T21:59:04Z")

</div>

Hi,  
I have movie clip (called MainButton) that I am using as a button and it has an ActionScript function (called Load\_Data(str:String) ). I have tested both and they work. Now in scene 1, I have “dragged and dropped” several instances of MainButton onto my stage (from my library) . But when I call each instance’s Load\_Data(str:String) function from an onLoad event in the Actionscript in the 1st cell in scene1, it doesn’t work. Can anyone tell me what event will work? I have to initialize the buttons before the user views the page.

Thank you very much!
