Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Carl... Your text! 2

Status
Not open for further replies.

oldnewbie

Technical User
Dec 6, 2000
9,142
CA
Now the bold tags are the problem.
The bold outlines of the font are not embedded.

Add an other empty textfield off-stage, using the same font (embedding set!) but with the Bold tab selected.
It will then work in your on-stage textfield.

You'd have to do the same thing if you wanted to use italics. Another off-satge textfield!

By the way, you should also set your textfield on an exact pixel value coordinate, e.g. 123.0 and not 123.1. Your text could blur, if you don't.

Regards,

cubalibre2.gif
 
you would not need to embed a bold font for my_text.htmlText = &quot;<b>Hello World!</b>&quot;; right?

[conehead]
 
The only way around that is to use a device font, none of which is embedded, or use a standard font and don't embed it either hoping that your user has the font installed.

Otherwise the font and the variations you want to use must be embedded.
 
ahhh... I guess embedding no matter what is the safest route...

[conehead]
 
Well that didn't work ol because the damn text won't scroll now using

onClipEvent(load) {
var speed = 1;
}
onClipEvent(enterFrame) {
if (scrollD == &quot;up&quot;) {
_parent.txt.scroll -= speed;
} else if (scrollD == &quot;down&quot;) {
_parent.txt.scroll += speed;
}
}

with two text fields with the same variable name.

I never had these problems before loading text and formatting it. But for some reason it's just not working. Even if I ad the second text field with teh bold font outline embed it still does now work!

---------------------------------------------
 
You mean the text formating now works but not your scroll?

Can you post or e-mail me the current .fla?

And what else are you not saying?
Like a will this movie then be loaded up in yet another movie, or things of that sort?

Regards,

cubalibre2.gif
 
?????????????????????
Post your .fla!
Out to pick up leaves before the snow hits the fan up here!

Catch you later!

Regards,

cubalibre2.gif
 
var speed=.5

...that way it'll take two frames before it updates the scroll position. Might look a bit on the jerky side though. Play around with the value until you get the speed you need (framerates of 60+ need speeds like .1).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top