home *** CD-ROM | disk | FTP | other *** search
Text File | 2003-12-22 | 1.1 KB | 117 lines | [TEXT/ttxt] |
- onClipEvent(load){
-
- _root.frameNumber=random(12)+1;
-
- _root.selectClip.gotoAndStop([_root.frameNumber]);
-
- }
-
-
-
- onClipEvent(enterFrame){
-
- _root.guess=0;
-
- if (_root.head1._visible==true){
-
- _root.guess++;
-
- }
-
- if (_root.head2._visible==true){
-
- _root.guess++;
-
- }
-
- if (_root.head3._visible==true){
-
- _root.guess++;
-
- }
-
- if (_root.head4._visible==true){
-
- _root.guess++;
-
- }
-
- if (_root.head5._visible==true){
-
- _root.guess++;
-
- }
-
- if (_root.head6._visible==true){
-
- _root.guess++;
-
- }
-
- if (_root.head7._visible==true){
-
- _root.guess++;
-
- }
-
- if (_root.head8._visible==true){
-
- _root.guess++;
-
- }
-
- if (_root.head9._visible==true){
-
- _root.guess++;
-
- }
-
- if (_root.head10._visible==true){
-
- _root.guess++;
-
- }
-
- if (_root.head11._visible==true){
-
- _root.guess++;
-
- }
-
- if (_root.head12._visible==true){
-
- _root.guess++;
-
- }
-
- if (_root.head13._visible==true){
-
- _root.guess++;
-
- }
-
- if (_root.head14._visible==true){
-
- _root.guess++;
-
- }
-
- if (_root.head15._visible==true){
-
- _root.guess++;
-
- }
-
- if (_root.head16._visible==true){
-
- _root.guess++;
-
- }
-
- if (_root.guess==1){
-
- _root.nextFrame();
-
- }
-
- }