I figured out the if statement, but what if I want also the reverse effect?
But let me explain a bit more : I have a mc with an 'in' and an 'out' animation. The frames are labeled "in", "out" and "full". "full" is where the mc is supposed to stop, between "in" and "out". And I would like my invisible button, on release, to play my mc's "in" if the current frame is not
"full", and to play my mc's "out" if the current frame is
here's the bit of code I wrote, seems not to work.
inv1_btn.onRelease = function()
if (tiroir1_mc.currentFrame != "full")
if (tiroir1_mc.currentFrame == "full")