Linking Movies like Scenes?
I guess I should have posted this here before.
Basically I'm trying to load a movie as though as if it were a scene.
What do I mean, well lets say a movie has 4 scenes, well ... i have two buttons one that goes back and one that goes forward... the forward button would call upon a movie in a certain order and load it.... as though as if it were a scene or even a frame...
(I actually just need the buttons to cycle through a bunch of external 'movie clips' in .swf format.. can it be done?
Does anyone know how to do this?
If the movies' names are stored in an array, then your next and previous buttons would simply load the next or previous indexed movie.
would you mind explaining this more?
heh a very detailed example would be nice (including the action script I would need"
Thanks..
...a very detailed example would be nice ...
Want an apple turnover with that sir?
Sorry, I guess I should have said please...
I dont even have the back and forth with a scene done... all I have is a frame version of it..
if you could provide me with a list of the name examples for the movies and the action script that would be needed.. i would greatly appriciate it.
First frame...
Code:
movies = ["movie1.swf", "movie2.swf", "movie3.swf", "movie4.swf"];
current_index = 0;
// loads the first movie to start with...
container.loadMovie(movies[current_index]);
Next button...
Code:
on (release) {
current_index +=1;
if(current_index > movies.length-1){
current_index = 0;
}
container.loadMovie(movies[current_index]);
}
Previous button...
Code:
on (release) {
current_index -=1;
if(current_index < 0){
current_index = movies.length-1;
}
container.loadMovie(movies[current_index]);
}
sorry but its not exactly working..
I createa movie called
Main
Then anothe rcalled
movie1
movie2
.... are they all supposed to hold the bakc and forth button.. if so.. then this is not working.. could you help me out with it?
I still can't figure it out ...
could someone please upload a sample of the proper way of doing this because I really dont seem capable of figuring this out.
You're the one asking for help...
Well you're the one that should be attaching your .fla, zipped up and in a MX only format, not MX2004.
You'd have a better chance of getting an answer if your .fla was in a MX only format, and zipped up.
You would have to save a copy of your MX2004 .fla, (using Save as...) and changing the Document type to MX only in the Save as... window.
I created a sample of how I think it's supposed to go but its not working (Mx, not 04).. I cant attach the "real" file because its just too big..
hope someone can help, thanks
btw: to open the file you may need to rename it to a .RAR file since I had to change the name to attach it.
Attached Files
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