| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Aug 2003
Posts: 116
|
found this from my hard drive from last years stuff
for (var i = 0; i<31; i++) { _root.createEmptyMovieClip("grad" add i, i+5); _root["grad" add i].lineStyle(1, 11255 << 16 | Math.sin(t += .1)*127 << 8 | 122, 50); _root["grad" add i]._x = 200+(220*Math.sin(i*0.01745)); _root["grad" add i]._y = 200+(4*Math.cos(i*0.01745)); _root["grad" add i]._rotation = (i*2); _root["grad" add i].moveTo(-12, -51); _root["grad" add i].curveTo(12, 51, 10, 50); _root["grad" add i].curveTo(12, 51, -10, -50); _root["grad" add i].curveTo(-22, 151, 10, -70); _root["grad" add i].onEnterFrame = function() { this.rot+= (((i-12)*3)+Math.min((_ymouse/15),4))*0.22; this._rotation+=Math.cos((this.rot-this._rotation)*0.1)*2; this._yscale =100+(99*Math.cos(0.01745*(this._xscale = 110+(55*Math.cos(0.01745*(t+=((this._x)*0.001))))) )); }; } its kind of maths stuff. Last edited by vulcanpimp; 04-22-2004 at 12:21 PM.. |
|
|
|
|
|
#2 |
|
Allez les Bleus!!!
Join Date: Oct 2002
Location: Paname
Posts: 2,495
|
All right, here's my math stuff:
Code:
trace (1+1) ; Yes, you can insult me now... |
|
|
|
|
|
|
|
|
#3 |
|
Super Moderator
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
|
More philosophical version of pom's script...
![]() PHP Code:
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer http://CyanBlue.FlashVacuum.com http://www.FlashVacuum.com http://tutorials.FlashVacuum.com Do NOT PM, Email or Call me... Your question belongs right in this forum...
|
|
|
|
|
|
#4 |
|
Allez les Bleus!!!
Join Date: Oct 2002
Location: Paname
Posts: 2,495
|
Yeah, philosophy, right! You stole my code!!
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|