# SendandLoad problem

**URL:** https://forum.kirupa.com/t/sendandload-problem/221418
**Category:** flash
**Created:** [April 4, 2007, 5:07am UTC](https://forum.kirupa.com/t/sendandload-problem/221418 "2007-04-04T05:07:39Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![pradeepareddy](https://avatars.discourse-cdn.com/v4/letter/p/f07891/32.png) [@pradeepareddy](https://forum.kirupa.com/u/pradeepareddy)
#### Post date: [April 4, 2007, 5:07am UTC](https://forum.kirupa.com/t/sendandload-problem/221418/1 "2007-04-04T05:07:39Z")

</div>

hai all,my code is

> var lvSend = new LoadVars();  
> var lvReceive2 = new LoadVars();  
> var lvReceive = new LoadVars();  
> lvSend.sendAndLoad(“[http://192.168.1.9/projects/khelorummy/user/getcardimages.php",lvReceive,"post](http://192.168.1.9/projects/khelorummy/user/getcardimages.php%22,lvReceive,%22post)”);  
> lvReceive.root = this;  
> var mcLoaderThree:MovieClipLoader = new MovieClipLoader();  
> mcLoaderThree.addListener(this);  
> lvReceive.onLoad = function(bSuccess) {  
> for (var i = 1; i\<=this.n; i++) {  
> var containerThree:MovieClip = createEmptyMovieClip(“containerThree”+i, i);  
> containerThree.\_name = this[“cardID”+i];  
> var cardsetid = this[“cardsetID”+i];  
> trace(cardsetid);  
> //trace(“before:”+containerThree.\_name);  
> mcLoaderThree.loadClip(“[http://192.168.1.9/projects/khelorummy/cards/“+this[“label”+i]+”.gif](http://192.168.1.9/projects/khelorummy/cards/%22+this%5B%22label%22+i%5D+%22.gif)”, containerThree);  
> containerThree.\_x = 20\*i;  
> containerThree.\_y = 10;  
> }  
> }  
> function onLoadInit(mc:MovieClip) {  
> mc.onPress = function() {  
> this.startDrag();  
> xstart = this.\_x;  
> ystart = this.\_y;  
> }  
> mc.onRelease = function() {  
> this.stopDrag();  
> var imgname = this.\_name;  
> xstart = this.\_x;  
> ystart = this.\_y;  
> lvReceive2.imgname = imgname;  
> lvReceice2.cards = cardsetid;  
> lvReceive2.sendAndLoad(“[http://192.168.1.9/projects/khelorummy/user/insertcards.php](http://192.168.1.9/projects/khelorummy/user/insertcards.php)”, lvReceive2,“post”);  
> }  
> }  
> lvReceive2.onLoad = function() {  
> trace(“after:”+this.inssuccess);  
> }

problem is iam getting “lvReceive2.imgname” value and iam sending it to php it works fine. but iam not getting “lvReceice2.cards” value. y?
