Click Here to view the site
i’m working in new site (it’s my real work with flash ) and i need some help to finish the site.
there is a demo for Application links in the bottom of the site… i want to do something in it which is when you click in any photo the others disapper ( by moving to the last photo and fade to 0, while the clicble phot apper it’s links (like: benfite - how to download…), is it possible by actionscript… :-\ .
there is a bug in my menu… i don’t know why .
here is my code:
[AS]onClipEvent(enterFrame){
_root.mc_buttons.mc_button1.onRollOver = function() {
_root.mc_buttons.mc_button1.gotoAndPlay(“first1”);
};
_root.mc_buttons.mc_button1.onRollOut = function() {
_root.mc_buttons.mc_button1.Play();
};
_root.mc_buttons.mc_button2.onRollOver = function() {
_root.mc_buttons.mc_button2.gotoAndPlay(“first2”);
};
_root.mc_buttons.mc_button2.onRollOut = function() {
_root.mc_buttons.mc_button2.Play();
};
_root.mc_buttons.mc_button3.onRollOver = function() {
_root.mc_buttons.mc_button3.gotoAndPlay(“first3”);
};
_root.mc_buttons.mc_button3.onRollOut = function() {
_root.mc_buttons.mc_button3.Play();
};
_root.mc_buttons.mc_button4.onRollOver = function() {
_root.mc_buttons.mc_button4.gotoAndPlay(“first4”);
};
_root.mc_buttons.mc_button4.onRollOut = function() {
_root.mc_buttons.mc_button4.Play();
};
}[/AS]
it seems unprofessional but if anyone can tell me to make a function or decrease it… it’ll be great. :pleased:
you’re telling it to just play on rollout. It may be in the middle of some animation (i.e. the go to first playing) during this play call and it might not even register. With that you get a stuck button because it wasnt at its end on rollout. Instead of using play, make a new label for the start of the return animation and tell it to gotoAndPlay there, much like you did for the rollOver.
*Originally posted by FlashSwimmer *
**i forgot to ask for another thing which is why the precentage didn’t appear from 0% and appears in almost 40 %. **
that one you should search for. THE most common preloader question EVER!