Re: [Flashcoders] Advanced Rollover Physics/Math...

2009-02-12 Thread Muzak
and every element needs to know where the mouse cursor is and to know in wich direction to move No they don't, a parent class should take care of all of that. The elements themselves should not be aware of any of this and should be told (by the parent class) when and how to resize/animate/etc.

Re: [Flashcoders] Advanced Rollover Physics/Math...

2009-02-12 Thread Todd Kerpelman
A physics engine might be tough to use in this case, since most of the ones I've seen tend to deal with rigid bodies. Getting a shape to "squeeze" into a smaller space isn't something they're usually capable of doing. As somebody who is particularly guilty of the "Spend five hours trying to find a

Re: [Flashcoders] orkut - Invitation to join from Omar Fouad

2009-02-12 Thread allandt bik-elliott (thefieldcomic.com)
already on facebook, myspaz, linkdin and something else i can't remember the name of - i'm a bit burned out on social network sites On Thu, Feb 12, 2009 at 4:26 PM, Omar Fouad < 8678358898537157...@mail.orkut.com> wrote: > > > You have been invited to join Omar Fouad's (omarfouad@gmail.com)

RE: [Flashcoders] Advanced Rollover Physics/Math...

2009-02-12 Thread Mattheis, Erik (MIN - WSW)
Thinking of the position of imaginary vertical and horizontal lines between the elements may be a better approach. -- Erik Mattheis Senior Interactive Developer Weber Shandwick Digital Minneapolis ph: 952 346 6610 cell: 612 377 2272 -Original Message- From: flashcoders-boun...@chattyfig

[Flashcoders] orkut - Invitation to join from Omar Fouad

2009-02-12 Thread Omar Fouad
You have been invited to join Omar Fouad's (omarfouad@gmail.com) network of friends at orkut. To join orkut click on the following link: http://www.orkut.com/Join.aspx?id=4993EB61DCE44931 Having problems? If you get an error when you try to accept this invitation, you may need to cop

RE: [Flashcoders] Advanced Rollover Physics/Math...

2009-02-12 Thread Sander Schuurman
Do you know kinda where to start... I'm trying to figure out how I would program the awareness of the elements. There must be some kind of idle position, and every element needs to know where the mouse cursor is and to know in wich direction to move, and know how big it needs to be according to

Re: [Flashcoders] Advanced Rollover Physics/Math...

2009-02-12 Thread Steve Mathews
You could probably pull this off with a physics engine. You could probably do it without also as a entire engine could be overkill. On Thu, Feb 12, 2009 at 6:03 AM, Sander Schuurman < sander.schuur...@oswaldandruby.com> wrote: > Hi cool list... > > I'm trying to create a subtle/smooth rollover an

Re: [Flashcoders] Advanced Rollover Physics/Math...

2009-02-12 Thread Mark Winterhalder
Hah, that reminds of of the classic Yugop site, back during Flash 4 days -- the one with the rotating cube preloader, the "older" generation among us might remember... What you're actually trying to do is a bit different, though. When you think about it, it's not unlike a tree-map, where you add w

[Flashcoders] Advanced Rollover Physics/Math...

2009-02-12 Thread Sander Schuurman
Hi cool list... I'm trying to create a subtle/smooth rollover animation of elements that react (scale) to the mouse position, and are aware of each other, so they move out of the way for each other instead of overlapping. I came across this subject a couple of times on the internet, but I can't