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

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

test2.swf

This is the info page for
Flash #19008

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


Text
<p align="left"></p>

<p align="left"></p>

<p align="center"><font face="Times New Roman" size="12" color="#000000" letterSpacing="0.000000" kerning="1">PRESS ME TO COUNT YOUR LETTERS!</font></p>

<p align="center"><font face="Times New Roman" size="12" color="#000000" letterSpacing="0.000000" kerning="1">PUT TEXT IN ME!</font></p>

ActionScript [AS3]

Section 1
//MainTimeline (Test2_fla.MainTimeline) package Test2_fla { import flash.events.*; import flash.display.*; import flash.text.*; public dynamic class MainTimeline extends MovieClip { public var pattern:RegExp; public var text2:TextField; public var text1:TextField; public var button_mc:MovieClip; public function MainTimeline(){ addFrameScript(0, frame1); } function frame1(){ pattern = / /gi; button_mc.addEventListener(MouseEvent.CLICK, modifyAndTally); } public function modifyAndTally(_arg1:MouseEvent):void{ var _local2:String; var _local3:int; _local2 = text1.text; _local2 = _local2.replace(pattern, ""); _local3 = _local2.length; text2.text = (("The number of letters in your sentence is " + String(_local3)) + "."); } } }//package Test2_fla

Library Items

Symbol 1 GraphicUsed by:Timeline
Symbol 2 FontUsed by:3 4 7 8
Symbol 3 EditableTextUses:2Used by:Timeline
Symbol 4 EditableTextUses:2Used by:Timeline
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:5Used by:Timeline
Symbol 7 EditableTextUses:2Used by:Timeline
Symbol 8 EditableTextUses:2Used by:Timeline
Symbol 9 GraphicUsed by:Timeline

Instance Names

"text1"Frame 1Symbol 3 EditableText
"text2"Frame 1Symbol 4 EditableText
"button_mc"Frame 1Symbol 6 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.




http://swfchan.com/4/19008/info.shtml
Created: 30/5 -2019 09:18:16 Last modified: 30/5 -2019 09:18:16 Server time: 02/05 -2024 12:03:36