Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Best Font Size? & Page Size?



Are there any pro's out there that have made loads of quality sites who can answere these questions for me?

OK, what is the perfect font size for a website which scales to the users screen resolution (full screen). I want the font to be clear and readable at all resolution sizes.

If you have images in a scaleable website, will they distort in appearance/quality depending on the users resolution or will they always be clear? and should they be created to be 100% at the top end of the resolution size or at the lower end?

Also what is the best size to have your .fla if you want to have a scaleable movie? 750x550??

Hope this makes sense?

Thanks.



FlashKit > Flash Help > Flash MX
Posted on: 10-02-2003, 10:37 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Trying To Offer Users Chance To Change Font Size In Page
Hi

I'm looking to offer users the opportunity to chosse the font size of text presented in a dynamic textbox (imported from an external text file). Maybe open a small window with a series of font sizes (12, 16, 18) and when a choice is made, click 'OK' and the font gets bigger or smaller.

Has anyone any ideas regarding this. Maybe you've heard of something like this?

Or is this even possible possible?

Thanks for your thoughts, comments, suggestions.

Changing Size Of Swf According To The Size Of Html Page
hi experts
I want to change size of my swf according to the size of html page in which it opens
such that if page size is 1024 by 768 then swf should scale to that size
if its 700 by 500 also sw should change its size is this possible
i want this so that my animation start fro m edge to edge of page

i basically dont know how to do this has been trying various options for last week no luck
there is 100% option for swf which scales swf size to 100% of page but it does not give edge toedge of page

can anybody help

Page Size - Stage Size
Hi
I'm just about to embark on a Flash site
I've researched how to make the Flash full size in the browser with Javascript
but I'm still unsure about the actual Flash stage size - does this mean that the stage size gets zoomed up to the users browser size - is resolution lost?
550 x 450 seems small these days? is it?
Any suggestions greatly appreciated
it's for a photography site so nice big images are paramount

thank you flash kitters
~sugarhorns~

Formatinh Text Area(font Size, Font Color)
How to change a color and the size of the font in textarea?

Combo Box For Font Size And Font Style
Hi all

I'm creating a text formatting toolbar. So far I've create most of the buttons including bold, italic and so on.
I've attempted to create two combo box to hold the font sizes and font syles but when one works another one it doens't .

I think the problem is with _root.onEnterFrame(); but i've no idea how to solve the problem. Even though this code doesn't do exactly one I want. Because it applies the change to the entire text area instead for the selected one.
My code is bellow


Code:
this.attachMovie("ComboBox","fontStyle_cmb",this.getNextHighestDepth(),{_x:356, _y:4});
this.attachMovie("ComboBox","fontSize_cmb",this.getNextHighestDepth(),{_x:457, _y:4});

fillFontSyle();
fillFontSize()

function fillFontSyle(){
fontStyle_cmb.setDataProvider(TextField.getFontList().sort());
fontStyle_cmb.setSelectedIndex(0);
}

function fillFontSize(){
fontSizes=[5,10,12,25,46];
for (i = 0; i < fontSizes.length; i++)
fontSize_cmb.addItem(fontSizes[i]);
fontSize_cmb.setSize(40);
}

tf = new TextFormat();
_root.onEnterFrame = function() {
fontStyle_cmb.onKillFocus = function() {
selecting = false;
};
fontStyle_cmb.onSetFocus = function() {
selecting = true;
};
if (selecting) {
_root.fontLable.text = fontStyle_cmb.getValue();
tf.font = fontStyle_cmb.getValue();
textArea.sampleTextBox.setTextFormat(tf);
} else {
fontStyle_cmb.setValue(_root.fontLable.text);
}
textArea.sampleTextBox.setNewTextFormat(tf);
};

ts= new TextFormat();

_root.onEnterFrame=function() {
fontSize_cmb.onKillFocus = function() {
selecting = false;
};
fontSize_cmb.onSetFocus = function() {
selecting = true;
};
if (selecting) {
ts.size = fontSize_cmb.getValue();
textArea.sampleTextBox.setTextFormat(ts);
}
textArea.sampleTextBox.setNewTextFormat(ts);
};




I got this code from book if there is another way to do it that woul'd be great. Since this looks a bit tedious.

Thanx

Embed Font Symbols And Font Size
Hi all, i've been playing around with embedding fonts and have a query.

It is very important to tick the correct bold and italic boxes for your font in the library, but does the size field make any difference?

