Page 1 of 1

ActionScript Question

Posted: Wed Mar 26, 2008 4:17 pm
by thisita
If you would be so kind,
How do I replay the current frame ( I need to do this for code reasons)

I have been trying

Code: Select all

_root.gotoAndPlay(_root._currentframe - 1);
But it jumps to the wrong frame every now and then.

What is the way to do this?

Re: ActionScript Question

Posted: Wed Mar 26, 2008 6:18 pm
by DraconPern
I believe you need two frames.

Re: ActionScript Question

Posted: Thu Mar 27, 2008 2:13 pm
by thisita
Is that it XD
I will try, though it will be later (I'm kind of bombarded with work right now)
Good to know that it was something simple

Thanks

EDIT:

OK, I tried it, and it works better, but it still gets thrown off after some (like 4 times) repetition.
Any other ideas?