STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229456
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2574 · P5148

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/10709969?noj=FRM10709969-5DC" width="1" height="1"></div>

Flash Memory Card Game.swf

This is the info page for
Flash #23864

(Click the ID number above for more basic data on this flash file.)


Text
Exit

Memory Card Game

www.a4flash.com

Music On

Music Off

soundloop mc

THESE ARE THE CODER'S NOTES ON THE ACTION SCRIPT OF THE CARD0 BUTTON
So this code is executed on every card Click
***********************************************************************************************************


On (Release)
Set Variable: "Display" = 0                                                                                           ; True will mean show the card.
If (Faceup <> 1)                                                                                                           ; Test if the card is allready faceup (to stay as in, its a successfull card)
If (/:ClickCount = 0)                                                                                                ; If no cards up
Set Variable: "Display" = 1                                                                               ; We will show this one
Set Variable: "/:ClickCount" = 1                                                                        ; First Card Up
Set Variable: "/:FirstClick" = _target; Save this MC's Target for testing

Else If (/:ClickCount = 1)                                                                                         ; One card is allready showing
If (_target ne /:FirstClick)                                                                                   ; ensure this isnt the car the user turned
Set Variable: "Display" = 1                                                                          ; we will show this one
If (MyCard <> eval(/:FirstClick & "/:MyCard"))                                             ; is the first card and this card the same? (the MyCard variable was set in the shuffle/duplicate)
Set Variable: "/:SecondClick" = _target                                                 ; No it isnt the same so save this target as the second card.
Set Variable: "/:ClickCount" = 2                                                              ; Two cards are facing up - we do this bit so that the next time a user clicks it hides these cards
Else
Set Variable: "/:ClickCount" = 0                                                              ; Success, no selections now
Set Variable: "FaceUp" = 1                                                                  ; This card is a successfull card
Set Variable: eval(/:FirstClick & "/:Faceup") = 1                                                            ; This says the first card clicked was also successful.
Set Variable: "/:GameCount" = /:GameCount + 1                            ; This is the end of game test
If (/:GameCount = 8)                                                                   ; if eight success. game over.
Begin Tell Target ("/EOG")
Go to and Stop (2)
End Tell Target
End If
End If
End If
Else; Now we clear the cards away (clickcount = 2 here so the user has shown the cards, and they werent successful)
Set Variable: "/:ClickCount" = 0                                                               ; Reset the count
Begin Tell Target (/:FirstClick)                                                           ; Change the cards back
Go to and Stop (1)
End Tell Target
Begin Tell Target (/:SecondClick)
Go to and Stop (1)
End Tell Target
End If
If (Display = 1); If this card was tagged to be shown, we do it here.
Go to and Stop (MyCard + 1)
End If
End If
End On


Score

You have found

Matches

Time

0

(secs)

WELL DONE!

Play
Again ?

Play
Again ?

Excellent!

Time Up

empty mc

Start

Start

ActionScript [AS1/AS2]