I couldn't for instance see any difference between arial 24 embeded as arial 12 and arial 12 embeded as arial 24. Does anyone have an reason to think the library text size is important?

Thanks,

James

How Do Specify Font Size And Font Style Through AS3
Hello this code works fine... but i just cant adjust the font and the font size i tried :

external_txt.fontSize = 26;
external_txt.fontStyle = verdana;

it doent work... any ideas? heres the whole code


var external_txt:TextField = new TextField();
var externalReq:URLRequest = new URLRequest("file1.txt")
var externalLoad:URLLoader = new URLLoader();

externalLoad.load(externalReq)

externalLoad.addEventListener(Event.COMPLETE, textReady);

external_txt.x = 100;
external_txt.y = 600;
external_txt.border = true;
external_txt.width = 50;
external_txt.height = 20;


addChild(external_txt);

function textReady(event:Event):void
{
external_txt.text = event.target.data;
}

Detecting Font And Font Size
I need to detect a font and font size for a dynamic text field.
My text field is called ElmText1

I thought this should work but it doesn't

ElmText1.size
ElmText1.font

I know I could find it out by first setting the font and size using the TextFormat (object) but want to avoid having to set the font this way.

All I want to do is detect it, not set it.

Anyone know how to do this?

Thanks

Font Size
greetings

i have a dynamic text box which gets its contents from actionscript.

what i need to do is assign a size for the font i.e

mytext.htmltext.size = 16

is that possible?

regards

spider

Font Size Changes
As apparently many have noticed - font sizes can change when they are not imbeded - but does anyone know how much?

Can they grow or shrink more than 1 font size if one uses standard fonts?
/z

Which Size Or Font?
Hi, can anyone suggest a font to use as dynamic?
from what i have read, if i use a font some else doesnt have installed on their pc, then they will see it differently. so what are the default fonts, or a font most viewers are likely to have? tahoma?
thanks!!

Font,size
i have script to make a text box i can type, how do i set the font and font size of the text inside?

createTextField("Met1", 1, 80, 2,440, 20);
Met1.type = "input";

Font Size
I am having an issue with font sizes.
In the file I am creating I have the size set to 15pt Verdana.
All the settings for the text boxes are the same and it is static text.

The issue:
The text in one box appears so small it can't be read.
The other box the text is rather large.
The text appears different through out the file.

The properties are:
Static
Verdana
15pt
white
Anti-Alias for animation
Auto-Kern is on

Font Size
How can i change the size of a font in a dynamic text box, it only needs to be smaller for one input, like a size 10 or 12 pt font.
thanks

Font Size Bug
I mod'd the scrollbar tutorial that I found at Kirupa.com to scroll some text fields I have.

Basically I have a movie clip, into which I add textfields at runtime. The problem is that when I have just 2 textfields, they expand to occupy the about 50% of the total size of the movie clip (ie about 25% each), and the font size becomes huge. When I have 20 textfields they're all squished into tiny spaces, and the font sizes reduces.

This is inspite of declaring the text fields like so, and setting their text formats to the same format:

<declaration codes....>
var text_fmt:TextFormat = new TextFormat();
text_fmt.font = "Arial";
text_fmt.size = 8;
for (i = 1; i <= total_photos ; i++) //total_photos is read from a file
{
//create text boxes
s = "p" + i;
var sTime = eval("myEvents.time" + i)
_level0.mc.createTextField(s, 20 + i, 10, 20 * (i-1) + 15, 150, 20);
_level0.mc[s].setNewTextFormat(text_fmt);
_level0.mc[s].multiline = false;
_level0.mc[s].embedFonts = false;
_level0.mc[s].antiAliasType = "normal";
_level0.mc[s].textColor = 0x7D7171;
_level0.mc[s].text = eval("myEvents.caption" + i);
if ((i & 1) == 0){
_level0.mc[s].background = true;
_level0.mc[s].backgroundColor = 0xffffff;
}
else{
_level0.mc[s].background = false;
}
_level0.mc._height = total_photos * 25;

}

I'm a relative newbie to Flash, so any help would be much appreciated.

TIA
pram

Font Size
Okay

I came up with this groovy idea of getting the name of the person when they hit the submit button.

www.ksuccf.org

click on Join us

but somehow the letters are very tiny. here is the code

this.correct.Msg.autoSize = "center";
this.correct.Msg.text = "Thanks for joining " + gatherForm.visitor_name + ".
We look forward having you as a member!"; would like to have it bigger(readable), Bitstream Vera Serif and in bold letters. Thanks!


