[Flashcoders] rectangle (not square) based mousefollower?

2008-02-18 Thread Allandt Bik-Elliott (Receptacle)
hey guys - i have a question that i really hope someone can answer i have a flash banner that i'm working on that is 300px wide x 250px deep i have done a mouse follower that tracks the where the mouse is and then chooses a frame of animation to show so that the people are always

Re: [Flashcoders] rectangle (not square) based mousefollower?

2008-02-18 Thread Adrian Park
quotehowever, because the actual shape is a rectangle, i think there's an issue /quote What exactly is the issue you're seeing? I think you may be over-complicating it. If the angles that your people look are in 45 degree increments then that's how your angles should be calculated - i.e. using

Re: [Flashcoders] rectangle (not square) based mousefollower?

2008-02-18 Thread Allandt Bik-Elliott (Receptacle)
the actual shape of the banner is rectangular so the angles shouldn't actually be increments of 45 degrees like they were (see SOLVED) thanks for the input tho On 18 Feb 2008, at 13:46, Adrian Park wrote: quotehowever, because the actual shape is a rectangle, i think there's an issue