Hi peeps
Problem with loadMovie
i can load my clips into an empty clip and they work fine, but are the wrong size and in the wrong position.
If I then resize & reposition the holding clips, the loaded clips (games) lose some or all of their functionality.
Here's the code:
sb5_btn.onRelease = function(){
gotoAndStop("s5");
}
sb6_btn.onRelease = function(){
//loadMovie("line-up finished.swf",1); works but no control over size & position
//clear previous swf
gotoAndStop("s6");
unloadMovie(myLoadedSwf2);
//create the empty movie clip
this._parent.createEmptyMovieClip("myLoadedSwf", getNextHighestDepth());
//load swf
myLoadedSwf.loadMovie("line-up finished.swf",1);
//resize & rescale loaded movie
myLoadedSwf._lockroot = true;
myLoadedSwf._x =220;
myLoadedSwf._y =124;
myLoadedSwf._xscale = 64.5;
myLoadedSwf._yscale = 64.5;
}
I know its ugly but I can't code for a joke.
my site is at
The problem is in the 2d animation section
The line up game does not load online but it works locally on my machine (with limited functionality)
kwasidrummer loads but does not work at all.
I probably should have set a holding clip for all the other clips but.....
Any help would be much appreciated
Peace
Problem with loadMovie
i can load my clips into an empty clip and they work fine, but are the wrong size and in the wrong position.
If I then resize & reposition the holding clips, the loaded clips (games) lose some or all of their functionality.
Here's the code:
sb5_btn.onRelease = function(){
gotoAndStop("s5");
}
sb6_btn.onRelease = function(){
//loadMovie("line-up finished.swf",1); works but no control over size & position
//clear previous swf
gotoAndStop("s6");
unloadMovie(myLoadedSwf2);
//create the empty movie clip
this._parent.createEmptyMovieClip("myLoadedSwf", getNextHighestDepth());
//load swf
myLoadedSwf.loadMovie("line-up finished.swf",1);
//resize & rescale loaded movie
myLoadedSwf._lockroot = true;
myLoadedSwf._x =220;
myLoadedSwf._y =124;
myLoadedSwf._xscale = 64.5;
myLoadedSwf._yscale = 64.5;
}
I know its ugly but I can't code for a joke.
my site is at
The problem is in the 2d animation section
The line up game does not load online but it works locally on my machine (with limited functionality)
kwasidrummer loads but does not work at all.
I probably should have set a holding clip for all the other clips but.....
Any help would be much appreciated
Peace