Flash MX making doors
Hey all,
Here is the deal.
I have a flash movie, inside that movie is an empty movie.
What I want to happen is when you click on a button I want doors to slide closed at this point I want the movie the button is for to load underneath these doors so when the open Viola the content is there.
Now I was thinking make a move with the animated doors load it on level 2 and on that buttons action script (somehow) get the movie to load under these doors when the door movie reaches the closed point.. ie frame 6.
so to illustrate:
>Album 1 button is pressed
>door movie is loaded and plays on _level 2
>when door movie reaches frame six (closed position) Album one content is loaded on to _level 1
>door movie continues and opens again to reveal the lower _level 1
I guess I could make five movies each with the same animation and have them loaded the appropriate movie when the reach frame six.. but that just seems like a waste..
do you see what I'm saying? can you point me to a tutorial?
level with me (shudder), can I do this.
flick.
Here is the deal.
I have a flash movie, inside that movie is an empty movie.
What I want to happen is when you click on a button I want doors to slide closed at this point I want the movie the button is for to load underneath these doors so when the open Viola the content is there.
Now I was thinking make a move with the animated doors load it on level 2 and on that buttons action script (somehow) get the movie to load under these doors when the door movie reaches the closed point.. ie frame 6.
so to illustrate:
>Album 1 button is pressed
>door movie is loaded and plays on _level 2
>when door movie reaches frame six (closed position) Album one content is loaded on to _level 1
>door movie continues and opens again to reveal the lower _level 1
I guess I could make five movies each with the same animation and have them loaded the appropriate movie when the reach frame six.. but that just seems like a waste..
do you see what I'm saying? can you point me to a tutorial?
level with me (shudder), can I do this.
flick.
Comments
Originally posted by Flick Justice
do you see what I'm saying? can you point me to a tutorial?
level with me (shudder), can I do this.
flick.
This is very simple with a little ActionScript goodness. I don't have any specific tutorials online for you - but when I was learning ActionScript I bought the O'Reilley ActionScript book which was incredible - it was written by Colin Moock who was part of the team which made ActionScript. All you need is a loadMovie statement on each button instance - probably in an on(release) statement.
ActionScript is your friend, don't be nervous about it - it is the only way to get interactive flash anything. The confusing thing about it compared to other scripting languages is that the ActionScript itself can live in so many different places - each move, each movie clip, each instance - they all can have ActionScript attached to it. This can make the interactions between various pieces of your movie more confusing - there are definitely best practices as far as where you put function definitions, etc.
Anyway - Google is your friend as far as looking for tutorials. And I still refer to the Flash 5 actionscript book - even though we are at version 7 now...