Click to See Complete Forum and Search --> : controlling TAB and using fonts
OwenAus
11-28-2002, 01:19 AM
Has anyone got a decent strategy for controlling the TAB key? Specifically preventing it from hopping around unwanted areas?
And ..
Can someone confirm that if a font is used with dynamic text, the entire font is available to the user (ie, packed into the swf).
Thanks.
{These boards have become too quiet -where have you all gone and why wasn't I invited). :D
bridelh
11-28-2002, 05:24 AM
Originally posted by OwenAus
Has anyone got a decent strategy for controlling the TAB key? Specifically preventing it from hopping around unwanted areas?
And ..
Can someone confirm that if a font is used with dynamic text, the entire font is available to the user (ie, packed into the swf).
Thanks.
{These boards have become too quiet -where have you all gone and why wasn't I invited). :D
I am not sure if the Selection Object is implemented in KM which is what you would use to script the TAB. It certainly works in the 3.6 Beta as well as the new MX MovieClip focus stuff.
As for embeded fonts in dynamic text, this has been a wish of mine for some time, and in answer to your question - No - the font is not embeded in dynamic text. This means that you cannot do things like scripting animation/tweening with dynamic text fields - a real bummer!
Did you not get the invite for the party at Bob's place? - Hic Hic...
Hilary
--
Bob Hartzell
11-28-2002, 08:20 AM
Can someone confirm that if a font is used with dynamic text, the entire font is available to the user (ie, packed into the swf).
-> Embedded fonts add about 36KB to the file size. I can do it but it did not seem very desireable.
bridelh
11-28-2002, 08:27 AM
It would be good as an option so you can decide if you want to embed or not.
Flash allows you to embed either the full font, just letters, just numbers or just the characters contained within the text field...
Hilary
--
necromanthus
11-28-2002, 10:42 AM
Bob has something to fix regarding Dynamic-Text (selectable or not).
In Flash MX,when you use a font,the "font bitmap" is exported in the SWF and can be used by Static or Dynamic texts both.
OwenAus
11-28-2002, 06:04 PM
lol.
Party, eh ..?
So we can't rely on the font we define when we create the text box? If the user has the font, good, otherwise it uses something that looks like Times New Roman?
If so, say a dynamic text box is initially filled with everything possible (all the keys, A-Z, 0-9, special characters, etc) - will those glyphs be stored, and when dynamic content is loaded into the box, will they be used?
Am I making sense?
necromanthus
11-28-2002, 06:43 PM
Owen ...
What kind of font do you need for dynamic-text ?
OwenAus
11-28-2002, 07:36 PM
Heya, Necromanthus!
Various fonts.
I am setting up a full flash app, using KM.
Many of the pages/movies deliver dynamic content, eg, posts on forum boards, and titles, etc, for those posts. In fact, a large amount of the textual information on the pages is dynamic, as the app requires it.
On my system these pages have a certain look based on my fonts, eg, verdana, comic sans ms, cartoonists hand, etc.
But on a user system this (hopefully pleasant) look/feel might not be the case if the .swf does not carry the font and the user does not have the font. Also font sizes that work with, say, verdana, look tacky with Times, etc.
I was hoping to force my choice of fonts on my visitors. :)
If I cannot force the font I will have to do the HTML thing and run with a safer approach. :(
necromanthus
11-28-2002, 07:51 PM
At this time,for KoolMoves the fonts for dynamic-texts are NOT exported into the SWF file.
This is another "homework" for BOB ...:D
OwenAus
11-28-2002, 08:03 PM
If I give the text box an initial content of, say:
ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz0123456789+-*/[]{}()&^%$#@!,.;:<>?'"
will the glyphs be inserted. And will they be referenced when other text replaces the initial text.
Does flash look to see if the user has a requested font?
Or is there a way to use a stylesheet approach to dynamic text, with things like:
{ font-family:verdana,arial,helvetica,sans-serif; }
etc.
Thanks. :)
flashkit.com
Copyright WebMediaBrands Inc., All Rights Reserved.