STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229665 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2596 · P5191 |
This is the info page for Flash #50958 |
<p align="left"><font face="Trebuchet MS" size="15" color="#555555" letterSpacing="0.000000" kerning="1">x</font></p> |
<p align="left"><font face="Trebuchet MS" size="15" color="#555555" letterSpacing="0.000000" kerning="1">y</font></p> |
<p align="left"><font face="Trebuchet MS" size="15" color="#555555" letterSpacing="0.000000" kerning="1">x</font></p> |
<p align="left"><font face="Trebuchet MS" size="15" color="#555555" letterSpacing="0.000000" kerning="1">y</font></p> |
<p align="left"><font face="Trebuchet MS" size="15" color="#555555" letterSpacing="0.000000" kerning="1">Angulo</font></p> |
<p align="left"><font face="Trebuchet MS" size="15" color="#555555" letterSpacing="0.000000" kerning="1">y</font></p> |
<p align="left"><font face="Trebuchet MS" size="15" color="#555555" letterSpacing="0.000000" kerning="1">y</font></p> |
ActionScript [AS3]
Section 1//MainTimeline (nave_fla.MainTimeline) package nave_fla { import flash.display.*; import flash.text.*; public dynamic class MainTimeline extends MovieClip { public var hipotenusa:TextField; public var navey:TextField; public var ratax:TextField; public var cateto:TextField; public var navex:TextField; public var ratay:TextField; public var catop:Number; public var mopet:Date; public var catad:Number; public var borderColor:uint; public var borderSize:uint; public var nave:MovieClip; public var angulo:TextField; public var seno; public var hipo:Number; public var nave2:MovieClip; public var linea2:Shape; public var linea:Shape; public function MainTimeline(){ addFrameScript(0, frame1, 2, frame3); } function frame3(){ removeChild(linea); removeChild(linea2); gotoAndPlay(1); } function frame1(){ mopet = new Date(); nave.rotation = ((mopet.getSeconds() * 60) + (mopet.getMilliseconds() * 0.06)); ratax.text = ("X = " + stage.mouseX); ratay.text = ("Y = " + stage.mouseY); navex.text = ("Nave x = " + nave2.x); navey.text = ("Nave y = " + nave2.y); borderColor = 0xFF00; borderSize = 0; linea = new Shape(); linea.graphics.lineStyle(borderSize, borderColor); linea.graphics.moveTo(nave.x, nave.y); linea.graphics.lineTo(stage.mouseX, stage.mouseY); addChild(linea); linea2 = new Shape(); linea2.graphics.lineStyle(borderSize, borderColor); linea2.graphics.moveTo(nave2.x, nave2.y); linea2.graphics.lineTo(stage.mouseX, stage.mouseY); addChild(linea2); catop = (stage.mouseY - nave2.y); catad = (stage.mouseX - nave2.x); hipo = Math.sqrt((Math.pow(catop, 2) + Math.pow(catad, 2))); seno = (1 / Math.sin((catop / hipo))); cateto.text = ("Cateto = " + catop); hipotenusa.text = ("Hipo = " + hipo); angulo.text = ("Test = " + seno); } } }//package nave_fla
Library Items
Symbol 1 Graphic | Used by:2 | |
Symbol 2 MovieClip | Uses:1 | Used by:Timeline |
Symbol 3 Font | Used by:4 5 6 7 8 9 10 | |
Symbol 4 EditableText | Uses:3 | Used by:Timeline |
Symbol 5 EditableText | Uses:3 | Used by:Timeline |
Symbol 6 EditableText | Uses:3 | Used by:Timeline |
Symbol 7 EditableText | Uses:3 | Used by:Timeline |
Symbol 8 EditableText | Uses:3 | Used by:Timeline |
Symbol 9 EditableText | Uses:3 | Used by:Timeline |
Symbol 10 EditableText | Uses:3 | Used by:Timeline |
Instance Names
"nave" | Frame 1 | Symbol 2 MovieClip |
"ratax" | Frame 1 | Symbol 4 EditableText |
"ratay" | Frame 1 | Symbol 5 EditableText |
"navex" | Frame 1 | Symbol 6 EditableText |
"navey" | Frame 1 | Symbol 7 EditableText |
"nave2" | Frame 1 | Symbol 2 MovieClip |
"angulo" | Frame 1 | Symbol 8 EditableText |
"cateto" | Frame 1 | Symbol 9 EditableText |
"hipotenusa" | Frame 1 | Symbol 10 EditableText |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS3. |
Protect (24) | Timeline Frame 1 | 0 bytes "" |
|