To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Flash Help > Flash 8

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 10-20-2005, 01:27 PM   #1
Branden
Member
 
Join Date: Nov 2000
Posts: 90
Importing HTML...what the heck????

Have any of you noticed how differently Flash 8 deals with imported html formatted text??

Holy white space batman!!!!

You can't seem to have a single carriage return or anything else like it without huge white-space issues...

And if you embed fonts, forget your style sheet working either...

You're stuck with crappy aliased fonts which kind of defeats the purpose of the new font features in 8...

rrrr My flash MX 2004 file looks just fine and is actually basically WYSIWYG from Dreamweaver etc... but try and import the same file using the exact same code (or any other code i've tried so far) with Flash 8, and you have huge whitespace issues...

Only way I have found to clean it up is to make sure there are NO carriage returns in the code at all... or in the "design view" ...

What a pain in the a$$

I use html text because it's so much easier to update at the last minute, but now I have to do so much to it that it looks like absolute crap to work with.

Is there another way of importing html formatted text that I'm missing??

Last edited by Branden; 10-20-2005 at 01:40 PM.
Branden is offline   Reply With Quote
Old 10-20-2005, 03:02 PM   #2
rdoyle720
Senior Member
 
Join Date: Apr 2002
Posts: 2,556
Did you try condenseWhite?

textField.condenseWhite=true;

I also believe you can use stylesheets with embedded fonts. What styles are you trying to apply that aren't working?
rdoyle720 is offline   Reply With Quote
Old 10-20-2005, 03:39 PM   #3
Branden
Member
 
Join Date: Nov 2000
Posts: 90
Ahhh condenseWhite...

I was using (and I knew it was wrong) ignoreWhite

Thanks, that fixes the issues of the white space, I'll take a look at my css file and look to see what it might be doing to cause problems.

I think it might be calling for a different font family, and that's why it won't show up when I embed...

I'll let ya know.
Branden is offline   Reply With Quote
Old 10-20-2005, 03:42 PM   #4
PAlexC
Retired SCORM Guru
 
PAlexC's Avatar
 
Join Date: Nov 2000
Location: NJ
Posts: 1,387
ignoreWhite is an XMLNode Object property, that's why you were using it.
__________________
"What really bugs me is that my mom had the audacity to call Flash Kit a bunch of 'inept jack-asses'." - sk8Krog
...and now I have tape all over my face.
PAlexC is offline   Reply With Quote
Old 10-20-2005, 03:53 PM   #5
Branden
Member
 
Join Date: Nov 2000
Posts: 90
OK here we go...with the style stuff...

It seems that when you use html tags (like an <a>, <b>, <font> etc) they get completely ignored when you embed your fonts...

Same also is true if you use CSS styles...they get completely ignored. Turn the embed fonts off, and everything is fine...just no nice anti-aliasing!!

Any thoughts??
Branden is offline   Reply With Quote
Old 10-20-2005, 04:45 PM   #6
rdoyle720
Senior Member
 
Join Date: Apr 2002
Posts: 2,556
Well, bold tags won't work unless you embed a bold version of the font as well (just put a textfield off screen and embed the bold characters). A tags should work, but won't show up blue or anything (unless you use CSS to specify that).

I'm able to get some CSS styles to work with embedded fonts for instance, I can change the color and hover color of text links, but I'm having problems with things like bold CSS, etc.
rdoyle720 is offline   Reply With Quote
Old 10-20-2005, 04:50 PM   #7
Branden
Member
 
Join Date: Nov 2000
Posts: 90
Yep!!! you got it...

just made an extra text file with the bold fonts embedded, and that does fix everything... guess you just have to be carefull about what you use in your css...

Or just create a few extra empty text fields...

Wicked...this makes me much, much happier..

Gotta love this site!!!!!!

Thanks guys
Branden is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Flash Help > Flash 8

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:57 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.