flash : mouse vanish on return to stage

Out of context: Reply #9

  • Started
  • Last post
  • 14 Responses
  • fyoucher10

    Not that this is a recommended solution but it will fix the problem:

    var mouseChecker = this.createEmptyMovieClip("mouse... this.getNextHighestDepth());
    mouseChecker.onEnterFrame = function():Void {
    if(movieclipA._currentframe >= 8){
    _root.PC_cursor._visible = true;
    } else {
    _root.PC_cursor._visible = false;
    }

    Change movieclipA to whatever the instance name for the clip that has those 8 frames in it is. Place this code on the timeline wherever youyr put code (assuming you're adding code to the timeline).

    Again, this is not a recommended solution but it should work.

View thread