Frame 1
if (false) { }
Frame 7
if (false) { }
Frame 19
if (false) { }
Frame 24
var \x01 = 789; // swfAction0x03 // Unknown action
Frame 25
var \x01 = 674; // swfAction0x03 // Unknown action
Frame 26
var \x01 = 365; // swfAction0x03 // Unknown action
Frame 27
var \x01 = 818; // swfAction0x03 // Unknown action
Symbol 9 Button
on (release) { !!!ERROR
Symbol 16 Button
on (release) { !!!ERROR
Symbol 28 Button
on (press) { !!!ERROR
Symbol 30 Button
on (press) { !!!ERROR
Symbol 31 MovieClip Frame 1
!!!ERROR
Symbol 31 MovieClip Frame 2
!!!ERROR
Symbol 31 MovieClip Frame 3
!!!ERROR
Symbol 35 MovieClip Frame 2
!!!ERROR
Symbol 41 Button
on (release) { !!!ERROR
Symbol 53 MovieClip Frame 1
!!!ERROR
Symbol 67 MovieClip Frame 1
!!!ERROR
Symbol 67 MovieClip Frame 11
!!!ERROR
Symbol 78 Button
on (release, keyPress "<Enter>") { !!!ERROR
Symbol 89 MovieClip Frame 1
!!!ERROR
Symbol 89 MovieClip Frame 2
!!!ERROR
Symbol 89 MovieClip Frame 20
!!!ERROR
Symbol 89 MovieClip Frame 31
!!!ERROR
Symbol 89 MovieClip Frame 49
!!!ERROR
Symbol 89 MovieClip Frame 50
!!!ERROR
Symbol 89 MovieClip Frame 65
!!!ERROR
Symbol 111 Button
on (release) { !!!ERROR

Library Items

Symbol 1 GraphicUsed by:10
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClipUses:2Used by:10
Symbol 4 GraphicUsed by:9
Symbol 5 FontUsed by:6 64
Symbol 6 TextUses:5Used by:9
Symbol 7 GraphicUsed by:9
Symbol 8 GraphicUsed by:9
Symbol 9 ButtonUses:4 6 7 8Used by:10
Symbol 10 MovieClipUses:1 3 9Used by:Timeline
Symbol 11 GraphicUsed by:16
Symbol 12 FontUsed by:13 14 54 60 61 62
Symbol 13 TextUses:12Used by:16
Symbol 14 TextUses:12Used by:16
Symbol 15 GraphicUsed by:16
Symbol 16 ButtonUses:11 13 14 15Used by:Timeline
Symbol 17 GraphicUsed by:31
Symbol 18 GraphicUsed by:28
Symbol 19 FontUsed by:20 29
Symbol 20 TextUses:19Used by:28
Symbol 21 ShapeTweeningUsed by:24
Symbol 22 ShapeTweeningUsed by:24
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClipUses:21 22 23Used by:28
Symbol 25 GraphicUsed by:28 30
Symbol 26 GraphicUsed by:28 30
Symbol 27 GraphicUsed by:28 30
Symbol 28 ButtonUses:18 20 24 25 26 27Used by:31
Symbol 29 TextUses:19Used by:30
Symbol 30 ButtonUses:25 29 26 27Used by:31
Symbol 31 MovieClipUses:17 28 30Used by:Timeline
Symbol 32 FontUsed by:33 65 66 90
Symbol 33 TextUses:32Used by:35
Symbol 34 SoundUsed by:35
Symbol 35 MovieClipUses:33 34Used by:Timeline
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:36Used by:Timeline
Symbol 38 GraphicUsed by:53
Symbol 39 GraphicUsed by:53
Symbol 40 GraphicUsed by:41 53
Symbol 41 ButtonUses:40Used by:53
Symbol 42 GraphicUsed by:53
Symbol 43 GraphicUsed by:53
Symbol 44 GraphicUsed by:53
Symbol 45 GraphicUsed by:53
Symbol 46 GraphicUsed by:53
Symbol 47 BitmapUsed by:48
Symbol 48 GraphicUses:47Used by:53
Symbol 49 BitmapUsed by:50
Symbol 50 GraphicUses:49Used by:53
Symbol 51 BitmapUsed by:52
Symbol 52 GraphicUses:51Used by:53
Symbol 53 MovieClipUses:38 39 41 40 42 43 44 45 46 48 50 52Used by:Timeline
Symbol 54 EditableTextUses:12Used by:Timeline
Symbol 55 GraphicUsed by:89
Symbol 56 GraphicUsed by:59
Symbol 57 FontUsed by:58 75 76 109 110
Symbol 58 TextUses:57Used by:59
Symbol 59 MovieClipUses:56 58Used by:89
Symbol 60 TextUses:12Used by:89
Symbol 61 EditableTextUses:12Used by:89
Symbol 62 TextUses:12Used by:89
Symbol 63 GraphicUsed by:67
Symbol 64 TextUses:5Used by:67
Symbol 65 EditableTextUses:32Used by:67
Symbol 66 TextUses:32Used by:67
Symbol 67 MovieClipUses:63 64 65 66Used by:89
Symbol 68 FontUsed by:69 79 85
Symbol 69 TextUses:68Used by:70
Symbol 70 MovieClipUses:69Used by:89
Symbol 71 ShapeTweeningUsed by:89
Symbol 72 GraphicUsed by:89
Symbol 73 SoundUsed by:89
Symbol 74 GraphicUsed by:89
Symbol 75 TextUses:57Used by:78
Symbol 76 TextUses:57Used by:78
Symbol 77 GraphicUsed by:78
Symbol 78 ButtonUses:75 76 77Used by:89
Symbol 79 TextUses:68Used by:80
Symbol 80 MovieClipUses:79Used by:89
Symbol 81 ShapeTweeningUsed by:89
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82Used by:89
Symbol 84 SoundUsed by:89
Symbol 85 TextUses:68Used by:89
Symbol 86 GraphicUsed by:87
Symbol 87 MovieClipUses:86Used by:89
Symbol 88 SoundUsed by:89
Symbol 89 MovieClipUses:55 59 60 61 62 67 70 71 72 73 74 78 80 81 83 84 85 87 88Used by:Timeline
Symbol 90 TextUses:32Used by:91
Symbol 91 MovieClipUses:90Used by:Timeline
Symbol 92 GraphicUsed by:Timeline
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClipUses:93Used by:Timeline
Symbol 95 GraphicUsed by:96 111
Symbol 96 MovieClipUses:95Used by:101
Symbol 97 GraphicUsed by:98 111
Symbol 98 MovieClipUses:97Used by:101
Symbol 99 GraphicUsed by:100 111
Symbol 100 MovieClipUses:99Used by:101
Symbol 101 MovieClipUses:96 98 100Used by:111
Symbol 102 GraphicUsed by:103 111
Symbol 103 MovieClipUses:102Used by:108
Symbol 104 GraphicUsed by:105 111
Symbol 105 MovieClipUses:104Used by:108
Symbol 106 GraphicUsed by:107 111
Symbol 107 MovieClipUses:106Used by:108
Symbol 108 MovieClipUses:103 105 107Used by:111
Symbol 109 TextUses:57Used by:111
Symbol 110 TextUses:57Used by:111
Symbol 111 ButtonUses:101 108 109 110 95 97 99 102 104 106Used by:Timeline

Instance Names

"music"Frame 7Symbol 31 MovieClip
"soundloop"Frame 7Symbol 35 MovieClip
"Card0"Frame 19Symbol 53 MovieClip
"EOG"Frame 19Symbol 89 MovieClip
"empty"Frame 19Symbol 91 MovieClip
"time"Symbol 89 MovieClip Frame 1Symbol 67 MovieClip
"colorchip"Symbol 101 MovieClip Frame 1Symbol 96 MovieClip
"bottomhilite"Symbol 101 MovieClip Frame 1Symbol 98 MovieClip
"tophilite"Symbol 101 MovieClip Frame 1Symbol 100 MovieClip
"colorchip"Symbol 108 MovieClip Frame 1Symbol 103 MovieClip
"bottomhilite"Symbol 108 MovieClip Frame 1Symbol 105 MovieClip
"tophilite"Symbol 108 MovieClip Frame 1Symbol 107 MovieClip

Special Tags

Tag 0x0FF (255)Timeline Frame 11 bytes "."
Tag 0x0FD (253)Timeline Frame 1
Tag 0x0FD (253)Timeline Frame 1
Tag 0x0FD (253)Timeline Frame 7
Tag 0x0FD (253)Timeline Frame 7
Tag 0x0FD (253)Timeline Frame 19
Tag 0x0FD (253)Timeline Frame 19
Tag 0x0FD (253)Timeline Frame 24
Tag 0x0FD (253)Timeline Frame 24
Tag 0x0FD (253)Timeline Frame 25
Tag 0x0FD (253)Timeline Frame 26
Tag 0x0FD (253)Timeline Frame 27
Tag 0x0FD (253)Symbol 31 MovieClip Frame 1
Tag 0x0FD (253)Symbol 31 MovieClip Frame 2
Tag 0x0FD (253)Symbol 31 MovieClip Frame 3
Tag 0x0FD (253)Symbol 35 MovieClip Frame 2
Tag 0x0FD (253)Symbol 53 MovieClip Frame 1
Tag 0x0FD (253)Symbol 67 MovieClip Frame 1
Tag 0x0FD (253)Symbol 67 MovieClip Frame 11
Tag 0x0FD (253)Symbol 89 MovieClip Frame 1
Tag 0x0FD (253)Symbol 89 MovieClip Frame 2
Tag 0x0FD (253)Symbol 89 MovieClip Frame 20
Tag 0x0FD (253)Symbol 89 MovieClip Frame 31
Tag 0x0FD (253)Symbol 89 MovieClip Frame 49
Tag 0x0FD (253)Symbol 89 MovieClip Frame 50
Tag 0x0FD (253)Symbol 89 MovieClip Frame 65

Labels

"start"Frame 25
"init"Frame 25
"GetCard"Frame 26
"initstop"Symbol 89 MovieClip Frame 1
"welldone"Symbol 89 MovieClip Frame 2
"clear cards from field"Symbol 89 MovieClip Frame 2
"end stop"Symbol 89 MovieClip Frame 20
"excellent"Symbol 89 MovieClip Frame 31
"timeup"Symbol 89 MovieClip Frame 50
#"Symbol_9"Symbol 96 MovieClip Frame 1
#"Symbol_11"Symbol 98 MovieClip Frame 1
#"Symbol_10"Symbol 100 MovieClip Frame 1
#"Symbol_3"Symbol 101 MovieClip Frame 1
#"Symbol_14"Symbol 103 MovieClip Frame 1
#"Symbol_13"Symbol 105 MovieClip Frame 1
#"Symbol_12"Symbol 107 MovieClip Frame 1

Dynamic Text Variables

TextField4Symbol 54 EditableText"THESE ARE THE CODER'S NOTES ON THE ACTION SCRIPT OF THE CARD0 BUTTON So this code is executed on every card Click *********************************************************************************************************** On (Release)       Set Variable: "Display" = 0                                                                                           ; True will mean show the card.       If (Faceup <> 1)                                                                                                           ; Test if the card is allready faceup (to stay as in, its a successfull card)             If (/:ClickCount = 0)                                                                                                ; If no cards up                   Set Variable: "Display" = 1                                                                               ; We will show this one                   Set Variable: "/:ClickCount" = 1                                                                        ; First Card Up                   Set Variable: "/:FirstClick" = _target; Save this MC's Target for testing             Else If (/:ClickCount = 1)                                                                                         ; One card is allready showing                   If (_target ne /:FirstClick)                                                                                   ; ensure this isnt the car the user turned                         Set Variable: "Display" = 1                                                                          ; we will show this one                         If (MyCard <> eval(/:FirstClick & "/:MyCard"))                                             ; is the first card and this card the same? (the MyCard variable was set in the shuffle/duplicate)                               Set Variable: "/:SecondClick" = _target                                                 ; No it isnt the same so save this target as the second card.                               Set Variable: "/:ClickCount" = 2                                                              ; Two cards are facing up - we do this bit so that the next time a user clicks it hides these cards                         Else                               Set Variable: "/:ClickCount" = 0                                                              ; Success, no selections now                               Set Variable: "FaceUp" = 1                                                                  ; This card is a successfull card       Set Variable: eval(/:FirstClick & "/:Faceup") = 1                                                            ; This says the first card clicked was also successful.                               Set Variable: "/:GameCount" = /:GameCount + 1                            ; This is the end of game test                               If (/:GameCount = 8)                                                                   ; if eight success. game over.                                     Begin Tell Target ("/EOG")                                           Go to and Stop (2)                                     End Tell Target                               End If                         End If                   End If             Else; Now we clear the cards away (clickcount = 2 here so the user has shown the cards, and they werent successful)                   Set Variable: "/:ClickCount" = 0                                                               ; Reset the count                   Begin Tell Target (/:FirstClick)                                                           ; Change the cards back                         Go to and Stop (1)                   End Tell Target                   Begin Tell Target (/:SecondClick)                         Go to and Stop (1)                   End Tell Target             End If             If (Display = 1); If this card was tagged to be shown, we do it here.                   Go to and Stop (MyCard + 1)             End If       End If End On "
/:GameCountSymbol 61 EditableText""
_root.timeSymbol 65 EditableText"0"




http://swfchan.com/5/23864/info.shtml
Created: 25/5 -2019 20:32:43 Last modified: 25/5 -2019 20:32:43 Server time: 05/11 -2024 08:34:41