# Error #1063: Argument count mismatch

**URL:** https://forum.kirupa.com/t/error-1063-argument-count-mismatch/315874
**Category:** flash
**Created:** [November 6, 2010, 10:32am UTC](https://forum.kirupa.com/t/error-1063-argument-count-mismatch/315874 "2010-11-06T10:32:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![FlashNewbie1000](https://avatars.discourse-cdn.com/v4/letter/f/96bed5/32.png) [@FlashNewbie1000](https://forum.kirupa.com/u/FlashNewbie1000)
#### Post date: [November 6, 2010, 10:32am UTC](https://forum.kirupa.com/t/error-1063-argument-count-mismatch/315874/1 "2010-11-06T10:32:38Z")

</div>

Hello everyone

I have some supposedly simple code to control a component on the main timeline from a button within a movieclip on the timeline, which is resulting in: “Error #1063: Argument count mismatch on net.slideshowpro.slideshowpro::SlideShowPro/loadAlbum(). Expected 2, got 1.  
at csp\_main\_fla::nav\_bmc\_1/loadAlbumWildlife()”

I have no idea what the problem is and it’s holding me up! Very frustrating! Here is the code on the movieclip’s timeline…

stop();

wildlife\_btn.buttonMode = true;

function loadAlbumWildlife(event:Event):void { MovieClip(this.parent).csp\_slideshow.loadAlbum(“wildlife”); }

wildlife\_btn.addEventListener(“click”,loadAlbumWildlife);

Any help greatly appreciated!

Thanks
