Hi Friends,
I am attempting to create a button that checks to see what frame on the timeline it is on and then use an on(rollOver)variable based on the results.(can that work?)Maybe I should be using a function? hmmm
//I would think the first thing is to set my variables
var1=on(rollOver){gotoAndPlay("one");
else
gotoAndPlay("two");
}
var2=on(rollOver){gotoAndPlay("two");
else
gotoAndPlay("one");
The second thing I would think would be to find out what frame the movie is on.
(How do you do this?)
frameNum=(the frame number)
//Next I think I would tell it to do something based on the results.
if {
frameNum<=100 var1;
else
var2;
}
Can you see what I am trying to do?
Thanks for any help here.
I'd gladly pay you on Thursday
for a hamburger today!
I am attempting to create a button that checks to see what frame on the timeline it is on and then use an on(rollOver)variable based on the results.(can that work?)Maybe I should be using a function? hmmm
//I would think the first thing is to set my variables
var1=on(rollOver){gotoAndPlay("one");
else
gotoAndPlay("two");
}
var2=on(rollOver){gotoAndPlay("two");
else
gotoAndPlay("one");
The second thing I would think would be to find out what frame the movie is on.
(How do you do this?)
frameNum=(the frame number)
//Next I think I would tell it to do something based on the results.
if {
frameNum<=100 var1;
else
var2;
}
Can you see what I am trying to do?
Thanks for any help here.
I'd gladly pay you on Thursday
for a hamburger today!