Oh yeah ignore my bad spelling "dose" And i don't have a functional form yet.

Font Size To Fit Box
is there a way to make the font size fit the text box? so what ever text is in the text box teh font size is updated to the largest font size possibel to fit the text in?

Size Of Font In Textbox ?
I have a total of 3 textboxes in which the user can type info. into. On the third one it is for them to type in a message. I have set the font to be arial 13 pt. and set it to multiline. When i set the textbox to be about 65 height and test it the font appears to be much bigger than 13 pt. How do I keep the textbox that size and still have it be arial 13 pt. when displayed and have it still wrap after each line is typed?


Also, i have a textbox that is displaying a file, but the my textbox is getting cutting off the file at the bottom by about a 1/4. When I simply try to adjust it (make it longer or smaller) that does not fix it. Please help.

Also, do I just type in
or

for line breaks directly in my file? When I do this it appears to be displaying the actual
and

as text, and the line breaks are not in the right place?

thanks for your help

Is There A Way To Change Font Size In AS?
i have a movieclip that contains a word.

when i click on some button i want that same word to be bolded and 12 point font instead of 10 point non bolded. is there a way to change font attributes through Actionscript? i looked through the actionscript reference and was surprised cuz i couldn't find anything on changing font attributes.

thanks,

~jimmy.

Change Font Size
hi

i have a layer with two keyframes where text is displayes. in the first keyframe the font size is smaller than in the second. now i want to have a smooth change of the font size (i want to make the text get bigger). i applied a motion tweening but the text size only changes when the last frame is displayed. how can i get a smooth change of the text size?

thx very much

Font Size And Flicker
How do you display a font at such small pt size. I've seen afew sites with this font what is it? or a similar.

Bottom left the word help.
http://www.2much.ch/

Also another effect is the flicker on the menu. How do you make it flicker like that. Do you miss every other frame and loop the MC? Do you have to use brightness too?

Thanks.

Font Size In Combo Box
Hey all,

Is it possible to set the font size and color scheme in a combo box?

I swear i saw a script somewhere that you can change the hex values and size of text, i am not sure though?

Anyone have any idea how to do this?

Thanks..


Indy

Font Colour And Size
Hi guys!

How do I change the font color and size of a date/time script that is within a kinda text box?

Thanks

Dynamic Font Size
greetings

i have an email link which is in a dynamic text box. the problem is when i run the application the size of the link is some small it is impossible to read.

i have increased the font size in flash no change and set my size to 7 for the HTML, which makes it slightly bigger but not by much

spider

MX2004 Help Font Size
Hi-
My copy of MX2004 has decided to reduce the font size in the help panel to about 6pnt.

As my monitor is at 1152x864 this makes it pretty hard to read!

I cant find any preferences settings to change it back... how do I do it?

Flash Help Font Size
maybe a bit of a strange question but..

my friend is using a japanese version of flash mx.. but the font in the help files is incredibly small.. the menus are ok but the explanation verge on unreadable.. anyone know how to increase the size??

Thanks

Finding Font Size.
Hi,

I have a dynamic input textfield. I've added a few tools so he user can change font size and colour. All works fine.

But i'm trying to work out some code to determine the font size of this dynamic textfield. I need this for another tool but I cant work it out.

Any ideas?

Thanks,

Steven.

Html Font Size
Hi,

I'm using a texeditor component wich uses the HTML tag SIZE=n for fontsizes. The problem here is that the sizes in flash (correct) and html (much, much to big) are different.

Is there a way to use pixelfont sizes in html without defining style formats?

thx
P

Font Size Problem In Mac I.E. 5
Hi there,

I have inherited a site that uses a movie clip to load external text files. The font of this text renders correctly in all tested browsers except I.E. 5 on Mac platform--here it renders very small(unreadable) by comparison.

Is this a common problem?

The original developer of this site used two methods I am not-so familiar with:

1. The 'Twice-Cooked Method' (no embed tag-only object tag)for embedding Flash which is broken-down here...
http://www.alistapart.com/articles/flashsatay

2. The CSS for the text box has a font-size of 100%, not pixels, in the interest of allowing access for PDA's and hand-held devices, i believe.

Any ideas or suggestions will be much appreciated...and i would also be happy to include any links or snippets of code that might be helpful.

thanks,

maltlikka

Font Size Problem
I made a scroller using the mx component. I set the font to Arial/11 but when I view the final swf, the font is larger than what was set. I am trying to figure out why?

Thanks

Max Font Size For Flash?
Hi,

