Re: [Flashcoders] Dancing characters...

2009-07-23 Thread Ashim D'Silva
I'd say the width value you're using isn't so dependable because of
the way text scales. If you turn autoSize off it may help.
Failing that, I'd render each piece to a bitmapData and use a bitmap.
They work better for scaling and rotation, although scaling up is
ofcourse a bad idea, so render your largest size and then scale down.

Ash

The Random Lines
My online portfolio
www.therandomlines.com



2009/7/22 Sander Schuurman b...@chello.nl:
 Hi list...

 I'm trying to make some kind of Dock...

 http://www.sentoplene.com/dock

 But sometimes when I stop with the mouse, some characters keep on moving
 slightly... How can I get rid of that?

 I'm simply doing on Event .ENTER_FRAME: scaleIcons and then positionIcons.
 I'v tried to trigger the 2 functions only on MouseMove, but the
 responsiveness isn't accurate when you suddenly stop your mouse...

 So anyone any idea with this?

 thnx!

 Sander Schuurman
 sentoplene.com
 ___
 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] Dancing characters...

2009-07-22 Thread Sander Schuurman

Hi list...

I'm trying to make some kind of Dock...

http://www.sentoplene.com/dock

But sometimes when I stop with the mouse, some characters keep on  
moving slightly... How can I get rid of that?


I'm simply doing on Event .ENTER_FRAME: scaleIcons and then  
positionIcons.
I'v tried to trigger the 2 functions only on MouseMove, but the  
responsiveness isn't accurate when you suddenly stop your mouse...


So anyone any idea with this?

thnx!

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


RE: [Flashcoders] Dancing characters...

2009-07-22 Thread Cor
That's because of your ENTER_FRAME I guess.

Use MOUSE_OVER and MOUSE_OUT instead

Look here and mouse over the bottom menu:
http://www.badmintonclubnetwerk.nl/_Cor/TYG/


Regards

Cor van Dooren
The Netherlands

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Sander
Schuurman
Sent: woensdag 22 juli 2009 17:31
To: Flash Coders List
Subject: [Flashcoders] Dancing characters...

Hi list...

I'm trying to make some kind of Dock...

http://www.sentoplene.com/dock

But sometimes when I stop with the mouse, some characters keep on  
moving slightly... How can I get rid of that?

I'm simply doing on Event .ENTER_FRAME: scaleIcons and then  
positionIcons.
I'v tried to trigger the 2 functions only on MouseMove, but the  
responsiveness isn't accurate when you suddenly stop your mouse...

So anyone any idea with this?

thnx!

Sander Schuurman
sentoplene.com
___
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] Dancing characters...

2009-07-22 Thread Ruy Adorno

Hello Sander,

Nice to see you around here, I saw in twitter you're starting your own 
dock effect this morning.
It's hard to know the reason for this strange behavior of the elements 
without see the code, but I have a guess that could be some problems 
with float numbers, I already have similar problems caused by this.
You can try to round the elements positions at each enterFrame call, try 
using int() and Math.floor().


Best,

Ruy Adorno
http://www.ruyadorno.com


Sander Schuurman wrote:

Hi list...

I'm trying to make some kind of Dock...

http://www.sentoplene.com/dock

But sometimes when I stop with the mouse, some characters keep on 
moving slightly... How can I get rid of that?


I'm simply doing on Event .ENTER_FRAME: scaleIcons and then 
positionIcons.
I'v tried to trigger the 2 functions only on MouseMove, but the 
responsiveness isn't accurate when you suddenly stop your mouse...


So anyone any idea with this?

thnx!

Sander Schuurman
sentoplene.com
___
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] Dancing characters...

2009-07-22 Thread Eric E. Dolecki
try rounded values?

On Wed, Jul 22, 2009 at 11:31 AM, Sander Schuurman b...@chello.nl wrote:

 Hi list...

 I'm trying to make some kind of Dock...

 http://www.sentoplene.com/dock

 But sometimes when I stop with the mouse, some characters keep on moving
 slightly... How can I get rid of that?

 I'm simply doing on Event .ENTER_FRAME: scaleIcons and then positionIcons.
 I'v tried to trigger the 2 functions only on MouseMove, but the
 responsiveness isn't accurate when you suddenly stop your mouse...

 So anyone any idea with this?

 thnx!

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




-- 
http://ericd.net
Interactive design and development
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Dancing characters...

2009-07-22 Thread Ian Thomas
Also - have you got those text fields set to anti-alias for
animation? If not, you should - anti-alias for readability can
cause odd effects for moving text.

HTH,
   Ian

On Wed, Jul 22, 2009 at 4:44 PM, Ruy Adornor...@lesite.ca wrote:
 Hello Sander,

 Nice to see you around here, I saw in twitter you're starting your own dock
 effect this morning.
 It's hard to know the reason for this strange behavior of the elements
 without see the code, but I have a guess that could be some problems with
 float numbers, I already have similar problems caused by this.
 You can try to round the elements positions at each enterFrame call, try
 using int() and Math.floor().

 Best,

 Ruy Adorno
 http://www.ruyadorno.com


 Sander Schuurman wrote:

 Hi list...

 I'm trying to make some kind of Dock...

 http://www.sentoplene.com/dock

 But sometimes when I stop with the mouse, some characters keep on moving
 slightly... How can I get rid of that?

 I'm simply doing on Event .ENTER_FRAME: scaleIcons and then positionIcons.
 I'v tried to trigger the 2 functions only on MouseMove, but the
 responsiveness isn't accurate when you suddenly stop your mouse...

 So anyone any idea with this?

 thnx!

 Sander Schuurman
 sentoplene.com
 ___
 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