Flash Scratch Off

Out of context: Reply #7

  • Started
  • Last post
  • 8 Responses
  • kStyle0

    damn it!

    so close!

    what am i doing wrong here??

    _root.createEmptyMovieClip("line...

    _root.onMouseDown = function(){
    line.moveTo(_xmouse,_ymouse);
    line.lineStyle(30,0x000000,100);

    this.onEnterFrame = function(){
    line.lineTo(_xmouse,_ymouse);
    }
    }

    test_mc.setMask(line);

    _root.onMouseUp = function(){
    this.onEnterFrame = null;
    }

    ---- I am trying to mask test_mc by making the mc "line" mask. . . . I get a blank screen. . .drawing in the "line" worked prior to putting in setMask() ???

View thread