# Moviecliploader help please

**URL:** https://forum.kirupa.com/t/moviecliploader-help-please/198177
**Category:** Uncategorized
**Created:** [August 22, 2006, 11:00pm UTC](https://forum.kirupa.com/t/moviecliploader-help-please/198177 "2006-08-22T23:00:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![smeared](https://avatars.discourse-cdn.com/v4/letter/s/9de0a6/32.png) [@smeared](https://forum.kirupa.com/u/smeared)
#### Post date: [August 22, 2006, 11:00pm UTC](https://forum.kirupa.com/t/moviecliploader-help-please/198177/1 "2006-08-22T23:00:58Z")

</div>

this is my script… the resizing portion worked fine i just can’t get the clip that it resizes(instance=myMCL) to become a moviecliploader… i think it’s because i named it mymcl… as well as something else… i’m not sure… help would be greatly appreciated…

```auto
Stage.align = "LT";
Stage.showMenu = false;
Stage.scaleMode = "noscale";
var stageListener:Object = new Object();
stageListener.onResize = formatStage;
Stage.addListener(stageListener);
stageListener.onResize();

function formatStage() {
	trace("onResize()");
    resize_txt.text = Stage.width + " x " + Stage.height;
	myMCL._width = Stage.width;
	myMCL._height = Stage.width/1.333;
	myMCL._xscale = myMCL._yscale;
	
}

bar._visible = false;
border._visible = false;
russMCL = new MovieClipLoader();

preload = new Object();
russMCL.addListener(preload);

preload.onLoadStart = function(targetMC) {
trace("started loading "+targetMC);
myMCL._visible = false;
bar._visible = true;
border._visible = true;
pText._visible = true;
};

preload.onLoadProgress = function(targetMC, lBytes, tBytes) {
bar._width = (lBytes/tBytes)*100;
pText.text = "% "+Math.round((lBytes/tBytes)*100);
};
preload.onLoadComplete = function(targetMC) {
myMCL._visible = true;
border._visible = false;
bar._visible = false;
pText._visible = false;
trace(targetMC+" finished");
};

//default image
myMCL.loadClip("test1.swf","myMCL");
//buttons
button1.onPress = function() {
myMCL.loadClip("roofmovie.jpg","myMCL");
};
button2.onPress = function() {
myMCL.loadClip("smoke.jpg","myMCL");
};
button3.onPress = function() {
myMCL.loadClip("smoke1.jpg","myMCL");
};

```