is there a max font size to be used in Flash? Cuz I have a dynamic text field which requires a big font size. That dynamic field gets it's value through a input text field with an on(release) action (from a button). I set the text format to the same as the dynamic field's in the on(release) action. As such:


Code:
var format2_fmt:TextFormat = new TextFormat();
format2_fmt.font = "Arial Black";
format2_fmt.size = 124;
format2_fmt.color = 0x99FF00;

//check to see if it's a number
if (this._parent.point_3.text == Math.round(this._parent.point_3.text)){

_root.point_3 = this._parent.point_3.text;
this._parent._parent._parent.Player3.setTextFormat(format2_fmt);
}


the problem is that I've noticed if I use a font size bigger than 124, the sizes dont seem to be the same as they are set. Is there a limitation in flash for this? Thanks,

Duarte

Font Size Variable
option 1:
========
I am using Flash CS3 and have built a php form with 2 text fields that write to a txt file that my swf reads from (works perfect). Now I want the user to be able to specify the font size from that form for both text fields. Bascially how do I turn the fontsize into a variable the swf gets from the txt file?

option 2:
========
Have flash dynamically resize the fields per the amount of text. If the user types 30 characters the font would be 18 but if the user types 60 characters the font would be 10 or whatever but resizes the font to fit the text within that dynamic text box.

Thanks in advance.
Dax

Font Size And Color
Dear friends,

I need to create a panel in my application through which I can change the color and size of the fonts inside the movie.

Help me if anyone knows how to create this

How To Set Font Size For A Tickertape
I used other forumer code to make a ticker tape. however i dont know how to set the font size. Very appreciate if u guyz can help me. thanks

Below is the code. i have no idea how to modify. thanks

Quote:




System.useCodepage = true;
/// Unique ID to avoid caching
var my_date = new Date();
var millisec = my_date.getMilliseconds();
var sec = my_date.getSeconds();
var unique = millisec * sec;

// TickerTape class
TickerTape.prototype = new MovieClip();
function TickerTape() {
this._visible = false;
this.messageTf.autoSize = true;
this.watch("currentMessage", this.messageCB);
this._x = this.startx;
this._y = this.starty;
}
TickerTape.prototype.currentMessage = null;
TickerTape.prototype.speed = 1.5;
TickerTape.prototype.startx = 0;
TickerTape.prototype.starty = 0;
TickerTape.prototype.endx = 0;
TickerTape.prototype.counter = 0;
TickerTape.prototype.messageLoc = null;
TickerTape.prototype.messageCB = function(prop, oldVal, newVal) {
if (oldVal != newVal) {
this.messageTf.text = newVal;
this._visible = true;
}
return newVal;
};
TickerTape.prototype.onEnterFrame = function() {
if (this._visible) {
if (this._x>this.endx-this._width) {
this._x -= this.speed;
} else {
this._x = this.startx;
this._visible = false;
}
// added this part
if (this._x<=-1*(this._width)) {
this._x = this.startx;
}
//
}
this.counter++;


/* ===>> This is the spot where I want the text to load and then not load again for another five minutes <<=== */

if (this.counter%100 == 0 && this.messageLoc != null) {
this.loadVariables(this.messageLoc);
}
if (!flag) {
this.loadVariables(this.messageLoc);
trace("loading text");
flag= true;

}
};




Object.registerClass("TickerTape", TickerTape);
ttInit = {startx:Stage.width, starty:Stage.height-10, endx:-tt._width, messageLoc:"messages.txt"};
_root.attachMovie("TickerTape", "tt", 1, ttInit);

How Do I Change Font Size?
Hi, I am experimenting with Macromedia's Sample Client applet and trying to create a moderator applet with more options that the regular chatters. One of them is the ability to change text size.

Can someone give me a suggestion as to how to change my client to sendMessage() with a different font attributes besides color. I have tried to send putting the ".htmlText" attrib instead of the ".text" and include the html tags in the sendMessage(), but the server doesn't parse it to the other clients in html. I am at a loss. Can someone give me a suggestion? I have seen people claiming this ability all on the client side script.

Oh and if you could give me a tip on how I can "pop" in and out of the peopleList without closing. I would appreciate it.



-Don-

Re-Size Font To Fit Text Box
Hello all...

I would like my text to automatically re-size to fit a dynamic text box.

A quick search found this code:


Code:
// Function to resize the text in a text field so that it fills up the maximum space available
function fixTextSize(textfield, maxheight) {
textfield.autoSize = true;
thistextsize = 10; // Start at 10pt size
thisheight = thistext.textHeight; // Get current height

myTextFormat = new TextFormat(); // Instance of TextFormat object required

// Loop until height exceeds limit, font getting bigger each time
while (thisheight < maxheight) {
thistextsize++;
myTextFormat.size = thistextsize;
textfield.setTextFormat(myTextFormat);
thisheight = thistext.textHeight;
}

// Reduce size by 1 as we have exceeded limits
thistextsize--;
myTextFormat.size = thistextsize;
textfield.setTextFormat(myTextFormat);
}
It was posted on this forum and looks absolutely perfect for what I am trying to achieve.

However, when I use it, rather than resizing the font it simply makes the text box bigger.

Does anybody know where I might be going wrong? Or perhaps another way or resizing text?

I've tried embedding the font but when I did this the text did not appear at all.

Thanks in advance for any help - and I hope the original poster of the script doesn't mind me re-printing here,

David

Limit Font Swf Size
I'm building a site in which I've got a different swf for each section, and they all import the same swf file, which has 2 fonts in it. They are decorative fonts, and their filesize is huge (the swf is 500k).

I'm wondering if there's anyway to bring this size down. Since I'm importing the fonts with AS, I'm not sure if there's any way to only embed certain characters like you can do when you manually embed fonts in a textfield. For example, for one of the fonts I really only need the lowercase characters.

This is the code in the Fonts.swf (Font1 and Font2 are in the library):


Code:
import flash.text.Font;
Font.registerFont(Font1);
Font.registerFont(Font2);
And the code in one of the other swfs:


Code:
var fontLoader:Loader = new Loader();
var fontLoaderInfo:LoaderInfo = fontLoader.contentLoaderInfo;
fontLoaderInfo.addEventListener(Event.COMPLETE, onFontLoaded);
fontLoader.load(new URLRequest("Fonts.swf"));
function onFontLoaded (e:Event):void {
var info:LoaderInfo = e.currentTarget as LoaderInfo;
var loader:Loader = info.content as Loader;
var embeddedFonts:Array = Font.enumerateFonts(false);
for(var i:Number = 0; i < embeddedFonts.length; i++){
var item:Font = embeddedFonts[i];
}
}
}

Font Size Issues
I am creating small banners and notice that fonts are adding up to 10kb?
why is it so large? Are there small sized fonts are they all different data sizes?

Font Size Problem In Mac I.E. 5
Hi there,

I have inherited a site that uses a movie clip to load external text files. The font of this text renders correctly in all tested browsers except I.E. 5 on Mac platform--here it renders very small(unreadable) by comparison.

Is this a common problem?

The original developer of this site used two methods I am not-so familiar with:

1. The 'Twice-Cooked Method' (no embed tag-only object tag)for embedding Flash which is broken-down here...
http://www.alistapart.com/articles/flashsatay

2. The CSS for the text box has a font-size of 100%, not pixels, in the interest of allowing access for PDA's and hand-held devices, i believe.

Any ideas or suggestions will be much appreciated.

thanks,

maltlikka

Font Size Is Wrong
I've managed to complete one of the tutorials http://www.compassion-in-business.co.uk/test/pub-menu.html but the font is too small. I've specified Verdana as the font face and the heading should be 14pt bold and the main text 12pt but they are a lot smaller. Can anyone suggest where I've gone wrong please?

Toggle Between Two Font Size
Hi there!

I wish to make a button which could allow to toggle between two font size for a dynamic text field displaying the results of a search (similar to the button which exists on browsers...).
The text field hasn't been created at runtime, it has been created in the .fla file.

Many thanks in advance for your help!
Regards.

Increase The Font Size
Hi,

I need to make a flash presentation for a client. He wants to give an option to the user to increase the font size or decrease the font size of the text. Can you please give me a sample of actionscript 2.0 code regarding it? Also, please tell me how should I structure the presentation? It will have 50 sections. I was thinking of making 50 different movie clips and load them as needed. If I do it like that, then how can I increase the font size from the base movie clip itself.

Thanks.

Gaurav
www.gauravchandra.com

Dynamic Font-size
I have a dynamic text field that is populated by an XML string that is constantly updated. I want the text that appears in the text box to fill the stage, i.e. if the text is very short, the font should be very large, and if the text is long, the font should be small so that it always fits.

how is this done?

FLVCaption Font Size
I need to scale the type in the caption when in fullscreen mode. I have tried everything I can think off with no results. I think it may not be possible.

