MovieClip frames to sprite

Hi All,

I have a MovieClip that consists of 10 frames which are pages of a book.
I’d like to lay out the frames into the screen to see all of them.

Firstly, I thought that converting every frame to a sprite is a good idea but I couldn’t make it.

Second, I tried to clone the MovieClip, but it also seems nightmare.

Do you have any idea?

Regards,
Viktor

I guess easiest solution would be something like


for (var i:int = 1;i<11;i++) {
  var m:ClassName = new ClassName();
  addChild(m);
  m.gotoAndStop(i); 
  m.x = 45*i;
}

Thanks the quick reply,

the problem is that this swf comes from a server that accomplishes the pdf 2 swf transformation
it means that we have only one instance of this movieclip embedded in the swf and got it through the urlloader’s data.

[quote=sekasi;2350228]I guess easiest solution would be something like
ActionScript Code:
[LEFT][COLOR=#0000FF]for[/COLOR] [COLOR=#000000]([/COLOR][COLOR=#000000]var[/COLOR] i:[COLOR=#0000FF]int[/COLOR] = [COLOR=#000080]1[/COLOR];i<[COLOR=#000080]11[/COLOR];i++[COLOR=#000000])[/COLOR] [COLOR=#000000]{[/COLOR]
[COLOR=#000000]var[/COLOR] m:ClassName = [COLOR=#000000]new[/COLOR] ClassNameCOLOR=#000000[/COLOR];
addChildCOLOR=#000000[/COLOR];
m.[COLOR=#0000FF]gotoAndStop[/COLOR]COLOR=#000000[/COLOR];
m.[COLOR=#000080]x[/COLOR] = [COLOR=#000080]45[/COLOR]*i;
[COLOR=#000000]}[/COLOR]
[/LEFT]

[/quote]

thanks, it works