# Argument missing error 1136

**URL:** <https://forum.kirupa.com/t/argument-missing-error-1136/265082>\
**Category:** Uncategorized\
**Created:** [July 3, 2008, 6:23pm UTC](https://forum.kirupa.com/t/argument-missing-error-1136/265082 "2008-07-03T18:23:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ventoline](https://avatars.discourse-cdn.com/v4/letter/v/dec6dc/32.png) [@ventoline](https://forum.kirupa.com/u/ventoline)\
**Post date:** [July 3, 2008, 6:23pm UTC](https://forum.kirupa.com/t/argument-missing-error-1136/265082/1 "2008-07-03T18:23:27Z")

</div>

Hi,

I’m kinda new to programmation, so by advance I appologize if my questions seem very Basic.

Here I am trying to build an endless animation, with a function calling an second one calling the firt again.  
Maybe there is a smarter way to make a recursive function?  
But when a call the first again I should pass an argument, error 1136.  
ah, and so far, i’m here, what is the difference between event; evt; e; and Event ?

Here is the code:

bannerLoad.load(new URLRequest(“banner.xml”))  
bannerLoad.addEventListener( event.COMPLETE, loadBan)

function looping(){  
Tweener.addTweener(topLoader, {alpha:0, time:8, onComplete:function(){topLoader.source = bannerList[numero];  
topLoader.alpha = 1;  
loadBan();},  
transition:“linear”});  
}

function loadBan(event:Event){  
banXml = new XML(event.target.data);  
bannerList = banXml.pix;  
topLoader.source = bannerList[6];  
numero= Math.random()\*bannerList.length();  
bottomLoader.source = bannerList[numero];  
looping();}

so, i’m missing an argument to call loadBan() within looping().

Please Help!

---

<div class="post-metadata">

**Author:** ![ventoline](https://avatars.discourse-cdn.com/v4/letter/v/dec6dc/32.png) [@ventoline](https://forum.kirupa.com/u/ventoline)\
**Post date:** [July 3, 2008, 6:56pm UTC](https://forum.kirupa.com/t/argument-missing-error-1136/265082/2 "2008-07-03T18:56:15Z")

</div>

Hi  
Tanks for your reply, but where would place the loadBan?  
I’ve tried some (event/poop… :Event)  
but then i miss a righparen before the colon…  
I must admit i’m a bit lost, and again if you see a smarter way to “go round in circles” i take it!

---

<div class="post-metadata">

**Author:** ![ventoline](https://avatars.discourse-cdn.com/v4/letter/v/dec6dc/32.png) [@ventoline](https://forum.kirupa.com/u/ventoline)\
**Post date:** [July 3, 2008, 7:52pm UTC](https://forum.kirupa.com/t/argument-missing-error-1136/265082/3 "2008-07-03T19:52:04Z")

</div>

yep, but i’d like to keep on loading pictures desappearing on top of another, itself diseappearing ontop of another…

---

<div class="post-metadata">

**Author:** ![ventoline](https://avatars.discourse-cdn.com/v4/letter/v/dec6dc/32.png) [@ventoline](https://forum.kirupa.com/u/ventoline)\
**Post date:** [July 4, 2008, 10:46am UTC](https://forum.kirupa.com/t/argument-missing-error-1136/265082/4 "2008-07-04T10:46:28Z")

</div>

Thank you, simple, best. my code is working now.  
And thanks for the little lesson, very helpful.
