Hi, how can i make a animation between the unloadMovie and the loadMovie.
hmm something like this
http://www.pixelskin.com/pixelskin.asp
when i click on the menu bar and load a new serction there is a animation
Hi, how can i make a animation between the unloadMovie and the loadMovie.
hmm something like this
http://www.pixelskin.com/pixelskin.asp
when i click on the menu bar and load a new serction there is a animation
Hey onno,
Well, i think when u press on the button, there should be other commands with the unloadmovie! something like:
button.onRelease = function() {
gotoAndPlay("Animationb4unloading");
unloadMovieNum(level);
}
for this gotoAndPlay(“Animationb4unloading”);
i must make a new movie or in the same scene, but on ne frame?
new movie or in the same scene
Well, as u like, just try achieving that effect :)!
yours,
h88
Thanks
I’m going to try now, if all goes well i’ll let you know :cowboy:
Thanks again
i think i did something wrong, when u click the button, u just go to a specific animation when the button is pressed!
button.onRelease = function(){
gotoAndPlay("animation");
}
and when it reaches the last frame of “animation”:
unloadMovieNum(level);
hope this helps!
h88
this is a better way:
button.onRelease = function(){
movieclip.gotoAndPlay("animation");
if (movieclip._currentframe == 5) { //last frame number of ur animation
unloadMovieNum(level);
}
}
yours,
h88
sorry man, but i didnt understant the last code…
think that i’m new on that
Thats some good stuff man. I did it the hgard way with a lot of variables and if statments. Do u think u could whip up a working FLA for a view. I would like to see this code implmented so as to improve mine. I’m about to redesign my content sections and I should od it right this time:)
*Originally posted by sintax321 *
**Thats some good stuff man. I did it the hgard way with a lot of variables and if statments. Do u think u could whip up a working FLA for a view. I would like to see this code implmented so as to improve mine. I’m about to redesign my content sections and I should od it right this time:) **
hehe, u should think b4 coding, test and experiment!
i am an actionscripter since … this is unimportant to though. but u just try to simplify your code as simple as possible, not using for ie prototypes when it could be used as …
thats all,
hope to hear from u soon!
yours,
h88
Ya i nkow i should think before. My site was a rush job done in one weekend. I just needed some code that worked so I could get it online. Now I’m going back to change it. I want to make the code simpler.
*Originally posted by onno *
**sorry man, but i didnt understant the last code…
think that i’m new on that **
okay for u onno:
button.onRelease = function(){ // define onRelease Callback event
movieclip.gotoAndPlay("animation"); //it goes to the closing animation of your movieclip
if (movieclip._currentframe == 5) { //last frame number of ur animation and it would say if the movieclip current frame is the last frame u sepcifiy, then unload the movie!
unloadMovieNum(level);
}
}
well am sure there will be some errors, but u just try to debug ur code by your own, the code is very simple, and i alredy defined whats going on!
yours,
h88
Nice stuff. I’ll try this tonight:)
:: Copyright KIRUPA 2024 //--