Cheers. Leading back to another one of my posts -
http://www.codingforums.com/showthread.php?t=67876 - How can I also delete the 'scanlines' when the image is clicked?
This is creating the lines -
PHP Code:
// Scanlines
_root.createEmptyMovieClip("scanLines", 1000);
with (scanLines) {
lineStyle(0, 0x000000,30);
moveTo(0, 0);
lineTo(Stage.width, 0);
}
for(i=0;i<Stage.height;i++){
duplicateMovieClip("scanLines","scanLines"+i,i);
eval("scanLines"+i)._y = i*3;
}
// By Frost_0ni
I tried the following, but I think that there are many different clips named scanLines ? Will I need to loop through them to delete them somehow?
PHP Code:
on (release) {
removeMovieClip("scanLines");
gotoAndPlay(15)
}