I'm using the FLVCaption component. The type face can be set in the in the caption XML file, which makes it difficult to embed the font. Device fonts do not seem to work.

Font Size In Text.
I know this might be easy but has me baffled.. I made a scoll window with all links . font size I want to show is 12 how would I go about that?

here is my A code

onClipEvent (load) {
this.loadVariables("text.txt");
}
onClipEvent (data) {
text = txt;
}


This is my Text.doc

title=Link&txt=<font color="#0000gg"><ahref="http://www.blahblah.com"target="_blank"><u>me1</u></a></font><br>

how can I make text (ME1) to a size 12
I have tryed normal html code wont work Any one?

Many thanks

Regards Barrie

Font Size Problem
i've got some problems with the size of my text. in a movieclip i've some text with font-size 10, but when i put some text outside the mc in size 10, this text is bigger... i don't use scale on the mc.

please help me because i really don't know how to fix it... here's the fla

ComboBox Changes Font Size
Flashers,

Question (overall)
How do I use a comboBox to change Font Size of a textfield?


What's Working
I have all the sizes loaded into the comboBox - when clicked it displays all the possible font sizes (ie. 4 - 40 for my uses). The thing is when I click it it doesn't do anything.

I really don't know where to start getting this to work. I did the easy part. I know there are text Editors (and even better ones that cost), but I'm wanting to 1) know what I'm doing and 2) have it just change the font size.

Current Settings
Publishing with AS 2.0 and using the ComboBox Component that comes with MX2004 (F7)

Script

Code:
sizeListChange = new Object();
sizeList.addEventListener("change", sizeListChange);
myTextFormat = new TextFormat();
sizeList.addItem("6", 6);
sizeList.addItem("8", 8);
sizeList.addItem("9", 9);
sizeList.addItem("10", 10);
sizeList.addItem("11", 11);
sizeList.addItem("12", 12);
sizeList.addItem("14", 14);
sizeList.addItem("16", 16);
sizeList.addItem("20", 20);
sizeList.addItem("24", 24);
sizeList.addItem("36", 36);
sizeList.addItem("40", 40);
sizeListChange.change = function(evt, myTextFormat){
myTextFormat = currentFormat;
myTextFormat.size = evt.target.selectedItem.label;
myTextFormat.textHeight = evt.target.selectedItem.label;
textIns_txt.setTextFormat(begin, end, myTextFormat);
}



ANSWERS


I learned / Mistakes I've noticed
The sizeListChange object must be created FIRST - I moved the creation to the beginning of the code.
myTextFormat.textHeight needs to use/equal the ComboBox's selectedItem's data.
There is probably a better way to say this: When the change is initiated a variable is going to be used and is defined in the function's brakets (eg see below)
Code:
function(evt)
. Then the evt must be followed by target. Now you can use any of the comboBox Class lines.
Macromedia/Adobe puts it this way "You define a method with the same name as the event on the listener object; the method is called when the event is triggered. When the event is triggered, it automatically passes an event object (eventObject) to the listener object method. Each event object has a set of properties that contains information about the event. You can use these properties to write code that handles the event."


Correct Script

Code:
myTextFormat = new TextFormat();
myTextFormat.bold = false;
myTextFormat.italic = false;
myTextFormat.underline = false;

sizeList.addItem("6", 6);
sizeList.addItem("8", 8);
sizeList.addItem("9", 9);
sizeList.addItem("10", 10);
sizeList.addItem("11", 11);
sizeList.addItem("12", 12);
sizeList.addItem("14", 14);
sizeList.addItem("16", 16);
sizeList.addItem("20", 20);
sizeList.addItem("24", 24);
sizeList.addItem("36", 36);
sizeList.addItem("48", 48);
sizeList.addItem("56", 56);
sizeList.addItem("72", 72);
sizeList.setSize(40);
sizeListChange = new Object();
sizeList.addEventListener("change", sizeListChange);
sizeListChange.change = function(evt){
myTextFormat = currentFormat;
myTextFormat.size = evt.target.selectedItem.label;
myTextFormat.textHeight = evt.target.selectedItem.data;
textIns_txt.setTextFormat(begin, end, myTextFormat);
};

Font Size In ComboBox
can somebody pls help me. ..how do i set the font size of the text in a comboBox in macromedia flash...

Font Size In ComboBox
can somebody pls help me. ..how do i set the font size of the text in a comboBox in macromedia flash...many thanks!

Copyright © 2005-08 www.BigResource.com, All rights reserved