Different Font Display In Flash And Photoshop
Why is this font displayed others in Flash like in Photoshop?
In Flash is diplayed not so pretty. Please see attachment.
FlashKit > Flash Help > Flash Newbies
Posted on: 11-08-2004, 09:38 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Font Missing In Flash Font List, But Appears In Photoshop?
Hi,
I have a font called 'Terminal' that looks like a pixel font. It appears fine in Photoshop, but does not appear at all in the Flash font list.
I suppose there is a simple reason for this, but is there a work around to get it to work.
It looks like the perfect font for me to use, and im eager to get this job done!!
Thanks
Font Missing In Flash Font List, But Appears In Photoshop?
Hi,
I have a font called 'Terminal' that looks like a pixel font. It appears fine in Photoshop, but does not appear at all in the Flash font list.
I suppose there is a simple reason for this, but is there a work around to get it to work.
It looks like the perfect font for me to use, and im eager to get this job done!!
Thanks
Vector Or Photoshop Font
Hi,
I am am working on a Flash project that has plenty of text. I have 8 buttons, which load external swf files. After the external movie is loaded into the main movie, there are submenu buttons that slide the external swf's left and right. Since there is so much text within the panels, the main movie seems to be slowing down because it is trying to render the vectors in the font. I have read in Josh Davis' book that the font should be made in Photoshop and saved as a GIF to stop the dragging. I did that, but the font looks like ****. When I turn the "Crisp" or "Smooth" off in Photoshop and export the file, the font looks horrible and not smooth like the vectored font. When I leave it on, there is a white edging around each of the letters, making it look works and unusable. Does anyone have any suggestions? Should I use Illustrator, some how....I don't know. I am using a gray, Arial 14 point font.
Thank you
Making Photoshop Display Layer Coordinates
Not so much an AS issue, but is definitely AS related. Does anyone know how to make photoshop display layer information, so I can grab a layer's XY position, and size? (so I can use it directly in AS) Or is that impossible
Font Display
I have trouble formatting dynamically populated text fields with embedded fonts. I've created a font symbol in a saparate swf, exported it for runtime sharing, and imported it in the swf with the text. But it just doesn't display when I delete the font from Windows font library.
Help!!!
Font Won't Display
Hi all,
i use TextFormat to format the font in as, but for some reason, it just wont display. I add the 'Century gothic' font to the library and export it for use in action script as 'aas'. Pls can anyone tell me what I am doing wrong?
preLoader_mc.createTextField("loader_txt",20,75,-140,400,400);
//create a text format and set some properties
var loadFormat:TextFormat = new TextFormat();
loadFormat.font="aas";
loadFormat.bold=true;
loader_txt.embedFonts = true;
loadFormat.size=10;
preLoader_mc.loader_txt.setNewTextFormat(loadForma t);
this.loader_txt.text= percentLoaded+"%";
Font Display
I have a menu system that gets it data from an ASP call. The text has HTML tags and I build the menu through ActionScript generating dynamic text boxes. The fonts I use, Arial, Arial Italic, Arial Bold and Arial Bold Italic are all added and linked in the library ect.
The menu works perfectly when I run it on its own and display the font as it should.
When, however, I load the menu into the main application the fonts, e.g. italics, does not display at all. It works if I imbed the fonts in the main application but I cannot do this as the menu is used by a series of games developed by other developers and they don't want to embed the font in all the games.
Does any know how I can solve this?
Code:
function textBuilder(path, butId, fieldId, txt, fSize, fStyle, fAlign, fName, fCol, bulState, lev, fWidth, fHeight) {
//
//
path[butId].createTextField(fieldId, lev, 0, 0, fWidth, fHeight);
path[butId][fieldId].type = "dynamic";
path[butId][fieldId].multiline = false;
path[butId][fieldId].wordWrap = false;
if (fWidth == 0) {
path[butId][fieldId].autoSize = "left";
}
path[butId][fieldId].selectable = false;
//
myTextFormat = new TextFormat();
myTextFormat.size = fSize;
if (bulState == "true") {
//myTextFormat.bullet = true;
path[butId].bulleted = 1;
}
//
myTextFormat.align = fAlign;
myTextFormat.font = fName;
myTextFormat.color = "0x"+fCol;
//
path[butId][fieldId].html = true;
path[butId][fieldId].htmlText = txt;
//
path[butId][fieldId].embedFonts = true;
//
path[butId][fieldId].setTextFormat(myTextFormat);
//
}
Thanks
Font Display Problems
Hi helper,
my problem is that the site that i created in flash,
looks fine in my browser, but when my friends view
it, the fonts display differently:
caps become small and vice versa.
The text apears in different places than
i put them
How can i overcome this?
I tried the options in the textbox:
dynamic text, input text and static text
with device fonts checked.
But I dont know what it all means and does.
What are the correct settings?
What should i do?
You can view the site at www.designic.de
Thanks a lot,
Johnny-pony
Problem With Font Display
I got a problem with the display of my font on my laptop. It's hardly readable anymore.
As you can see here, the tools' fonts are not how they are supposed to be.
I only have this problem on my laptop, and I think it's more rather a problem in XP than Flash. Cause I tried installing the same setup on my desktop pc, and everything looked normal. So I have no clue on how to get it normal. Is there perhaps a code line somewhere in the program files to be changed, that i can select another font for displaying these tools?? Or anyone got another solution for me?
Font Display Problems
Hi Everybody,
I'm having some problems getting certain fonts to display onscreen in both Flash 5 and FlashMX on the Mac
Fonts which are being displayed fine in other applications (Illustrator, Photoshop) are displayed as if the font outline file is missing (it isn't!) in Flash 5 and obviously are not displayed when the file is published.
In MX, the font is displays fine, but is jagged when editing text of when the movie is published. If anyone has any answers, I'd really appreciate it.
Cheers,
Sandy
[CS3] Font Display Problems
font works fine at home on firefox, but on a mac and pc on firefox at work the font displays as 'times' when , its a pixel 8pt font for some werid reason.
any one with any ideas.
dynamic font, same font displays fine but not as static text??
Static Font Will Not Display
I am working on a website project. The navigation bar is done in Flash in order to utilize a special font that the client requested. At first I used dynamic text for each of the buttons, but the client could not see them on his computer. After much frustration with different font embedding methods, I decided it would just be easier to switch to static text for this project. Still, the text does not appear on the clients computer.
The client is using Windows XP Home and still cannot see the text. I've tested the site using an XP Pro computer (separate from the computer I'm developing on) and have been able to see the font when I used dynamic text and when I used static text. Both computers were tested using the latest version of the IE browser.
Can anyone think of a reason that this font will not display on certain computers?
Here is a link to the test version of the site: http://www.pixelbox.cc/arrows
Font Display Problems
Hey.
I created a webpage in flash, however, the fonts don't display properly, the main problem being the 'e' is filled in, meaning the hollow in the middle is fully filled...could someone please tel me how to fix this
alan
here is the site http://www.networknirvana.com.au/ncs/index.html
Problem With Font Display
hello everyone,
Is there a way to display font in normal way ?
it seems that FLASH always display fonts in a blurry
kinda way. If I choose 'use device font' the fonts is
not displayed when I use mask over them !!!
( they just disappear, plus you can't align-justify them)
I'm sorry if this seems to be a stupid question, I'm
new on this FLASH thingie and I've tried almost every
button there is in the menu bar and toolbar.
...
ok maybe not EVERY Button (hehehe) but I tried
everything I could think of in my limited knowledge :p
so any help will be very much appreciated here
thanks
.as Font Color Bug- MAC Vs. PC Display
I have a rotating XML headlines which scrolls through news. Everything loads and the font for the text is white on PC and MOST MACs but I am getting complaints that the font color of the XML loaded text is sometimes appearing black, making it very difficult to read because it should be white or blue.
This is weird because some MACs are showing it correctly in my office and others arent and have black text.
Here is a snippet that sets all the fonts white and selected font Blue- but on some macs all fonts show black for normal text or the selected text
Code:
if (pressedBut == 1) {
selectedColor = new Color(button1Txt);
selectedColor.setRGB(0x7BD3F7);
unselectedColor = new Color(button2Txt);
unselectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button3Txt);
unselectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button4Txt);
unselectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button5Txt);
unselectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button6Txt);
unselectedColor.setRGB(0xFFFFFF);
Here is all my action script
Code:
//////////////////////////
//Pic Loading script://///
//////////////////////////
this.onEnterFrame = function() {
filesize = picStageMC.getBytesTotal();
loaded = picStageMC.getBytesLoaded();
//preloader._visible = true;
if (loaded != filesize) {
//preloader.preload_bar._xscale = 100*loaded/filesize;
} else {
//preloader._visible = false;
if (picStageMC._alpha<100) {
picStageMC._alpha += 2;
}
}
};
function selectPic(name) {
if (loaded == filesize) {
picStageMC._alpha = 70;
loadMovie(name, picStageMC);
//desc_txt.text = description[p];
}
}
function selectURL(name) {
if (loaded == filesize) {
picStageMC._alpha = 70;
loadMovie(name, picStageMC);
//desc_txt.text = description[p];
}
}
////////////////////
//Timer script://///
////////////////////
setInterval(timerHit, 8000);
function timerHit() {
if (timerOn == true) {
currentSelection++;
if (currentSelection>6) {
currentSelection = 1;
}
if (currentSelection == 1) {
goButton(1);
} else if (currentSelection == 2) {
goButton(2);
} else if (currentSelection == 3) {
goButton(3);
} else if (currentSelection == 4) {
goButton(4);
} else if (currentSelection == 5) {
goButton(5);
} else if (currentSelection == 6) {
goButton(6);
}
}
}
setInterval(mouseDead, 8000);
var oldxmouse = _root._xmouse;
var oldymouse = _root._ymouse;
function mouseDead() {
var newxmouse = _root._xmouse;
var newymouse = _root._ymouse;
if (oldxmouse == newxmouse and oldymouse == newymouse) {
timerOn = true;
}
oldxmouse = newxmouse;
oldymouse = newymouse;
}
/////////////////////////////
//variable declarations://///
/////////////////////////////
var buttonpicurl1 = "";
var buttonpicurl2 = "";
var buttonpicurl3 = "";
var buttonpicurl4 = "";
var buttonpicurl5 = "";
var buttonpicurl6 = "";
var buttonlinkurl1 = "";
var buttonlinkurl2 = "";
var buttonlinkurl3 = "";
var buttonlinkurl4 = "";
var buttonlinkurl5 = "";
var buttonlinkurl6 = "";
var timerOn = true;
var currentSelection = 1;
var bigpicurl = "";
//////////////////////////
//Load and parse XML://///
//////////////////////////
function goNielsons(name) {
trace("tracking");
CID = "XX";
action = "_flash_";
trace(name);
//getURL("javascript:adRefresh()");
imagename = name;
flashaction = action+imagename;
getURL("XX"+CID+"&url="+flashaction+"&rnd="+Math.ceil(Math.random()*100000000), "_level100");
trace(flashaction);
}
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
buttoncopy = [];
buttonpicurl = [];
buttonlinkurl = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
buttoncopy[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
buttonpicurl[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
buttonlinkurl[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
}
button1Txt.text = buttoncopy[0];
button2Txt.text = buttoncopy[1];
button3Txt.text = buttoncopy[2];
button4Txt.text = buttoncopy[3];
button5Txt.text = buttoncopy[4];
button6Txt.text = buttoncopy[5];
buttonpicurl1 = buttonpicurl[0];
buttonpicurl2 = buttonpicurl[1];
buttonpicurl3 = buttonpicurl[2];
buttonpicurl4 = buttonpicurl[3];
buttonpicurl5 = buttonpicurl[4];
buttonpicurl6 = buttonpicurl[5];
buttonlinkurl1 = buttonlinkurl[0];
buttonlinkurl2 = buttonlinkurl[1];
buttonlinkurl3 = buttonlinkurl[2];
buttonlinkurl4 = buttonlinkurl[3];
buttonlinkurl5 = buttonlinkurl[4];
buttonlinkurl6 = buttonlinkurl[5];
goButton(1);
//buttonbg1.gotoAndStop(5);
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("flashheadlines.xml");
/////////////////////////////////////
//////////////////////////////
//button press functions://///
//Function Name = "goButton"//
//////////////////////////////
//////////////////////////
// BUTTON 1 ////////////
//////////////////////////
function goButton(pressedBut) {
if (pressedBut == 1) {
selectedColor = new Color(button1Txt);
selectedColor.setRGB(0x7BD3F7);
unselectedColor = new Color(button2Txt);
unselectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button3Txt);
unselectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button4Txt);
unselectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button5Txt);
unselectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button6Txt);
unselectedColor.setRGB(0xFFFFFF);
if (buttonBG1.currentState == "in") {
buttonBG1.gotoAndPlay(1);
}
if (buttonBG2.currentState == "out") {
buttonBG2.gotoAndPlay(5);
}
if (buttonBG3.currentState == "out") {
buttonBG3.gotoAndPlay(5);
}
if (buttonBG4.currentState == "out") {
buttonBG4.gotoAndPlay(5);
}
if (buttonBG5.currentState == "out") {
buttonBG5.gotoAndPlay(5);
}
if (buttonBG6.currentState == "out") {
buttonBG6.gotoAndPlay(5);
}
selectPic(buttonpicurl1);
bigpicurl = buttonlinkurl1;
//////////////////////////
// BUTTON 2 ////////////
//////////////////////////
} else if (pressedBut == 2) {
selectedColor = new Color(button1Txt);
selectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button2Txt);
unselectedColor.setRGB(0x7BD3F7);
unselectedColor = new Color(button3Txt);
unselectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button4Txt);
unselectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button5Txt);
unselectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button6Txt);
unselectedColor.setRGB(0xFFFFFF);
if (buttonBG1.currentState == "out") {
buttonBG1.gotoAndPlay(5);
}
if (buttonBG2.currentState == "in") {
buttonBG2.gotoAndPlay(1);
}
if (buttonBG3.currentState == "out") {
buttonBG3.gotoAndPlay(5);
}
if (buttonBG4.currentState == "out") {
buttonBG4.gotoAndPlay(5);
}
if (buttonBG5.currentState == "out") {
buttonBG5.gotoAndPlay(5);
}
if (buttonBG6.currentState == "out") {
buttonBG6.gotoAndPlay(5);
}
selectPic(buttonpicurl2);
bigpicurl = buttonlinkurl2;
//////////////////////////
// BUTTON 3 ////////////
//////////////////////////
} else if (pressedBut == 3) {
selectedColor = new Color(button1Txt);
selectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button2Txt);
unselectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button3Txt);
unselectedColor.setRGB(0x7BD3F7);
unselectedColor = new Color(button4Txt);
unselectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button5Txt);
unselectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button6Txt);
unselectedColor.setRGB(0xFFFFFF);
if (buttonBG1.currentState == "out") {
buttonBG1.gotoAndPlay(5);
}
if (buttonBG2.currentState == "out") {
buttonBG2.gotoAndPlay(5);
}
if (buttonBG3.currentState == "in") {
buttonBG3.gotoAndPlay(1);
}
if (buttonBG4.currentState == "out") {
buttonBG4.gotoAndPlay(5);
}
if (buttonBG5.currentState == "out") {
buttonBG5.gotoAndPlay(5);
}
if (buttonBG6.currentState == "out") {
buttonBG6.gotoAndPlay(5);
}
selectPic(buttonpicurl3);
bigpicurl = buttonlinkurl3;
//////////////////////////
// BUTTON 4 ////////////
//////////////////////////
} else if (pressedBut == 4) {
selectedColor = new Color(button1Txt);
selectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button2Txt);
unselectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button3Txt);
unselectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button4Txt);
unselectedColor.setRGB(0x7BD3F7);
unselectedColor = new Color(button5Txt);
unselectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button6Txt);
unselectedColor.setRGB(0xFFFFFF);
if (buttonBG1.currentState == "out") {
buttonBG1.gotoAndPlay(5);
}
if (buttonBG2.currentState == "out") {
buttonBG2.gotoAndPlay(5);
}
if (buttonBG3.currentState == "out") {
buttonBG3.gotoAndPlay(5);
}
if (buttonBG4.currentState == "in") {
buttonBG4.gotoAndPlay(1);
}
if (buttonBG5.currentState == "out") {
buttonBG5.gotoAndPlay(5);
}
if (buttonBG6.currentState == "out") {
buttonBG6.gotoAndPlay(5);
}
selectPic(buttonpicurl4);
bigpicurl = buttonlinkurl4;
//////////////////////////
// BUTTON 5 ////////////
//////////////////////////
} else if (pressedBut == 5) {
selectedColor = new Color(button1Txt);
selectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button2Txt);
unselectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button3Txt);
unselectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button4Txt);
unselectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button5Txt);
unselectedColor.setRGB(0x7BD3F7);
unselectedColor = new Color(button6Txt);
unselectedColor.setRGB(0xFFFFFF);
if (buttonBG1.currentState == "out") {
buttonBG1.gotoAndPlay(5);
}
if (buttonBG2.currentState == "out") {
buttonBG2.gotoAndPlay(5);
}
if (buttonBG3.currentState == "out") {
buttonBG3.gotoAndPlay(5);
}
if (buttonBG4.currentState == "out") {
buttonBG4.gotoAndPlay(5);
}
if (buttonBG5.currentState == "in") {
buttonBG5.gotoAndPlay(1);
}
if (buttonBG6.currentState == "out") {
buttonBG6.gotoAndPlay(5);
}
selectPic(buttonpicurl5);
bigpicurl = buttonlinkurl5;
}
//////////////////////////
// BUTTON 6 ////////////
//////////////////////////
else if (pressedBut == 6) {
selectedColor = new Color(button1Txt);
selectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button2Txt);
unselectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button3Txt);
unselectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button4Txt);
unselectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button5Txt);
unselectedColor.setRGB(0xFFFFFF);
unselectedColor = new Color(button6Txt);
unselectedColor.setRGB(0x7BD3F7);
if (buttonBG1.currentState == "out") {
buttonBG1.gotoAndPlay(5);
}
if (buttonBG2.currentState == "out") {
buttonBG2.gotoAndPlay(5);
}
if (buttonBG3.currentState == "out") {
buttonBG3.gotoAndPlay(5);
}
if (buttonBG4.currentState == "out") {
buttonBG4.gotoAndPlay(5);
}
if (buttonBG5.currentState == "out") {
buttonBG5.gotoAndPlay(5);
}
if (buttonBG6.currentState == "in") {
buttonBG6.gotoAndPlay(1);
}
selectPic(buttonpicurl6);
bigpicurl = buttonlinkurl6;
}
}
Font Display Problem With Masking And CSS
Hello,
I'm having a problem displaying fonts in a scrollbar that is formatted using css and masking. I'm working in Flash MX 2004. I know the main problem involves the embedded font feature. You usually have to embed the fonts I believe in a dynamic text when masking, but while formatting in css you can't embed fonts. Does anyone know how to get around this problem.. here is the code I'm using. It works fine except when I apply a mask which I really need to use.
This is my hardcode:
tpsStyle = new TextField.StyleSheet();
tpsStyle.load("tps_sample.css");
with (tpsSubTextField) {
styleSheet = tpsStyle;
html = true;
subtext = "<headpar>Featuring the very latest in broadcast technology, we represent several High Definition mobile television production units across the U.S.A. These trucks have capabilities of 480p, 720p, and 1080i, as well as the ability to simultaneously generate both HD and SD outputs. The standard equipment list includes:</headpar>";
subtext += "<br><subhead>VIDEO SWITCHING</subhead>";
subtext += "<subpar>GVG HD Kalypso Production Switcher, 80 inputs, 3 M/Es PESA Cheetah 96x64 HD Router and Tiger 124x124 SD Router Abekas DVEous Dual Twin HD DVE</subpar>";
subtext += "<br><subhead>GRAPHICS</subhead>";
subtext += "<subpar>Chyron Duet or iNFiNiT! with up converter</subpar>";
subtext += "<br><subhead>CAMERAS, LENSES, SUPPORT</subhead>";
subtext += "<subpar>Up to 16 LDK 6000 Mk II Cameras, Triax Base Stations<br>Up to 10 Super Expander Studio Buildup Kits<br>Canon 75x studio lenses, Canon 21x handheld lenses<br>Vinten Vector 700H pan heads on Matthews tripods</subpar>";
subtext += "<br><subhead>RECORDING AND PLAYBACK</subhead>";
subtext += "<subpar>Up to 4 EVS HD LSM XT (4 channel)<br>Up to 5 EVS HD maXS XT (4 channel)<br>Up to 4 Sony DVW-A500 Diqi-Beta VTRs<br>DNF ST-300 slo-mo controllers</subpar>";
subtext += "<br><subhead>AUDIO</subhead>";
subtext += "<subpar>SSL Axiom MT+, Aysis Air, or Calrec Q2 Audio Console 360 Systems ShortCut audio workstation<br>2 Digi-Cart IIs, CD Player, 16 chnl compressor/limiters<br>Yamaha SPX 990 Digital Delay/Reverb (4 Chnl)<br>Microphones as needed</subpar>";
subtext += "<br><subhead>COMMUNICATIONS</subhead>";
subtext += "<subpar>RTS 12 Channel Adam intercom system RTS 12 channel IFB system<br>6 Telos 2-wire interfaces, 2 QKT phone hybrids<br>Lucent 12 line key system - 25 patchable incoming lines<br>8 channel UHF 2-way radio system (2 bases & 8 walkies)</subpar>";
subtext += "<br><subhead>OTHER</subhead>";
subtext += "<subpar>Down converters, 24 Up converters, 8 HD Frame Syncs<br>Outboard Monitors as needed, Cable as needed<br>Power Requirements: Three Phase, 200 amps, 208 volts</subpar>";
}
This is my CSS code:
/* Font Style for Main Paragraphs*/
headpar {
color: #226462;
font-family: Frutiger 57Cn,sans-serif;
font-size: 12px;
display: block;
}
/*Additional Info for Main Paragraph Highligted bold*/
headinfo {
font-family: Arial,Helvetica,sans-serif;
color: #0D2929;
font-size: 14px;
font-weight: bold;
display: block;
}
/*Font Style for SubMenu Paragraphs - The top most Paragraph*/
subpar {
color: #226462;
font-family: Arial,Helvetica,sans-serif;
font-size: 12px;
font-weight: regular;
display: block;
}
/*Font Style for SubMenu Headlines.*/
subhead {
color: #0D2929;
font-family: Frutiger 57Cn,Arial,Helvetica,sans-serif;
font-size: 14px;
font-weight: bold;
display: block;
}
/*Font Style for SubMenu additional info.*/
subinfo {
color: #0000FF;
font-family: Frutiger,sans-serif;
font-size: 18px;
font-weight: bold;
display: block;
}
Font Display Problem With Masking And CSS
Hello,
I'm having a problem displaying fonts in a scrollbar that is formatted using css and masking. I'm working in Flash MX 2004. I know the main problem involves the embedded font feature. You usually have to embed the fonts I believe in a dynamic text when masking, but while formatting in css you can't embed fonts. Does anyone know how to get around this problem.. here is the code I'm using. It works fine except when I apply a mask which I really need to use.
This is my hardcode:
tpsStyle = new TextField.StyleSheet();
tpsStyle.load("tps_sample.css");
with (tpsSubTextField) {
styleSheet = tpsStyle;
html = true;
subtext = "<headpar>Featuring the very latest in broadcast technology, we represent several High Definition mobile television production units across the U.S.A. These trucks have capabilities of 480p, 720p, and 1080i, as well as the ability to simultaneously generate both HD and SD outputs. The standard equipment list includes:</headpar>";
subtext += "<br><subhead>VIDEO SWITCHING</subhead>";
subtext += "<subpar>GVG HD Kalypso Production Switcher, 80 inputs, 3 M/Es PESA Cheetah 96x64 HD Router and Tiger 124x124 SD Router Abekas DVEous Dual Twin HD DVE</subpar>";
subtext += "<br><subhead>GRAPHICS</subhead>";
subtext += "<subpar>Chyron Duet or iNFiNiT! with up converter</subpar>";
subtext += "<br><subhead>CAMERAS, LENSES, SUPPORT</subhead>";
subtext += "<subpar>Up to 16 LDK 6000 Mk II Cameras, Triax Base Stations<br>Up to 10 Super Expander Studio Buildup Kits<br>Canon 75x studio lenses, Canon 21x handheld lenses<br>Vinten Vector 700H pan heads on Matthews tripods</subpar>";
subtext += "<br><subhead>RECORDING AND PLAYBACK</subhead>";
subtext += "<subpar>Up to 4 EVS HD LSM XT (4 channel)<br>Up to 5 EVS HD maXS XT (4 channel)<br>Up to 4 Sony DVW-A500 Diqi-Beta VTRs<br>DNF ST-300 slo-mo controllers</subpar>";
subtext += "<br><subhead>AUDIO</subhead>";
subtext += "<subpar>SSL Axiom MT+, Aysis Air, or Calrec Q2 Audio Console 360 Systems ShortCut audio workstation<br>2 Digi-Cart IIs, CD Player, 16 chnl compressor/limiters<br>Yamaha SPX 990 Digital Delay/Reverb (4 Chnl)<br>Microphones as needed</subpar>";
subtext += "<br><subhead>COMMUNICATIONS</subhead>";
subtext += "<subpar>RTS 12 Channel Adam intercom system RTS 12 channel IFB system<br>6 Telos 2-wire interfaces, 2 QKT phone hybrids<br>Lucent 12 line key system - 25 patchable incoming lines<br>8 channel UHF 2-way radio system (2 bases & 8 walkies)</subpar>";
subtext += "<br><subhead>OTHER</subhead>";
subtext += "<subpar>Down converters, 24 Up converters, 8 HD Frame Syncs<br>Outboard Monitors as needed, Cable as needed<br>Power Requirements: Three Phase, 200 amps, 208 volts</subpar>";
}
This is my CSS code:
/* Font Style for Main Paragraphs*/
headpar {
color: #226462;
font-family: Frutiger 57Cn,sans-serif;
font-size: 12px;
display: block;
}
/*Additional Info for Main Paragraph Highligted bold*/
headinfo {
font-family: Arial,Helvetica,sans-serif;
color: #0D2929;
font-size: 14px;
font-weight: bold;
display: block;
}
/*Font Style for SubMenu Paragraphs - The top most Paragraph*/
subpar {
color: #226462;
font-family: Arial,Helvetica,sans-serif;
font-size: 12px;
font-weight: regular;
display: block;
}
/*Font Style for SubMenu Headlines.*/
subhead {
color: #0D2929;
font-family: Frutiger 57Cn,Arial,Helvetica,sans-serif;
font-size: 14px;
font-weight: bold;
display: block;
}
/*Font Style for SubMenu additional info.*/
subinfo {
color: #0000FF;
font-family: Frutiger,sans-serif;
font-size: 18px;
font-weight: bold;
display: block;
}
Dynamic Font Display Problem
Hi,
I'm having problems with dynamic font embedding/displaying. I've read thru earlier posts but none of them have helped!
here's my problem:
firstly, im using flash mx 2004. i've created a dynamic text field, embedded a font(so it gets a * next to it in the dropdown list) then assign that font to my text box. it ype some text into it and it looks like its suppose to. it works all good on my pc but if i look at it on a pc without the font installed on it, the font changes to 'times new roman' ?!
i dunno wat im doing wrong?!
im pulling my hair out so help me please!
thanks,
shahid
Problem With Chinese Font Display, Plz Help
Hi everyone, my friend want me to help him make a flash movie with chinese font in it. I donno Chinese but he gave me all the words and I just copy and paste them to the flash, first I found out flash doesn't seems to support chinese font cus whatever I paste in the text box in flash only appeared to be some weird symbols, then I read through the help section in flash and found out I can enable them by going to adjust some options in windows, so I did. Now that I can see the chinese fonts display correctly in the flash work space, but HUGE problems comes when I publish it! If I set all chinese font to static text they will all get stuffed like an "0" character will turn out as a solid circle with color filled inside o_O. If I use dynamic text they looked fine but the font size will go crazy on different computer, Iike I use size 12 font in my work space and when published it will look like size 24 and that makes all words go off position or even off screen cus the words are too big. I've been suffering for a week now trying to fix it but no luck, can someone please give me a hand and tell me what could went wrong?? I'm using Flash MX and the flash movie is projector file.
AS3 - Font Loads But Don't Display... What Might Be Happening?
I'm trying to load a custom font to use at runtime in AS3. The code seems to work but the font is not displayed properly. Could you point what I'm missing?
[*]The SWF with the font item inside Library, which is exported with "GoodTimes" name, using "flash.text.Font" as the superclass.
[*]FLA and its respective AS document class file. The code is quite simple, look:
Attach Code
package{
import flash.display.Sprite;
public class Test1 extends Sprite
{
import flash.display.Loader;
import flash.net.URLRequest;
import flash.system.LoaderContext;
import flash.system.ApplicationDomain;
import flash.events.Event;
import flash.utils.getDefinitionByName;
import flash.text.Font;
import flash.text.TextField;
import flash.text.TextFormat;
static var GoodTimes:Class;
function Test1():void
{
var loader:Loader = new Loader();
var url:URLRequest = new URLRequest("temp/GoodTimes.swf");
var context:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain);
loader.contentLoaderInfo.addEventListener(Event.INIT, this.good);
loader.load(url, context);
}
function good(e:Event):void
{
Test1.GoodTimes = getDefinitionByName("GoodTimes") as Class;
trace(">:", Test1.GoodTimes);
Font.registerFont(Test1.GoodTimes);
this.startText();
}
function startText():void
{
trace("start drawing the TextField");
var tf:TextField = new TextField();
tf.width = 500; tf.height = 250;
tf.x = tf.y = 50;
tf.border = true;
tf.defaultTextFormat = new TextFormat("GoodTimes", 12);
trace(tf.defaultTextFormat.font);
tf.text = "Sample text that should use GoodTimes, but shows itself in Default system font. What could be missing?";
addChild(tf);
}
}
}
How Do I Edit The Display Font Of This Rss Reader
http://www.anthonydevitodesigns.com/...ssReader1f.fla
i stumbled across a rss reader, i managed to change all the graphics and other stuff but i cant seem to edit the display font and size. any ideas on how to do so?
AS3 - Font Loads But Don't Display... What Could It Be Happening?
I'm trying to load a custom font to use at runtime in AS3. The code seems to work but the font is not displayed properly. Could you point what I'm missing?
The SWF with the font item inside Library, which is exported with "GoodTimes" name, using "flash.text.Font" as the superclass.
FLA and its respective AS document class file. The code is quite simple, look:
Code:
package{
import flash.display.Sprite;
public class Test1 extends Sprite
{
import flash.display.Loader;
import flash.net.URLRequest;
import flash.system.LoaderContext;
import flash.system.ApplicationDomain;
import flash.events.Event;
import flash.utils.getDefinitionByName;
import flash.text.Font;
import flash.text.TextField;
import flash.text.TextFormat;
static var GoodTimes:Class;
function Test1():void
{
var loader:Loader = new Loader();
var url:URLRequest = new URLRequest("temp/GoodTimes.swf");
var context:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain);
loader.contentLoaderInfo.addEventListener(Event.INIT, this.good);
loader.load(url, context);
}
function good(e:Event):void
{
Test1.GoodTimes = getDefinitionByName("GoodTimes") as Class;
trace(">:", Test1.GoodTimes);
Font.registerFont(Test1.GoodTimes);
this.startText();
}
function startText():void
{
trace("start drawing the TextField");
var tf:TextField = new TextField();
tf.width = 500; tf.height = 250;
tf.x = tf.y = 50;
tf.border = true;
tf.defaultTextFormat = new TextFormat("GoodTimes", 12);
trace(tf.defaultTextFormat.font);
tf.text = "Sample text that should use GoodTimes, but shows itself in Default system font. What could be missing?";
addChild(tf);
}
}
}
Want Display Time In My Font Of Choice.
Question, I was following the tutorial @ http://www.flashkit.com/tutorials/Ac...-892/index.php and would like the display to be in my font of choice. Is this possible? ...and if it is, how do I accomplish this?
Thanks in advance.
Bonafide
Font Display Problem On Debian
guys, take a look at these screenshots.
one
two
three
note how the text in dynamic textfields is overlapping and garbled. these screenshots were taken on a Debian gnu/linux installation with the latest flash player (7). these sites seem to display correctly on most popular linux distro's (RedHat, Mandrake, SuSe)...
the swf's were compiled as flash mx (6). the problem is consistent across different browsers on the same system.
my guess is that this user doesn't have Verdana installed, which is required for these textfields (fonts are not embedded). The textfields are dynamic and html-enabled. but maybe you know something I don't?
Thanks for your help.
AS3 - Font Loads But Don't Display... What Could It Be Happening?
Last edited by ad.sign : 2008-07-07 at 07:27.
I'm trying to load a custom font to use at runtime in AS3. The code seems to work but the font is not displayed properly. Could you point what I'm missing?
Taking "Good Times" as our example at this case, the structure could be based in 2 files:
The SWF with the font item inside Library, which is exported with "GoodTimes" name, using "flash.text.Font" as the superclass.
FLA and its respective AS document class file. The code is quite simple, look:
Code:
package{
import flash.display.Sprite;
public class Test1 extends Sprite
{
import flash.display.Loader;
import flash.net.URLRequest;
import flash.system.LoaderContext;
import flash.system.ApplicationDomain;
import flash.events.Event;
import flash.utils.getDefinitionByName;
import flash.text.Font;
import flash.text.TextField;
import flash.text.TextFormat;
static var GoodTimes:Class;
function Test1():void
{
var loader:Loader = new Loader();
var url:URLRequest = new URLRequest("temp/GoodTimes.swf");
var context:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain);
loader.contentLoaderInfo.addEventListener(Event.INIT, this.good);
loader.load(url, context);
}
function good(e:Event):void
{
Test1.GoodTimes = getDefinitionByName("GoodTimes") as Class;
trace(">:", Test1.GoodTimes);
Font.registerFont(Test1.GoodTimes);
this.startText();
}
function startText():void
{
trace("start drawing the TextField");
var tf:TextField = new TextField();
tf.width = 500; tf.height = 250;
tf.x = tf.y = 50;
tf.border = true;
tf.defaultTextFormat = new TextFormat("GoodTimes", 12);
trace(tf.defaultTextFormat.font);
tf.text = "Sample text that should use GoodTimes, but shows itself in Default system font. What could be missing?";
addChild(tf);
}
}
}
How To Embed And Display HTML Font? Help
ActionScript Code:
var houseID = 21;
this.houseID_txt.embedFonts = true;
this.houseID_txt.html = true;
this.houseID_txt.htmlText = "<B>HouseID</B>: "+houseID;
format = new TextFormat();
format.font = "FFF Harmony";
this.houseID_txt.setTextFormat(format);
this.houseID_txt.htmlText = "<B>HouseID</B>: "+houseID;
1) I did the library > new fonts thing and linked my 'FFF Harmony' system font type as "harmony" (all BOLD, ITALIC and ALIASED is checked)
2) and then i did the linkage, under identifier 'harmony'
- exported it for actionscript
- exported it in first frame
3) i put the above code in my actionscript
4) i also embedded my fonts under character, uppercase, lowercase, numerical, and punctuation.
5) I went thru every goddam text property and font page of AS Definitive Guide.
RESULT: IT DOESNT DISPLAY MY TEXT!!!!
This is all i see in my text box>>
:21
Where did the word between <B>House ID</B> go and why it is not being displayed in bold?? Can anyone please help me, i will go nuts soon!! I mean this cant be any harder to display a f%^ text!!!
Font Display Problem -- My Holes Are Missing
When I export my SWF, the letters with holes in them (i.e. o, p, a, d, b, q) don't have their centers. This makes my o's look like dots. It's like you have a stencil and the center is removed, so that it's filled in.
I am using pixel fonts, and I tried it with a few different ones, and some have the problem, while others don't. Specifically, the ones from MiniFonts and Fonts For Flash are fine, but the rest have this problem.
If I check the "Use Device Fonts," the problem goes away, but then no one will be able to see my pretty fonts. What is going on, please??
Using Textformat To Display An Embeded Font With Mask
How come I cannot get my text to show when I embed the font? When embedFonts is set to false the text displays under the mask just fine. As soon as I change embedFonts to true the text will not display. Even if I change the font to Arial. Any thoughts?
Code:
var txtsm:TextFormat = new TextFormat();
txtsm.bold = true;
txtsm.font = "Arial"; //"LoResNine Wide";
txtsm.align = "center";
txtsm.size = 9;
txtsm.color = 0x000000;
//bold text format for rollover
var txtbg:TextFormat = new TextFormat();
txtbg.bold = true;
txtbg.underline = true;
txtbg.font = "LoResNine Wide";
txtbg.align = "center";
txtbg.size = 9;
txtbg.color = 0xFF0000;
_root.mc_nav.mc_1.createTextField("txt1", 6, -20, -8, 40, 20);
_root.mc_nav.mc_1.txt1.setNewTextFormat(txtsm);
_root.mc_nav.mc_1.txt1.selectable = false;
_root.mc_nav.mc_1.txt1.embedFonts = false;
_root.mc_nav.mc_1.txt1.antiAliasType = "advanced";
_root.mc_nav.mc_1.txt1.text = "home";
Installed Font Doesn't Display Correctly
Hi,
I just installed a new font and it doesn't display correctly in 8 or cs3. It displays fine in font book. I've tried embedding it, substituting it etc. I've tried logging off my mac and shutting down. It still won't show up. The font displays correctly on other macs and on Windows machines but not my mac at home. It just replaces it with a system font.
What am I doing wrong and how can I fix this?
Any help is much appreciated.
Thanks!
Text Display Issues With HtmlText, Embedded Font
Hey All,
I'm having an issue with the display of my hyperlinks in a textfield that is using embedded fonts. It offsets the hyperlinks to the left along the line they are on and the underline doesn't stretch all the way under the text field. The text display normally when I don't embed the font. For some reason I think this might have to do with the embedded character range so I opened it up. Does anyone know if this range is enough or if there are special characters flash uses that need to be embedded for their width even though they arn't displayed.
Embedded range:
[Embed(source='MyriadPro-Regular.otf', fontName='Myriad Pro', unicodeRange='U+0000-U+00fe')]
Here's a link to the related code:
http://pcpnew.privatepaste.com/a7eKaAuCTt
Need To Display Multiple Font In Single Text Field
Hi All,
I am working on a flash application which would have a text field displaying multiple fonts in it. I have embedded the fonts and have added it to the library.I can view them in my computer whereas when viewed in another computer without the font used, display is different.
Add a <font face="library font one">registered mark </font>directly (®) or <font face="library font two"> with a Unicode escape sequence</font>
After the fonts are embedded size of the swf does go up. What could be wrong?
Dynamic Text Fails To Display More Than One Font Style?
Hi,
I'm creating a scrollable text field. Inside, I have a few headings (14pts, blue)with copy (10pts, black)in between. Anyhow, it looks fine in Flash, however when I test it, the whole thing defaults to the heading style. The heading and all the copy is 14pts and blue, yet it doesn't show that in the Flash working environment? Any clues as to what I may be doing wrong?
Thanks,
Dan
Dynamic Text (only Display Small Font Size)
I made a copy of a movie clip that uses dynamic text from a txt document. The text is formated in the text document as html and selected in Flash to render as html text. The first instance of the text works perfectly with bold, font sizes that differ the works BUT when I made a copy of the movie clip and configured the new variable and txt filename suddenly the dynamic text display as tiny. When I take the "render and html" away in Flash then it's fine. Can anyone shed some light please...Thanks
You don't need eyes to see just the vision because there are always more ways and different answers to what we are used to...
Why Wont My Font Display Correctly When Published? - Desperately Need To Work It Out
im using a .tiff font for pc and flash 8. ive trying the font with all the diff anti-alias settings and published the movie, in publish it looks fine, but as soon as i import it to dreamweaver and pres play the font doesnt display. werid. i have no idea why its doing this.
i changed the font settings to 'use device fonts' an dit works. but the charchetrs of the font look well bad..
any suggestions would be super appericasted as the client is on my back about this!!
thanks a mil
My Dynamic Text Field Wont Display Some Font Characters
I have a dynamic text box that loads text from an external file... mmy problem is that the chatcters æ, ø and å (and the right part af the word they appear in) are displayed as cute little rectangles...
What to do, what to do??
I've tried to "embed to font outlines" (don't knows what it means, but why not try??), but then the text just disapears
heeeeeee(eeeeeeeeeee)lp
Embedding Font Outlines Fills Open Characters And Does Not Display Unicode
i generated a unicode truetype font using fontographer 4.1.
then, in Flash mx i created a dynamic text field, checking font outline embedding to "all".
then i load utf-8 encoded variables into the movie from a php script.
the first problem is that letters with "holes" like A, D, O, P, etc. are displayed with the holed FILLED!!!
second, the unicode chars are not displayed. i tested that with actionscript by checking the character codes of the loaded text strings, and it gives plain ASCII numbers, which i then convert to unicode notation uXXXX, and only then they are displayed correctly.
ok, i tried using shared fonts. DOES NOT WORK! well.. it works only partly - the font _is_ loaded, but in the movie, where I load the font, no frame labels are recognised, so when i write gotoAndPlay("test") (and there _is_ such label) the movie resumes playing from the first frame as if it could not find such label.
what's going on, people??? help!
Make Colour/font/size Menus Display For User Selection
hi folks,
with AS2 is it possible to make the 'embedded' Flash colour swatch/mixer appear, while an app is running, so that a user can interactively select their choice of colour and have it applied to a screen object? IF yes, how is the colour swatch/mixer made to appear?
similarly, is it possible to have the 'embedded' Flash fonts menu be displayed by a user for their selection of font?
also, font size menu?
font style selection I'm not worried about.
many thanks.
Anyone Know Flash CS3 Embed Font's Glyphs Range With Font Class(no TextField )
I have add some font by Font class in the library
(TextFeild.embedFonts=true)
but the font's glyphs looks not enough.
when i use text String " ü ä ö ß π à â ç è é ê ë î ï ô ù û œ "
only the "Ï€" and "Å“" is can be visible.
Font.hasGlyphs also return false;
if i only create a TextField, and Click the Embed button selection glyphs range.
the text will be fine.
but i won't use TextField by drag to the stage
i heard in flex:
@font-face {
src:local("Arial");
fontFamily: myFont;
flashType: true;
unicodeRange:
U+0041-U+005A, /* [A..Z] */
U+0061-U+007A, /* a-z */
U+0030-U+0039, /* [0..9] */
U+002E-U+002E; /* [.] */
}
so what can i do in Flash CS 3?
thanks a lot
i really tried working on this.maybe i just need go back use the .....TextField.
How To Separate The Bold Style Of A Font In The Flash Font List.
Hello!
Im working on a project that has font names coming from xml.
The thing is, when the font is set to Luxury Text Bold from xml, flash cant find the font and displays nothing
The font file exists with the name, but flash will only show one in the font list (Luxury Text).
On a mac it displays separate styles too.
How would I fix this?
Thanks for any help
Martin
PS. tried publishing on a mac, but there were other issues then
edit: this problem would be solved in CS4, you can select styles when opening a document which has fonts whose names dont exactly match the ones on your pc etc. You can now select alternate styles there, inability to do so in CS3 actually caused the problem in the first place.
Detect Flash / Display If Have / Display Image If Not.
Im using PHP so this is for "programmers" who use flash (or anyone who knows php enough to make a detection script).
I need to have a flash movie displayed on a page if it can determine whether or not the browser has the flash plugin. If it doesn't (ie can't tell what version, no plugin, etc) then I want it to display a GIF/jPg instead.
Using PHP and Flash 5
Help appreciated.
Flash Application Font-Face And Font-Style
This is a similar thread to one I posted earlier but this one is more detailed to explain my problem
Does anyone know how to change the programs font-face, font-size, font-style etc ... of the console? I'm referring to all of the outer workspace area, not the stage.
I found the image below at some website by google just to illustrate:
http://cis2.stvincent.edu/martincc/introwpd/flash/flashscreen.jpg
See the panels on the right side? Swatches, Character, Sound panels. On my computer, the font size for these words and for everything inside these panels are microscopic. They are so small it can't be read unless you stare at it for a while.
How do I change the font size or face for these fonts?
Now you see the top of the screen, where it says "File Edit View Insert Modify Text Control Window Help"? All of these font sizes are perfectly normal just like everything on my computer. I also use Adobe Photoshop CS 8.0 and the panel window fonts are perfect as well as everything else, so I know that it is a problem only with my Flash 5.0.
I would appreciate any help you guys can give me, as it takes me forever to work on a project, I have to stare for a while to figure out what the panel text says.
Edited: 08/01/2007 at 04:57:30 AM by reformedman
Why Cant Display "Sydnie Font" Correctly?
Hi, I am doing a school project using the Flash MX. I need to use the font-Sydnie for some displays. However, whenever I test the movie..it appears differently and its seems like some of the letters get sort of distorted..
Any experts who can help me??
Attached is a screen capture of the "bad" output which I will get..
Thanks alot..
?Flash/Photoshop?
? Why, When I Import A Photoshop File, Does The Picture Get All Ugly And Messed Up ?
Flash And Photoshop?
how do i import a piece of flash (a text effect made in "flashtyper")into photoshop so i can upload to web
thanks!!!
Russ
Flash And Photoshop
Hello,
i am using flash mx and to work on my images i use photoshop.
1. What is the best way to send images from photoshop to flash?
2. Does anyone knows any photoshop foruns and filters...i am in urgent need of some good filters.
Thank You,
Miguel
Photoshop To Flash
I'm trying to move my layers in my photoshop file into flash (preserving the layers)... the only way I can think of is to move each layer one by one
unfortunately, copying a layer into the clipboard doesn't preserve transparency (instead, it's superimposed on a white rectangular background), and the only way I know of to otherwise preserve transparency is to save each layer out as a gif file
not only is this tedious, but it destroys the quality of the bitmaps that I'm trying to send into flash, since gif has such horrible image quality.
Does anyone know an easier way to do this?
thanks
From Photoshop To Flash MX
I have designed my site in Photoshop and I want to bring it to Flash MX but keep the same quality.......... How could I do this without loosing the quality of my pic?
Photoshop And Flash
is there a way to selcet a image from photoshop, and put it into flash so that the image has a clear back ground?? so u can see behind the picture if there is no colour in thgat section?
thnx
Livo
|