# Loadmovie - goto last frame

**URL:** https://forum.kirupa.com/t/loadmovie-goto-last-frame/50046
**Category:** Uncategorized
**Created:** [April 28, 2004, 9:50pm UTC](https://forum.kirupa.com/t/loadmovie-goto-last-frame/50046 "2004-04-28T21:50:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![liquivision](https://avatars.discourse-cdn.com/v4/letter/l/ba8739/32.png) [@liquivision](https://forum.kirupa.com/u/liquivision)
#### Post date: [April 28, 2004, 9:50pm UTC](https://forum.kirupa.com/t/loadmovie-goto-last-frame/50046/1 "2004-04-28T21:50:41Z")

</div>

I have run into a snag! I can’t target a specific frame after loading swf file.

I ‘m creating a continuous slideshow with five separate swf’s (movie01.swf , movie02.swf… etc) which load sequentially into one empty movieclip (named - mainMCholder) on the root timeline I control the loaded swfs with 2 buttons—next and previous. These buttons simply move up or down a frame (nextFrame/prevFrame)

So my problem is that if I load movie02.swf into my empty movieclip and I’m on frame 1 (of 10) and choose to back up to the end of movie01.swf (which would be frame 10 of movie01.swf), I end up on frame 1 of movie01.swf. Unsure why I can’t move to last frame of a loaded movie?

//This is the code I’ve used  
loadMovie( movie01.swf, “mainMCholder”);  
mainMCholder.gotoAndPlay(“lastframe”);

Thanks in advance,
