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

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

awa_demo.swf

This is the info page for
Flash #98967

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


ActionScript [AS3]
Section 1
//awa_1 (awa_fla.awa_1) package awa_fla { import flash.events.*; import flash.display.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.system.*; import flash.text.*; import flash.utils.*; import flash.xml.*; public dynamic class awa_1 extends MovieClip { public var radian:Number; public var b:uint; public var g:uint; public var r:uint; public var dradian:Number; public var x0:int; public var y0:int; public function awa_1(){ addFrameScript(0, frame1); } public function fMouseMove(_arg1:MouseEvent):void{ var _local2:MovieClip; _local2 = new awa(); _local2.color = getColor(); _local2.vx = (mouseX - ((x0 - mouseX) * 10)); _local2.vy = (mouseY - ((y0 - mouseY) * 10)); _local2.drawShape(); addChild(_local2); x0 = mouseX; y0 = mouseY; } function frame1(){ radian = ((Math.random() * Math.PI) * 2); dradian = 0.01; x0 = mouseX; y0 = mouseY; stage.addEventListener(MouseEvent.MOUSE_MOVE, fMouseMove); } public function getColor():uint{ radian = (radian + dradian); r = Math.floor((((Math.sin(radian) / 2) + 0.5) * 128)); g = Math.floor((((Math.sin((radian + ((Math.PI * 2) / 3))) / 2) + 0.5) * 128)); b = Math.floor((((Math.sin((radian + (((Math.PI * 2) / 3) * 2))) / 2) + 0.5) * 128)); return ((((r << 16) | (g << 8)) | b)); } } }//package awa_fla
Section 2
//MainTimeline (awa_fla.MainTimeline) package awa_fla { import flash.display.*; import flash.ui.*; public dynamic class MainTimeline extends MovieClip { public var menu:ContextMenu; public function MainTimeline(){ addFrameScript(0, frame1); } function frame1(){ stage.scaleMode = "noScale"; menu = new ContextMenu(); menu.hideBuiltInItems(); contextMenu = menu; } } }//package awa_fla
Section 3
//awa (awa) package { import flash.events.*; import flash.display.*; public class awa extends MovieClip { public var color:uint; var scale:Number; var radianx:Number; var dradianx:Number; var dy:Number; public var vx:Number; public var vy:Number; public function awa():void{ scale = (Math.random() * 2); dy = ((Math.random() * 5) + 5); radianx = ((Math.random() * Math.PI) * 2); dradianx = ((Math.random() * 0.5) + 0.5); super(); x = mouseX; y = mouseY; alpha = (0.3 + (Math.random() * 0.3)); scaleX = (scaleY = 0); } function fEnterFrame(_arg1:Event):void{ if (alpha < 0){ removeEventListener(Event.ENTER_FRAME, fEnterFrame); parent.removeChild(this); } else { scaleX = (scaleX + ((scale - scaleX) / 5)); scaleY = scaleX; x = (x + ((vx - x) / 10)); y = (y + ((vy - y) / 10)); x = (x + Math.sin(radianx)); radianx = (radianx + dradianx); vy = (vy - dy); alpha = (alpha - 0.01); }; } public function drawShape():void{ graphics.lineStyle(1, color, 1, false, "none"); graphics.drawCircle(0, 0, 20); addEventListener(Event.ENTER_FRAME, fEnterFrame); } } }//package

Library Items

Symbol 1 MovieClip {awa_fla.awa_1}Used by:Timeline

Special Tags

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




http://swfchan.com/20/98967/info.shtml
Created: 22/3 -2019 06:09:10 Last modified: 22/3 -2019 06:09:10 Server time: 03/05 -2024 02:43:36