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

2008-12-15 Thread Ashim D'Silva
Thanks guys,
Still having trouble though. I have scaled anything, and I tried all those
combinations of resetting the style sheet each time.
I'm pretty close to giving up and sticking with normal anti-aliasing.

Flash's support for HTML and CSS has always been a bit iffy though. It's
just useful for CMS control.

Cheers,

Ashim

2008/12/16 Matt S. 

> I seem to remember solving this problem once by changing where the
> stylesheet gets set, but I cant remember the order. I would try a few
> options, like:
>
> txt.htmlText = xmlTXT;
> CreateStyleSheet();
>
> or
>
> CreateStyleSheet();
> txt.htmlText = xmlTXT;
>
> or even ( I know it looks stupid)
>
> CreateStyleSheet();
> txt.htmlText = xmlTXT;
> CreateStyleSheet();
>
> kinda kludgy, but if it works...
>
> .m
>
> On Sun, Dec 14, 2008 at 7:33 PM, Ashim D'Silva 
> wrote:
> > Hi all,
> > I'm having a really odd problem, that I haven't been able to find
> anything
> > about. I have a multiline, word wrapped TextField that uses CSS (built as
> > objects), with content coming from HTML in an XML file.
> > It all works fine, but for some reason, when I hover over a link (whether
> I
> > have CSS for hover or not) it moves a pixel or two. Sometimes only the
> first
> > time, sometimes all the time.
> > If I have a a:hover in the CSS it definitely moves every time.
> >
> > Has anyone encountered this, got a solution or have any idea why this
> would
> > happen?
> >
> > Thanks,
> >
> > Ashim
> >
> > --
> > The Random Lines
> > My online portfolio
> > www.therandomlines.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
>



-- 
The Random Lines
My online portfolio
www.therandomlines.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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

2008-12-15 Thread Matt S.
I seem to remember solving this problem once by changing where the
stylesheet gets set, but I cant remember the order. I would try a few
options, like:

txt.htmlText = xmlTXT;  
CreateStyleSheet();

or

CreateStyleSheet();
txt.htmlText = xmlTXT;  

or even ( I know it looks stupid)

CreateStyleSheet();
txt.htmlText = xmlTXT;  
CreateStyleSheet();

kinda kludgy, but if it works...

.m

On Sun, Dec 14, 2008 at 7:33 PM, Ashim D'Silva  wrote:
> Hi all,
> I'm having a really odd problem, that I haven't been able to find anything
> about. I have a multiline, word wrapped TextField that uses CSS (built as
> objects), with content coming from HTML in an XML file.
> It all works fine, but for some reason, when I hover over a link (whether I
> have CSS for hover or not) it moves a pixel or two. Sometimes only the first
> time, sometimes all the time.
> If I have a a:hover in the CSS it definitely moves every time.
>
> Has anyone encountered this, got a solution or have any idea why this would
> happen?
>
> Thanks,
>
> Ashim
>
> --
> The Random Lines
> My online portfolio
> www.therandomlines.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] A funny little hover problem with CSS

2008-12-14 Thread Ashim D'Silva
Hi all,
I'm having a really odd problem, that I haven't been able to find anything
about. I have a multiline, word wrapped TextField that uses CSS (built as
objects), with content coming from HTML in an XML file.
It all works fine, but for some reason, when I hover over a link (whether I
have CSS for hover or not) it moves a pixel or two. Sometimes only the first
time, sometimes all the time.
If I have a a:hover in the CSS it definitely moves every time.

Has anyone encountered this, got a solution or have any idea why this would
happen?

Thanks,

Ashim

-- 
The Random Lines
My online portfolio
www.therandomlines.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders