all groups > flash (macromedia) > may 2007 >
You're in the

flash (macromedia)

group:

Carousel Effect



Carousel Effect Clubspinner
5/29/2007 11:30:43 PM
flash (macromedia): I see a great effect that could be used for a variety of things at

http://www.burberry.com/AboutBurberry/History.aspx

Re: Carousel Effect Nickels55
5/30/2007 12:20:49 AM
Re: Carousel Effect Clubspinner
5/30/2007 3:13:31 AM
Excellent!
Re: Carousel Effect Clubspinner
6/5/2007 1:52:32 AM
Are you familiar with the code on this gotoandlearn carousel?

There is a function that moves the attached moveclips called "mover"

How can I modify this code so that the images remain inline? ie. just move a
long a straight line on the x axis?
I woud like the images to scale down as they move to the edge of the screen
and can dissapear off screen if necessary.
Can I just remove the code for the _y movement?
Thanks

function mover() {
this._x = Math.cos(this.angle)*radiusX+centerX;
this._y = Math.sin(this.angle)*radiusY+centerY;
var s:Number = (this._y-perspective)/(centerY+radiusY-perspective);
this._xscale = this._yscale=s*100;
this.angle += this._parent.speed;
this.swapDepths(Math.round(this._xscale)+100);
}
Re: Carousel Effect Nickels55
6/5/2007 1:42:47 PM
Sorry, but the code is too complex for me to help with that part. I know what
section of code you want to change:
this._x = Math.cos(this.angle)*radiusX+centerX;
this._y = Math.sin(this.angle)*radiusY+centerY;

That is what places the items on a circular path, but it is beyond me.

Go here:
http://www.ludvigjernqvist.se/forum/

That is the forum for Lee Brimlow, the guy that created the code. They will be
able to help you there.
Re: Carousel Effect Rothrock
6/5/2007 3:37:23 PM
Re: Carousel Effect Nickels55
6/5/2007 3:44:44 PM
I think this is the thread

AddThis Social Bookmark Button