|
[x]
Posted via EE Mobile
|
||
Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
||
| 11/03/2009 at 10:15AM PST, ID: 24868133 | Points: 500 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: |
package {
import flash.text.*;
import flash.events.*;
import flash.display.MovieClip;
public class PP extends MovieClip {
public function PP() {
theMovie.stop();
removeChild(theMovie);
passwordBox.text = "";
passwordBox.displayAsPassword = true;
passwordBox.addEventListener(Event.CHANGE, inputHandler);
}
private function inputHandler(event:Event) {
if(passwordBox.text == 'somepass') {
addChild(theMovie);
theMovie.play();
}
}
}
}
|
Advertisement