Re: [Flashcoders] Re: A funny little hover problem with CSS

2008-12-17 Thread Jon Bradley
Mostly on rounded rectangles and things with arcs. Kinda limited but the rounded rectangle is a unique case because 1-pixel rounded rects have always been a problem. Course, with the 0.5 rule, not so much (unless you're tweening). best, jon On Dec 17, 2008, at 4:41 PM, Ashim D'Silva wrote

Re: [Flashcoders] Re: A funny little hover problem with CSS

2008-12-17 Thread Ashim D'Silva
Now that is odd. Is 0.5 the general rule to follow or is it simply different for every object you put down? 2008/12/18 Jon Bradley > > On Dec 16, 2008, at 10:49 PM, Ashim D'Silva wrote: > > I always round everything I place. That was one of the first things I >> checked. Rotated bitmaps and tex

Re: [Flashcoders] Re: A funny little hover problem with CSS

2008-12-17 Thread Jon Bradley
On Dec 16, 2008, at 10:49 PM, Ashim D'Silva wrote: I always round everything I place. That was one of the first things I checked. Rotated bitmaps and text often have this problem, which is fair enough because half pixels don't exist. Actually, they do. The native coordinate space for Flash

Re: [Flashcoders] Re: A funny little hover problem with CSS

2008-12-16 Thread Ashim D'Silva
I always round everything I place. That was one of the first things I checked. Rotated bitmaps and text often have this problem, which is fair enough because half pixels don't exist. Cheers though. 2008/12/17 Taka Kojima > p.s. make sure all of the textfield's parents also have their x,y values

Re: [Flashcoders] Re: A funny little hover problem with CSS

2008-12-16 Thread Taka Kojima
p.s. make sure all of the textfield's parents also have their x,y values as whole pixels. -Taka On Tue, Dec 16, 2008 at 4:18 PM, Taka Kojima wrote: > I think I know the solution > > It's quite a different approach... but a lot of times text has shifting > problems on hovers and whatnot when

Re: [Flashcoders] Re: A funny little hover problem with CSS

2008-12-16 Thread Taka Kojima
I think I know the solution It's quite a different approach... but a lot of times text has shifting problems on hovers and whatnot when their x,y's are not set at exact pixels. Maybe try changing the positioning on the stage so that the elements use an exact x,y value, or do a Math.round() if

Re: [Flashcoders] Re: A funny little hover problem with CSS

2008-12-16 Thread Ashim D'Silva
Wow. Thanks. I wouldn't have thought rotating a text field would make it better. Whenever I need to rotate text I usually render it to a bitmap and rotate that. Help is much appreciated. Ashim 2008/12/17 Jon Bradley > > On Dec 14, 2008, at 8:04 PM, Ashim D'Silva wrote: > > Right. I recreated e

Re: [Flashcoders] Re: A funny little hover problem with CSS

2008-12-16 Thread Jon Bradley
On Dec 14, 2008, at 8:04 PM, Ashim D'Silva wrote: Right. I recreated everything slowly in a new file, introducing things one by one and here's the culprit - Advanced Anti-Aliasing.Now I really would like to use advanced, because text looks dramatically better, but there has to be a soluti

Re: [Flashcoders] Re: A funny little hover problem with CSS

2008-12-15 Thread David Hershberger
We had a similar issue triggered by scaling. When we rescaled objects with Advanced Anti-Aliasing text, they wouldn't recompute their size properly and would truncate themselves with "..." at the end at some scales but not at others. We ended up just turning it off. It's true that it looks bette

[Flashcoders] Re: A funny little hover problem with CSS

2008-12-14 Thread Ashim D'Silva
Right. I recreated everything slowly in a new file, introducing things one by one and here's the culprit - Advanced Anti-Aliasing.Now I really would like to use advanced, because text looks dramatically better, but there has to be a solution, doesn't there? 2008/12/15 Ashim D'Silva > Hi all, > I