On Sun, Mar 7, 2010 at 9:31 AM, plucka70 wrote:
> Im using a mx:HTML component in an AIR application.
>
> Its working fine, however. If I manually set the html content using
>
> htmlPage.htmlText = '....'
>
> The page renders, but it doesn't style it using the included CSS link

Where does the CSS link point to? If it is a relative link, you need
to make sure it resolves properly. You can either rewrite the link
target, or you can add a basehref tag to your HTML to make sure the
location gets resolved properly. I prefer the latter because then all
other content (images etc.) get loaded properly as well.

Jochem


-- 
Jochem van Dieten
http://jochem.vandieten.net/

Reply via email to