STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
This is the info page for Flash #120119 |
Created by Victor A. 2010-12 Snow, Button, music and controls |
ActionScript [AS3]
Section 1//MainTimeline (snowAS302Ucogisnow02_fla.MainTimeline) package snowAS302Ucogisnow02_fla { import flash.events.*; import flash.display.*; import flash.net.*; public dynamic class MainTimeline extends MovieClip { public var myButton:SimpleButton; public function MainTimeline(){ addFrameScript(0, frame1); } public function goThere(_arg1:MouseEvent){ var _local2:URLRequest; _local2 = new URLRequest("http://www.ucogi.com/"); navigateToURL(_local2); } function frame1(){ myButton.addEventListener(MouseEvent.CLICK, goThere); } } }//package snowAS302Ucogisnow02_flaSection 2//Snowflake (Snowflake) package { import flash.events.*; import flash.display.*; public class Snowflake extends MovieClip { private var yPos:Number;// = 0 private var ySpeed:Number;// = 0 private var scale:Number;// = 0 private var radius:Number;// = 0 private var xSpeed:Number;// = 0 private var alphaValue:Number;// = 0 private var maxHeight:Number;// = 0 private var maxWidth:Number;// = 0 private var xPos:Number;// = 0 public function Snowflake(){ xPos = 0; yPos = 0; xSpeed = 0; ySpeed = 0; radius = 0; scale = 0; alphaValue = 0; maxHeight = 0; maxWidth = 0; super(); SetInitialProperties(); } function MoveSnowFlake(_arg1:Event){ xPos = (xPos + xSpeed); yPos = (yPos + ySpeed); this.x = (this.x + (radius * Math.cos(xPos))); this.y = (this.y + ySpeed); if ((this.y - this.height) > maxHeight){ this.y = (-10 - this.height); this.x = (Math.random() * maxWidth); }; this.rotation = (this.rotation + xSpeed); } public function SetInitialProperties(){ var _local1:Stage; xSpeed = (0.05 + (Math.random() * 0.1)); ySpeed = (0.5 + (Math.random() * 3)); radius = (0.1 + (Math.random() * 2)); scale = (0.01 + Math.random()); alphaValue = (0.1 + Math.random()); _local1 = (this.stage as Stage); maxWidth = _local1.stageWidth; maxHeight = _local1.stageHeight; this.x = (Math.random() * maxWidth); this.y = (Math.random() * maxHeight); xPos = this.x; yPos = this.y; this.scaleX = (this.scaleY = scale); this.alpha = alphaValue; this.addEventListener(Event.ENTER_FRAME, MoveSnowFlake); } } }//package
Library Items
Symbol 1 Graphic | Used by:2 | |
Symbol 2 MovieClip {Snowflake} | Uses:1 | Used by:Timeline |
Symbol 3 Graphic | Used by:Timeline | |
Symbol 4 Graphic | Used by:5 | |
Symbol 5 MovieClip | Uses:4 | Used by:Timeline |
Symbol 6 Graphic | Used by:Timeline | |
Symbol 7 Graphic | Used by:Timeline | |
Symbol 8 Graphic | Used by:Timeline | |
Symbol 9 Graphic | Used by:Timeline | |
Symbol 10 Graphic | Used by:11 | |
Symbol 11 MovieClip | Uses:10 | Used by:Timeline |
Symbol 12 Graphic | Used by:Timeline | |
Symbol 13 Graphic | Used by:14 | |
Symbol 14 MovieClip | Uses:13 | Used by:Timeline |
Symbol 15 Graphic | Used by:Timeline | |
Symbol 16 Graphic | Used by:Timeline | |
Symbol 17 Graphic | Used by:18 | |
Symbol 18 MovieClip | Uses:17 | Used by:Timeline |
Symbol 19 Graphic | Used by:Timeline | |
Symbol 20 Graphic | Used by:Timeline | |
Symbol 21 Graphic | Used by:Timeline | |
Symbol 22 Graphic | Used by:Timeline | |
Symbol 23 Graphic | Used by:Timeline | |
Symbol 24 Graphic | Used by:Timeline | |
Symbol 25 Graphic | Used by:Timeline | |
Symbol 26 Graphic | Used by:Timeline | |
Symbol 27 Graphic | Used by:Timeline | |
Symbol 28 Graphic | Used by:Timeline | |
Symbol 29 Graphic | Used by:30 | |
Symbol 30 MovieClip | Uses:29 | Used by:Timeline |
Symbol 31 Graphic | Used by:35 | |
Symbol 32 Graphic | Used by:35 | |
Symbol 33 Graphic | Used by:35 | |
Symbol 34 Graphic | Used by:35 | |
Symbol 35 Button | Uses:31 32 33 34 | Used by:Timeline |
Symbol 36 Font | Used by:37 | |
Symbol 37 Text | Uses:36 | Used by:Timeline |
Symbol 38 Sound | Used by:Timeline | |
Symbol 39 Graphic | Used by:Timeline | |
Symbol 40 Graphic | Used by:Timeline | |
Symbol 41 Graphic | Used by:Timeline | |
Symbol 42 Graphic | Used by:Timeline | |
Symbol 43 Graphic | Used by:Timeline | |
Symbol 44 Graphic | Used by:Timeline | |
Symbol 45 Graphic | Used by:Timeline | |
Symbol 46 Graphic | Used by:Timeline |
Instance Names
"myButton" | Frame 1 | Symbol 35 Button |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS3. |
|