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..


regards,
Muzak

- Original Message - 
From: "Sander Schuurman" 

To: "Flash Coders List" 
Sent: Thursday, February 12, 2009 5:24 PM
Subject: RE: [Flashcoders] Advanced Rollover Physics/Math...



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 the mouseposition, and how much space there is inside his 'zone', etc. etc.


pfoe



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 clever solution to something I could have brute-forced in one"
syndrome, I feel obligated to ask if you considered brute-forcing the
problem. (Basically, figuring out the positions and sizes of each of the
elements when any one of them is rolled over and keeping that in a giant
array.) It's not a reusable solution, it doesn't scale well, and it won't
win you the awe and respect of your colleagues, but it might work for a
one-off project...

--T


On Thu, Feb 12, 2009 at 9:08 AM, Mattheis, Erik (MIN - WSW) <
ematth...@webershandwick.com> wrote:

> 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.figleaf.com
> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Sander
> Schuurman
> Sent: Thursday, February 12, 2009 10:25 AM
> To: Flash Coders List
> Subject: RE: [Flashcoders] Advanced Rollover Physics/Math...
>
> 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 the mouseposition, and how
> much space there is inside his 'zone', etc. etc.
>
> pfoe
>
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com
> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Steve
> Mathews
> Sent: Thursday, 12 February 2009 16:50
> To: Flash Coders List
> Subject: Re: [Flashcoders] Advanced Rollover Physics/Math...
>
> 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 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
> > find it with google anymore.
> >
> > The following image explains the simple subject:
> > http://img209.imageshack.us/img209/7434/testuu7.gif
> >
> > The following image explains more what I want design-wise:
> > http://img165.imageshack.us/img165/5407/test2ec9.gif
> >
> > Somebody who can point me in the right direction?
> >
> > Can I do this with a physics-engine? Without gravity, but with the
> > awareness of the other elements?
> >
> > How would you do it?
> >
> > Thanks!
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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)
> 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 copy and paste this URL into a new browser
> window.
>
> * * *
>
> orkut is a community of friends and trusted acquaintances that connects
> individuals through a social network that grows person by person.
>
> With orkut, you can catch up with old friends, make new acquaintances
> through people you trust, and maybe even find that certain someone you've
> been looking for everywhere.
>
> orkut helps you organize and attend events, join communities that share
> your interests, and find partners to participate in the activities you most
> enjoy.
>
> * * *
>
> If you're already an orkut member, make sure that the email address at
> which you received this note is entered into your orkut profile.  That way,
> you'll automatically be connected to all of your friends.
>
> This invitation was sent on behalf of Omar Fouad (omarfouad@gmail.com
> ).
>
> You can block all orkut users from sending you email by visiting:
>
> http://www.orkut.com/Block.aspx
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Sander
Schuurman
Sent: Thursday, February 12, 2009 10:25 AM
To: Flash Coders List
Subject: RE: [Flashcoders] Advanced Rollover Physics/Math...

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 the mouseposition, and how
much space there is inside his 'zone', etc. etc.

pfoe

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Steve
Mathews
Sent: Thursday, 12 February 2009 16:50
To: Flash Coders List
Subject: Re: [Flashcoders] Advanced Rollover Physics/Math...

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 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
> find it with google anymore.
>
> The following image explains the simple subject:
> http://img209.imageshack.us/img209/7434/testuu7.gif
>
> The following image explains more what I want design-wise:
> http://img165.imageshack.us/img165/5407/test2ec9.gif
>
> Somebody who can point me in the right direction?
>
> Can I do this with a physics-engine? Without gravity, but with the
> awareness of the other elements?
>
> How would you do it?
>
> Thanks!
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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 copy and paste this URL into a new browser  
window.


* * *

orkut is a community of friends and trusted acquaintances that connects  
individuals through a social network that grows person by person.


With orkut, you can catch up with old friends, make new acquaintances  
through people you trust, and maybe even find that certain someone you've  
been looking for everywhere.


orkut helps you organize and attend events, join communities that share  
your interests, and find partners to participate in the activities you most  
enjoy.


* * *

If you're already an orkut member, make sure that the email address at  
which you received this note is entered into your orkut profile.  That way,  
you'll automatically be connected to all of your friends.


This invitation was sent on behalf of Omar Fouad (omarfouad@gmail.com).

You can block all orkut users from sending you email by visiting:

http://www.orkut.com/Block.aspx
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 the mouseposition, and how much space there is inside 
his 'zone', etc. etc.

pfoe

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Steve Mathews
Sent: Thursday, 12 February 2009 16:50
To: Flash Coders List
Subject: Re: [Flashcoders] Advanced Rollover Physics/Math...

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 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
> find it with google anymore.
>
> The following image explains the simple subject:
> http://img209.imageshack.us/img209/7434/testuu7.gif
>
> The following image explains more what I want design-wise:
> http://img165.imageshack.us/img165/5407/test2ec9.gif
>
> Somebody who can point me in the right direction?
>
> Can I do this with a physics-engine? Without gravity, but with the
> awareness of the other elements?
>
> How would you do it?
>
> Thanks!
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 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
> find it with google anymore.
>
> The following image explains the simple subject:
> http://img209.imageshack.us/img209/7434/testuu7.gif
>
> The following image explains more what I want design-wise:
> http://img165.imageshack.us/img165/5407/test2ec9.gif
>
> Somebody who can point me in the right direction?
>
> Can I do this with a physics-engine? Without gravity, but with the
> awareness of the other elements?
>
> How would you do it?
>
> Thanks!
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 weight to
the node the mouse is over, and subtract from the others.



HTH,
Mark



On Thu, Feb 12, 2009 at 2:03 PM, Sander Schuurman
 wrote:
> 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 
> find it with google anymore.
>
> The following image explains the simple subject:
> http://img209.imageshack.us/img209/7434/testuu7.gif
>
> The following image explains more what I want design-wise:
> http://img165.imageshack.us/img165/5407/test2ec9.gif
>
> Somebody who can point me in the right direction?
>
> Can I do this with a physics-engine? Without gravity, but with the awareness 
> of the other elements?
>
> How would you do it?
>
> Thanks!
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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 find 
it with google anymore.

The following image explains the simple subject:
http://img209.imageshack.us/img209/7434/testuu7.gif

The following image explains more what I want design-wise:
http://img165.imageshack.us/img165/5407/test2ec9.gif

Somebody who can point me in the right direction?

Can I do this with a physics-engine? Without gravity, but with the awareness of 
the other elements?

How would you do it?

Thanks!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders