-
loading jpg's buttons question
I am loading jpg's into a blank container on my main page. What I would like to do is make one button to load the jpg's. So when you load the first jpg their would be a button that says load next and that button would load the next MC. I'm having problems doing this because I don't know how to set up the button. I know how to do this when I load flash MC (I would just put a jpg in the external flash MC that is going to be load along with a button that would load the next MC but I don't know how to do it with jpg's.) thanks
-
ultramember
on your button put this action:
on (release){
_root.container.loadMovie("image1.jpg");
}
in your next button put this action:
on (release){
nextFrame();
}
create another frame like the one you have and create a new layer for the loadmovie, then in that frame put this action:
_root.container.loadMovie("image2.jpg");
create as many new frames as the images you have, you can go backwards with a previous button with this action in it:
on (release){
prevFrame();
}
hope it helps!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|