# Need help on sendandload

**URL:** https://forum.kirupa.com/t/need-help-on-sendandload/221889
**Category:** Uncategorized
**Created:** [April 9, 2007, 4:28am UTC](https://forum.kirupa.com/t/need-help-on-sendandload/221889 "2007-04-09T04:28:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![deepikareddy](https://avatars.discourse-cdn.com/v4/letter/d/f0a364/32.png) [@deepikareddy](https://forum.kirupa.com/u/deepikareddy)
#### Post date: [April 9, 2007, 4:28am UTC](https://forum.kirupa.com/t/need-help-on-sendandload/221889/1 "2007-04-09T04:28:43Z")

</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:81/projects/khelorummy/user/getcardimages.php",lvReceive,"post](http://192.168.1.9:81/projects/khelorummy/user/getcardimages.php%22,lvReceive,%22post)”);  
> lvReceive.root = this;  
> var mcLoaderThree:MovieClipLoader = new MovieClipLoader();  
> mcLoaderThree.addListener(this);  
> \_global.cardsetid;  
> lvReceive.onLoad = function(bSuccess) {  
> for (var i = 1; i\<=this.n; i++) {  
> var containerThree:MovieClip = createEmptyMovieClip(“containerThree”+i, i);  
> containerThree.\_name = this[“cardID”+i];  
> \_global.cardsetid = this[“cardsetID”+i];  
> trace(\_global.cardsetid);  
> mcLoaderThree.loadClip(“[http://192.168.1.9:81/projects/khelorummy/cards/“+this[“label”+i]+”.gif](http://192.168.1.9:81/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();  
> this.swapDepths(this.getNextHighestDepth());  
> 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 = \_global.cardsetid;  
> trace(lvReceive2.cards);  
> lvReceive2.sendAndLoad(“[http://192.168.1.9:81/projects/khelorummy/user/insertcards.php](http://192.168.1.9:81/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 “lvReceive2.cards” value. y? can anyone please show me the solution?
