# Import .fla into mc

**URL:** <https://forum.kirupa.com/t/import-fla-into-mc/123352>\
**Category:** Uncategorized\
**Created:** [September 22, 2004, 10:23pm UTC](https://forum.kirupa.com/t/import-fla-into-mc/123352 "2004-09-22T22:23:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shorty116](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@shorty116](https://forum.kirupa.com/u/shorty116)\
**Post date:** [September 22, 2004, 10:23pm UTC](https://forum.kirupa.com/t/import-fla-into-mc/123352/1 "2004-09-22T22:23:57Z")

</div>

i found a .fla which i would like to use for a flash movie, problem is if i copy the frames from the .fla and paste it into a new movieclip it won’t work anymore. which part of the script would i have to change?

```auto

scrollbar.bg = bg;
scrollbar.hini = scrollbar._height;
scrollbar.yini = scrollbar._y;
texto.yini = texto._y;
scrollbar.onPress = function(){
procesaRastro(true);
this._parent.texto.onEnterFrame = mueveTexto;
this.track.onEnterFrame = setTrack;
var izq = this._x;
var dere = this._x;
var top = this.yini;
var bottom = this.yini + (this.bg._height - this.hini)+3;
startDrag(this,false,izq,top,dere,bottom);
}
scrollbar.onRelease = scrollbar.onReleaseOutside = function(){
procesaRastro(false);
delete this.track.onEnterFrame;
stopDrag(); 
}
function procesaRastro(v){
if(v){
var count = 0;
this.onEnterFrame = function(){
count++;
if(count%2 == 0){
attachMovie("anima2","anima"+count,count);
attachMovie("anima2","anima"+(count+1),count+1);
var uno = this["anima"+count];
var dos = this["anima"+(count+1)];
uno._x = this.scrollbar._x;
uno._y = this.scrollbar._y;
dos._x = this.scrollbar._x;
dos._y = this.scrollbar._y + (this.scrollbar._height-dos._height)+5;
}
}
}else{
delete this.onEnterFrame;
}
}

function setTrack(){
var scroll = this._parent;
var bg = this._parent.bg;
var curr = scroll._y - bg._y;
var total = bg._height - scroll._height + 10;
var por = (curr/total);
if(por>1) por = 1;
_root.POR = por;
this._y = por*scroll.hini;
}

function mueveTexto(){
var por = this._parent.POR;
var d = -(this._parent.bg._height-this._height);
this._y =Math.floor(-por*d+ this.yini);
}

```

you can see how it shall look here: [http://www.e-tonilopez.com/after-ho...ves/000205.html](http://www.e-tonilopez.com/after-ho...ves/000205.html)

thanks in advance
