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

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

Glitchy Effect Tutorial.swf

This is the info page for
Flash #74710

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


Text
SHOWMESHOWMESHOWMESHOWME! ->

SHOWMESHOWMESHOWMESHOWME! ->

Menu

Menu

You should now be in the "Text Glitchy" symbol, whether in place or just
from the library. We're about to do some tweening:

Put a blur filter on the "Text Static" symbol with medium (or low)
quality and an X and Y blur of 0 (zero). This will be needed
in the future for tweens.

The first gap should take up about half of the timeline

Now, select all the frames, right click, and choose "Convert to Keyframes",
and If you're really OCD (like me), you can select all the frames, Motion Tween
them, then Un-tween them, so they all look the same and
aren't trying any funny business (like tweening).

Text

The best part about this system is you can go back and change
the original text by editing the "Text Static" symbol. Honestly, I don't
know if it would have worked any other way...
Also, feel free to change around the tweening process. That's the part
that makes all the difference! It's the part that gives the effect its
effect-ity (word?).

ActionScript [AS3]

Section 1
//MainTimeline (glitchy_fla.MainTimeline) package glitchy_fla { import flash.events.*; import flash.display.*; public dynamic class MainTimeline extends MovieClip { public var back_btn:SimpleButton; public var next_btn:SimpleButton; public var menu_btn:SimpleButton; public var go_btn:SimpleButton; public function MainTimeline(){ addFrameScript(1, frame2, 2, frame3, 3, frame4); } public function gotoNextFrame(_arg1){ gotoAndStop((currentFrame + 1)); } public function gotoLastFrame(_arg1){ gotoAndStop((currentFrame - 1)); } function frame3(){ next_btn.addEventListener(MouseEvent.CLICK, gotoNextFrame); stop(); menu_btn.addEventListener(MouseEvent.CLICK, function (_arg1){ gotoAndPlay(1, "Menu"); }); } function frame4(){ back_btn.addEventListener(MouseEvent.CLICK, gotoLastFrame); } function frame2(){ go_btn.addEventListener(MouseEvent.CLICK, function (_arg1){ gotoAndPlay(1, "Tutorial"); }); stop(); } } }//package glitchy_fla
Section 2
//NGLoader (NGLoader) package { import flash.events.*; import flash.display.*; import flash.system.*; import flash.net.*; public dynamic class NGLoader extends MovieClip { public const AUTO_PLAY:Boolean = false; public var bar:MovieClip; public var ngButton:SimpleButton; public var playButton:SimpleButton; public var loadingComplete:Boolean; public var initialized:Boolean; public function NGLoader(){ addFrameScript(0, frame1, 1, frame2); } public function init():void{ if (initialized){ return; }; initialized = true; stop(); if (((root) && ((root is MovieClip)))){ MovieClip(root).stop(); }; loadingComplete = false; ngButton.addEventListener(MouseEvent.CLICK, ngButtonClickHandler, false, 0, true); addEventListener(Event.ENTER_FRAME, enterFrameHandler, false, 0, true); if (meetsVersion([9, 0, 28, 0])){ addEventListener(Event.REMOVED_FROM_STAGE, cleanup, false, 0, true); }; enterFrameHandler(); } public function enterFrameHandler(_arg1:Event=null):void{ var _local2:Number; if (!loadingComplete){ _local2 = 0; if (loaderInfo){ _local2 = (loaderInfo.bytesLoaded / loaderInfo.bytesTotal); }; if (bar){ bar.scaleX = _local2; }; if (_local2 == 1){ loadingComplete = true; if (AUTO_PLAY){ startMovie(); } else { gotoAndPlay("loaded"); }; }; }; } public function meetsVersion(_arg1:Array):Boolean{ var _local2:Array; var _local3:uint; _local2 = String(Capabilities.version.split(" ")[1]).split(","); _local3 = 0; while (_local3 < _arg1.length) { if (uint(_local2[_local3]) > _arg1[_local3]){ return (true); }; if (uint(_local2[_local3]) < _arg1[_local3]){ return (false); }; _local3++; }; return (true); } public function playButtonClickHandler(_arg1:Event=null):void{ startMovie(); } function frame1(){ initialized = false; init(); } function frame2(){ stop(); if (((playButton) && (!(playButton.hasEventListener(MouseEvent.CLICK))))){ playButton.addEventListener(MouseEvent.CLICK, playButtonClickHandler, false, 0, true); }; } public function ngButtonClickHandler(_arg1:Event):void{ navigateToURL(new URLRequest("http://www.newgrounds.com"), "_blank"); } public function cleanup(_arg1:Event=null){ if (initialized){ ngButton.removeEventListener(MouseEvent.CLICK, ngButtonClickHandler); removeEventListener(Event.ENTER_FRAME, enterFrameHandler); if (meetsVersion([9, 0, 28, 0])){ removeEventListener(Event.REMOVED_FROM_STAGE, cleanup); }; }; initialized = false; } public function startMovie():void{ cleanup(); if (((root) && ((root is MovieClip)))){ MovieClip(root).play(); }; dispatchEvent(new Event(Event.COMPLETE)); } } }//package

Library Items

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

Instance Names

"go_btn"Frame 2Symbol 25 Button
"next_btn"Frame 3Symbol 47 Button
"back_btn"Frame 3Symbol 55 Button
"menu_btn"Frame 3Symbol 66 Button
"bar"Symbol 19 MovieClip {NGLoader} Frame 1Symbol 3 MovieClip
"ngButton"Symbol 19 MovieClip {NGLoader} Frame 1Symbol 10 Button
"playButton"Symbol 19 MovieClip {NGLoader} Frame 2Symbol 18 Button

Special Tags

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

Labels

"loaded"Symbol 19 MovieClip {NGLoader} Frame 2




http://swfchan.com/15/74710/info.shtml
Created: 6/4 -2019 22:02:21 Last modified: 6/4 -2019 22:02:21 Server time: 10/05 -2024 06:48:12