-
Hi,
I couldn't update my other message but have made some real progress. All I need to do is get this code to work. It writes frames backward from 40 to 31 and repeats until release. The only problem is that it stops on frame 39 and stays there. It looks logical to me.
on (release) {
stop ();
}
on (press) {
if (_currentframe>30<40) {
i--;
}
if (_currentframe == 30) {
gotoAndPlay (39);
}
}
on (release) {
stop ();
}
Any thoughts appreciated !!
-
Hi,
I couldn't update my other message but have made some real progress. All I need to do is get this code to work. It writes frames backward from 40 to 31 and repeats until release. The only problem is that it stops on frame 39 and stays there. It looks logical to me.
on (release) {
stop ();
}
on (press) {
if (_currentframe>30<40) {
i--;
}
if (_currentframe == 30) {
gotoAndPlay (39);
}
}
on (release) {
stop ();
}
Any thoughts appreciated !!
-
I am not sure if I got it right, but...
How about
"if (_currentframe>30<=40) {"
instead of
"if (_currentframe>30<40) {" ?
Alex Dzhulay.
www.linecraft.com
-
It would be best to just have a seperate movie clip and if when released it is equal to frame 30 to play the New movie clip and set the alpha to 100% or send the clip to an empty keyframe.
Macromeidians 1:1
In the begining the web was dark and void, and the net was with out color or shape, Then there was a Flash and Life came to the web and vision became reality.