# MovieClipLoader problem

**URL:** https://forum.kirupa.com/t/moviecliploader-problem/221172
**Category:** Uncategorized
**Created:** [April 2, 2007, 5:01am UTC](https://forum.kirupa.com/t/moviecliploader-problem/221172 "2007-04-02T05:01:45Z")
**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 2, 2007, 5:01am UTC](https://forum.kirupa.com/t/moviecliploader-problem/221172/1 "2007-04-02T05:01:45Z")

</div>

var lvSend = new LoadVars();  
var lvReceive = new LoadVars();  
lvSend.sendAndLoad(“[http://192.168.1.9/projects/khelorummy/user/getcardimages.php",lvReceive,"get](http://192.168.1.9/projects/khelorummy/user/getcardimages.php%22,lvReceive,%22get)”);  
lvReceive.root = this;  
lvReceive.onLoad = function(bSuccess) {  
var mcLoaderThree:MovieClipLoader = new MovieClipLoader();  
mcLoaderThree.addListener(this);  
for (var i = 1; i\<=this.n; i++) {  
var containerThree:MovieClip = createEmptyMovieClip(“containerThree”+i, i);  
containerThree.\_name = this[“label”+i]+i;  
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);  
mc.\_x = 20\*i;  
mc.\_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;  
lvReceive.imgname = imgname;  
[//lvReceive.sendAndLoad](https://lvReceive.sendAndLoad)(“[http://sumanth/test/flash/ftop.php](http://sumanth/test/flash/ftop.php)”, lvReceive,“post”);  
}  
}

images are displaying in browser but how to send them to php.  
where i have to put this code\< in getcardimages.php or another prg ftop.php?  
\<?php  
$imgname = $\_POST[‘imgname’];  
echo “&phpVar=” . $imgname;  
?\>
