Hackor Pickel
06-21-2009, 01:29 PM
I have a moveclip that plays an animation, and i have code inside it on the last frame:
stop();
_root.gotoAndStop(2);
But obviously, it failed, and i tried this:
stop();
_root.movieclipTimer ++;
and i have a dynamic text box that starts at 0 on the stage, and then this code on the frame:
if (_root.movieclipTimer > 0) {
_root.gotoAndStop(2);
}
but alas, failed again, and yes the dynamic text box does go up, but the frame does not move on.
Any help please?
EDIT:
I fixed it, i put a movieclip outside the stage in the movieclip that was playing on the last frame and did a hitTest on another movieclip that was next to it and wrote:
_root.introblock.onEnterFrame function () {
if(hitTest(_root.intro.introblock2)) {
_root.gotoAndStop(2);
}
Simplez ^^
stop();
_root.gotoAndStop(2);
But obviously, it failed, and i tried this:
stop();
_root.movieclipTimer ++;
and i have a dynamic text box that starts at 0 on the stage, and then this code on the frame:
if (_root.movieclipTimer > 0) {
_root.gotoAndStop(2);
}
but alas, failed again, and yes the dynamic text box does go up, but the frame does not move on.
Any help please?
EDIT:
I fixed it, i put a movieclip outside the stage in the movieclip that was playing on the last frame and did a hitTest on another movieclip that was next to it and wrote:
_root.introblock.onEnterFrame function () {
if(hitTest(_root.intro.introblock2)) {
_root.gotoAndStop(2);
}
Simplez ^^