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

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

nave.swf

This is the info page for
Flash #50958

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


Text
<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 GraphicUsed by:2
Symbol 2 MovieClipUses:1Used by:Timeline
Symbol 3 FontUsed by:4 5 6 7 8 9 10
Symbol 4 EditableTextUses:3Used by:Timeline
Symbol 5 EditableTextUses:3Used by:Timeline
Symbol 6 EditableTextUses:3Used by:Timeline
Symbol 7 EditableTextUses:3Used by:Timeline
Symbol 8 EditableTextUses:3Used by:Timeline
Symbol 9 EditableTextUses:3Used by:Timeline
Symbol 10 EditableTextUses:3Used by:Timeline

Instance Names

"nave"Frame 1Symbol 2 MovieClip
"ratax"Frame 1Symbol 4 EditableText
"ratay"Frame 1Symbol 5 EditableText
"navex"Frame 1Symbol 6 EditableText
"navey"Frame 1Symbol 7 EditableText
"nave2"Frame 1Symbol 2 MovieClip
"angulo"Frame 1Symbol 8 EditableText
"cateto"Frame 1Symbol 9 EditableText
"hipotenusa"Frame 1Symbol 10 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.
Protect (24)Timeline Frame 10 bytes ""




http://swfchan.com/11/50958/info.shtml
Created: 25/4 -2019 17:06:00 Last modified: 25/4 -2019 17:06:00 Server time: 28/04 -2024 14:25:05