MC question
- Started
- Last post
- 11 Responses
- kote
am trying to do this -
onClipEvent (enterFrame) {
if (gender) {
this.nextframe();
} else {
this.prevFrame();
}
}it plays by itslef and when I am off it doesnt go back - help anyone?
- rise0
but that doesn't rhime.
- kote0
please someone help me - I need to finish this up...please?
- unformatted0
rise is saying it doesn't rhyme, and it doesn't.
you need to post more info. what is gender? is it a boolean? what kind of variable is it?
- kote0
all I want to do is go next/prev frame depending on if the mouse is/isnt over the movie clip.
what am I missing?
- unformatted0
so why you using onenterframe?
just use
onclipevent (mouseover) {
_root.nextframe();
}onclipevent(mouseout){
_root.prevframe();
}might be off a little, but you get the idea.
- rise0
and what's gender got to do with it?
- kote0
this is one of the hardest things I have done...what a pain...even Josh Davis book isnt working. what am I doing wrong?
- unformatted0
you're gonna have to give more detail as "what" isn't working. post some of your code.
you could try this.
onclipevent(onenterframe) {
if (direction = reverse) {
_root.prevframe();
}
else {
_root.nextframe();
}onclipevent(mouseover){
direction = forward;
}onclipevent(mouseout){
direction = reverse;
}there are alot of ways to do this, but you need to supply more info.
- kpl0
i always do
_root.gotoAndStop(_root._current... - 1)
instead of
_root.prevframe();
i dunno why. maybe cos prevframe never worked well with me before.
- kote0
unformat - check your email.
- kote0
hey everybody -
thanks for all the posts. I got it all worked out.