3D Polar Revolution

Nope, something more like this below :D. You’ll need to add the glow.

Hey freeskier89,
You code doesnt work if you publish it in Flash Player 7+.
What needs to be changed in order for it to work ?
Thanx

hmm… someone else said that also. To tell you the truth, I do not really know and I can’t test it because I have MX. My only guess is, try replacing the line

this.vertexBuffer = _root.createEmptyMovieClip(“3Dcontainer”+containerdepth,containerdepth);

with this just to see if it works

this.vertexBuffer = _root.createEmptyMovieClip(“3Dcontainer1”,-1);

If that doesn’t work you will have to consult someone with the latest version of flash to debug it.

That’s really cool!

nice code,!

How would i make the Lines.fla work in Flash 8 ?
Thanks

Man that is scwheeet! edit Btw- how do you add a filter (ie glow, blur etc) to a movieclip in AS?

import flash.filters.*;
this.glw = new GlowFilter(0xFF4AF7, 100, 5, 5, 3, 3, false, false);
this.createEmptyMovieClip("linecontainer", 1);
this.onEnterFrame = function():Void  {
 var mc:MovieClip = this.linecontainer.createEmptyMovieClip("line" + this.linecontainer.getNextHighestDepth(), this.linecontainer.getNextHighestDepth());
 mc.filters = new Array(this.glw);
 mc.lineStyle(1, 0xFFFFFF);
 mc.moveTo(this.lastx, this.lasty);
 mc.lineTo(this._xmouse, this._ymouse);
 mc.onEnterFrame = function():Void  {
  if ((this._alpha -= 4) < 0) {
   this.removeMovieClip();
  }
 };
 this.lastx = this._xmouse;
 this.lasty = this._ymouse;
};

:mountie:

Legend!^

Do you know what would be sweet? If you could smooth out the lines and make em kinda whip with some easing (like my intro www.fadedpixel.com/darkmotion) I really want to see a dynamic version of my ribbons :P!

This might interest you:
http://www.ffiles.com/view_listing.php?sid=381&cat=74

Sorry for hi-jacking your thread freeskier :be:

No problem about the hijacking TheCanadian :P. I was even thinking about PMing you to get the flash 8 issue worked out :smiley:

ps: Can you attach or PM a swf of the lines with glow when you get around to it? I am interested in seeing it :slight_smile:

No problemo :hugegrin:

Wow it really eats up your processor with the filter.

that 3d polar thing is brilliant freeskier89 - i love the trail as well, it reminds me a little of some stuff on liquid journey

Thanks!

Oh and darkmotion, to smooth out the lines, boost your frame rate ;). You could also use a for loop to loop through the code and interpolate, but it would be much easier to bump up the FPS.

Edit: Thanks matthew!

[SIZE=1]I like that effect … congrats. :beer: [/SIZE]