deviant ART

[x]

*googley:icongoogley:

hey there kid  

  • Status: deviantART Subscriber
  • One who left DA and came back!
  • Unknown
  • Invisible
  • Deviant since Apr 5, 2003, 4:53 AM
  • 39 Deviations
  • 4,508 Deviation Comments
  • 4,273 Deviant Comments
  • 14 News Comments
  • 116 Forum Posts
  • 200,700 Pageviews

12-line Missile Code

Journal Entry: Thu Aug 10, 2006, 9:14 PM
Anyone have Flash MX or above? I squashed a tracking script into 12 lines [standard flash syntax] so here's something to try out... :excited:

(preview @ [link])

Open a new document in Flash, press CTRL+J and set the frame rate to 64 fps... press OK. Hit F9 and paste this onto the panel:

_level0.createEmptyMovieClip("r", 0);
var n = r._x = r._y = r._rotation = 50;
r.lineStyle(6, 3234436, 98);
r.curveTo(11.5, -34, 23, 0);
setInterval(function () {
var t = (r._y-_ymouse<0) ? (180-(Math.asin((_xmouse-r._x)/Math.sqrt((_xmouse-r._x)*(_xmouse-r._x)+(r._y-_ymouse)*(r._y-_ymouse)))*180/Math.PI)) : (Math.asin((_xmouse-r._x)/Math.sqrt((_xmouse-r._x)*(_xmouse-r._x)+(r._y-_ymouse)*(r._y-_ymouse)))*180/Math.PI);
r._rotation = (Math.abs(t-r._rotation)<10 || Math.abs(t-r._rotation)>350) ? t : r._rotation;
n = ((Math.abs(t-r._rotation)<10 || Math.abs(t-r._rotation)>350) ? 0 : n)+((r._rotation<t) ? (n<5 ? 1 : 0) : (r._rotation>t ? (n>-5 ? -1 : 0) : 0));
r._rotation += n;
r._x += 4.5*Math.sin(r._rotation*Math.PI/180);
r._y -= 4.5*Math.cos(r._rotation*Math.PI/180);
}, 12);


Press CTRL+ENTER and enjoy :w00t!:

It ain't the best, so rip away!

Devious Information

  • Current Residence: Hong Kong
  • Favourite photographer: never knew photographers get famous!
  • Personal Quote: vote 5 ;D

deviantART Notice

Devious Comments

!Berah:iconBerah: 2 days 10 hours ago
HEY, HAPPY FRIENDSHIP WEEK!!
Send this to at least 15 people you love, including me if you care for me!

And if you get at least 10 back, you will recieve good news within 15 minutes!
~Let's see how many hearts you get! =]
All the best. Please continue sending you're own love to those you care for.

dear :cuddle:

__________@@@@@@@___________@@@@_
__________@@@@@@@@_________@@@@@@
________@@@________@@_____@@______@@
________@@___________@@__@@________@@
________@@____________@@@__________@@
__________@@______________________@@
____@@@@@@______@@@@@______________@@@
__@@@@@@@@@____@@@@@@@@__________@@@
__@@___________@@@@@@@@@@______________@@
_@@____________@@@@@@@@@@@______________@@
_@@_____________@@@@@@@@@@______________@@
_@@@_____________@@@@@@@@______________@@@
__@@@@_____________@@@@@_____________@@@@
____@@@@@@_______________________@@@@@@
_________@@_____________________@@
________@@__________@@@@________@@@
________@@@_______@@___@@_______@@@
_________@@@_____@@______@@_____@@@
__________@@@@@@@_________@@@@@
___________@@@@@___________@@@@
___________________@
____________________@
_____________________@
______________________@
______________________@____@@@
______________@@@@__@__@_____@
_____________@_______@@@___@@
________________@@@____@__@@
_______________________@
______________________@
____________________@
____________________@
___________________@@@___________


Wow, Thanks for the watch! I wanted the chance to flip through your book more but sex Shop araç kiralama when I got back I couldn't find you! evden eve nakliyat Thankfully Matt let me look through the book he got from you.

Beautiful stuff! ankara nakliyat
!autoback:iconautoback: Apr 28, 2008, 11:35:01 PM
Thank Best Regards

--
The Admin oF that
mirc
mirc indir
mirc yükle
sohbet
~dugunum:icondugunum: Apr 24, 2008, 4:14:10 AM
i love that wedding gown, i saw a bride like that, two weeks ago on Gelinlik
~redcoder:iconredcoder: Apr 23, 2008, 1:03:59 PM
i follow your sharing,very nice thank you.
i wish you to be successfull, take it easy.

--
mirc
mirc
mırc
!nakliyat:iconnakliyat: Apr 19, 2008, 11:08:12 AM
I LOVE your concept art! It's responsible in part for my heightened interest in Sci-Fi! Keep up the amazing work!!
Ankara Nakliyat
Ankara Nakliyat
ankara nakliye
evden eve nakliyat ankara
ankara nakliyat
!autoback:iconautoback: Mar 31, 2008, 6:48:17 AM
Thanks Best Regards

--
The Admin oF that
mirc
mirc indir
mirc yükle
sohbet
!assembl:iconassembl: Mar 15, 2008, 7:45:17 AM
Thanks Best Regards

--
The Admin oF that
mirc
mirc indir
mirc yükle
sohbet
=mafer:iconmafer: Mar 9, 2008, 6:54:17 AM
wazzup googley

--
:snowing:


DRAW AT MY OEKAKI [link]
~the-3
INU my manga : [link] :gallery:
!karar3435:iconkarar3435: Mar 8, 2008, 2:01:56 PM
Very nice thanks :)Evden eve nakliyat firmalarından en güzelleri bunlar :)harika bir nakliyat firması evden eve nakliyat
buda muhteşem bi şirket :)evden eve nakliyat
en iyi evden eve nakliyat firması ahandaevden eve nakliyat
değilmi gardaşlar :Pevden eve nakliyat
en iyi evden eve ler bunlarevden eve nakliyat
buda en iyi lazer epilasyonve epilasyon sitesi lazer epilasyon
!style61:iconstyle61: Mar 8, 2008, 7:22:15 AM
good blog.your gallery is wonderful

--
Youtube | video izle | film izle