Jun 10, 2002 #1 ferorsa Programmer Jun 5, 2002 6 DK what i want to do is, when i press a key the alpha of a movie clip changes to 50 and when i press the sam key again it changes back to 100 another thing is i cant "goto and stop" because there are other things happening along the timeline.
what i want to do is, when i press a key the alpha of a movie clip changes to 50 and when i press the sam key again it changes back to 100 another thing is i cant "goto and stop" because there are other things happening along the timeline.
Jun 10, 2002 #2 BigBadDave Programmer May 31, 2001 1,069 EU You need to add this to movie clip : onClipEvent (enterFrame) { if (Key.isDown(65)) { // here is where you add your key code if (_alpha == 100) { _alpha = 50; } else { _alpha = 100; } } } in this demo the KeyCode is 65 for 'a' Regards Big Bad Dave http://www.byngdesigns.co.uk davidbyng@hotmail.com Upvote 0 Downvote
You need to add this to movie clip : onClipEvent (enterFrame) { if (Key.isDown(65)) { // here is where you add your key code if (_alpha == 100) { _alpha = 50; } else { _alpha = 100; } } } in this demo the KeyCode is 65 for 'a' Regards Big Bad Dave http://www.byngdesigns.co.uk davidbyng@hotmail.com