Substitute Fonts
Hi all,
I've had this problem with substitute fonts in the past, but now my curosity is peaked. I have an openface font that renders fine in illustrator, but when imported into Flash8, the sucker doesn't reneder. Even after changing the substitue font, the font still renders as system default?!
Any thoughts? moreso is there one particular type of font (truetype, openface...) that flash prefers?
thanks - b
KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 02-20-2006, 07:49 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Substitute Fonts
Is there a way to simple substitute a font with another in a whole flash document?
I NEED To PAY Somebody To Substitute Fonts For Me.
Not sure if this is allowed here but I'm desperate.
I've got 10 flas that have a futura condensed font which needs to be changed to a similar looking windows font such as arial.
It is simply the 3 tooltip words just like at http://www.swfaudio.com except on 10 flas just like it.
I'm desperate and will pay via paypal to anybody who is interested.
Serious Coders only as I'm on a massive deadline.
Contact me at kleinmeulman at gmail dot com if you are interested.
Sincerely,
Paul Kleinmeulman
Substitute Fonts
Hey guys,
I have a fla that I didn't have the fonts, so I picked substitute fonts.
I like the substitute fonts better and want to make the the permanet fonts, how do I do this?
Thanks,
Font Substitute
I'm working with a template. Every time I open the project it asks about substituting fonts. I pick a substitute and save. I've saved the projects many many times yet every time, every version it still asks about the missing fonts when opening. How do I make my substitution choice permanent?
Also when I publish the html code has a long list of font specifications in it. I've never seen that before - should I leave that html stuff in there or do I need to embed or do something else?
Substitute Letter
I have a text box and when i press a button i want it to check for a SPACE in whatever they typed in the textbox. if there is one, change it to a _ (under score)
how is this done?
Variable As A Substitute Value
Hello,
I'm trying to use a variable "back" to keep a path to a movie clip and another "u" to add a number to the end of that path. I have 4 backgrounds that I want to swap depths and make their alpha go from 0 to 100 when the function is run. The actual swap depth and script works fine when using direct paths but when I try to sub in my variable values it does not. I trace the values and they are correct in the output window but still no go.
If anyone could clue me into what I am missing I would greatly appreciate it! Here is the function I am having problems with. Thank you.
Code:
function changeback() {
_root.layer +=2;
trace(_root.layer);
u++;
back = "this._parent.backMC.BackMC"+u;
trace(back)
if (u < 4) {
back.swapDepths(_root.layer);
var z = new mx.transitions.Tween(back, "_alpha", mx.transitions.easing.Regular.easeOut,0, 100, 1, true);
} else {
u = 0
}
}
HitTest Substitute
Does anyone have a good substitute for using hitTest in menu movieClips (so that they use the classic reverse (this.prevFrame()) when mouse rolls off the button)?
I'm having problems with my swf menu in html; the hitTest doesn't work if you roll off the swf (I can't post files because I don't have server access).
Thanks!
GetTimer Substitute
Hi, i want to use getTimer() to check time gap while loading data from database by remoting method to FMS.
It works for AS1 but FMS is showing error for getTimer method like this
Sending error message: D:ProjectsFMS_ApplicationSeverTimer.as: line 43: ReferenceError: getTimer is not defined.
So Please let me know the solution for getting time gap between sending and loading data in Flash media server.
Thanks in advance.
Best OnRollOver Substitute?
I realize that there is another thread that asks the same basic question, but I have some additional questions and I figured I'd ask them here instead.
Let's say I have a MovieClip sitting in a layer with an instance name of myMovieClip.
Question 1: How come when I trace(typeof myMovieClip) it returns object?
Question 2: How come when I attempt to trace any of this MovieClip's children, I get undefined?
Let's say I want myMovieClip to do something when a user rolls over it. I understand that simply typing myMovieClip.onRollOver = function(){} will not work anymore, and that I'm supposed to use three times as much code to create an event listener and subscribe it to myMovieClip, etc etc.
Question 3: How come when I do this, myMovieClip doesn't make the mouse cursor turn into a hand, even though the proper mouse event is firing? Setting .mouseEnabled and .useHandCursor to true do nothing. Is this because the player thinks that myMovieClip is an object and not a MovieClip? How can I change this?
It seems odd to me that one of the most common routines in Flash development (programming mouse actions) has become this obscure. Is there any easier way to go about this sort of thing in the future? Do I really need to create a seperate class for every single element that I want to program mouse interaction for?
The migration section of the CS3 help files is very nebulous on all of this and contains the typical Macromedia/Adobe circular references with no supporting examples. Any help would be appreciated.
JPEG Substitute For Flash
When someone doesn't have Flash installed (what kinda browser are they using?) or if it's just disabled or what not, what is the code you need in order to provide alternate JPG or Code for the Flash area content.
I know you could create a javascript program to detect it and then either show the JPG or embed the SWF, but is there code that's built into the Flash Object or Embed tags?
_level0 Substitute In External Swf
i need to link to a move clip in my external swf. normally i would use _level0.name.mc but i know that because im loading an external clip, it will treat _level0 as the main time line in the mc its loaded into, not its own main timeline. so what do i use instead?
thanks
jh
Mmmmm Xmouse Substitute
I have this code which uses the _xmouse property.
The problem is is that I want the function to be automatic and not rely on the mouse position.
The code turns the pages of a book.
Thanks in advance
G
code:
//__________________F L I P P I N G F U N C T I O N S
//
// How to adjust position of flipping page
// based on a value between 0 and 1
function flip(curVal) {
var rot = dir*45*curVal;
FBPageMask._rotation = FTPageMask._rotation = -rot;
FBPage._rotation = FShadowMask._rotation = (dir*90)-rot*2;
FShadow._rotation = SShadow._rotation=(dir*45)-rot;
}
//
//
// how to determine position of flipping page
// returns a value between 0 and 1
// zero being no-flip and one being full-flip
function getPageRatio () {
if (dragging) {
// if dragging page position is determined by mouse position
// the 20 helps advance the turning page when the button is pressed
pageRatio = -dir*(_xmouse-startX-dir*20)/(2*pageWi);
} else {
// if not dragging; auto increment page towards final position
pageRatio>0 ? pageRatio += autoStep : pageRatio -= autoStep;
}
// if out of bounds
if (pageRatio<=0) {
pageRatio = 0;
if (!dragging) {
flipDone();
}
} else if (pageRatio>=1) {
pageRatio = 1;
if (!dragging) {
flipDone();
}
}
return (pageRatio);
}
//
//
//
//
//
//_____________C O N T R O L I N G F U N C T I O N S
//
// What to do when you press a page flipping button
function startFlip (dir) {
pageInit (curPage+dir, dir);
startX = dir*pageWi;
dragging = true;
RButton._alpha=0;
Lbutton._alpha=0;
this.onEnterFrame = function () {
flip(getPageRatio());
}
}
//
//
// what to do when page is released
function flipRelease () {
dragging = false;
if (pageRatio>0) {
curPage+=2*dir;
}
}
//
//
// What to do when pages are done flipping
function flipDone () {
this.onEnterFrame = null;
RButton._alpha = 100;
LButton._alpha = 100;
if (curPage!=.5){
LButton._visible = 1;
}
if (curPage!=maxPages+.5){
RButton._visible = 1;
}
// Delete hidden pages to save resources
if (pageRatio==0) {
FShadow.removeMovieClip();
FShadowMask.removeMovieClip();
SShadow.removeMovieClip();
SShadowMask.removeMovieClip();
FBPage.removeMovieClip();
FBPageMask.removeMovieClip();
if (dir==1) {
SRPage.removeMovieClip();
} else {
SLPage.removeMovieClip();
}
} else {
FTPage.removeMovieClip();
if (dir==-1) {
SRPage.removeMovieClip();
} else {
SLPage.removeMovieClip();
}
}
FTPageMask.removeMovieClip();
}
// THIS IS THE PART THAT SHOULD MAKE THE PAGES FLIP EVERY 4 SECONDS???
function waiting() {
clearInterval(myTimer)
myTimer = setInterval(startFlip(1),4000);
myTimer = setInterval(fliprelease(),4200);
}
//
this.onEnterFrame = function() {
waiting();
}
How Do I Substitute Texts In Loaded Swf?
Hi, I've been looking for a clue how to do this but haven't found a solution yet.
I'm loading animated swf's into movieclips based on XML that I am parsing in my main swf, and for translation purposes I sometimes need to substitute the textdata of the textfields in the loaded swf's. I've declared instance names for the textfields, "text1", "text2", and have put a name in the "var" field for each textfield, in this case "textobj1" and "textobj2".
After I have loaded the swf into a movieclip that I have called "myMc", I've tried to list it's objects using this code with no result:
Code:
for (var myObj in myMc) {
trace('Found: '+ myObj + '.' + typeof(myMc[myObj]));
}
// this returns nothing
While this code in my main swf produces nothing, the same code put in the swf that is loaded, and looping over "this" returns:
Code:
for (var myObj in this) {
trace('Found: ' + myObj + '.' + typeof(this[myObj]));
}
// this returns output:
Found: textobj1.string
Found: textobj2.string
Found: $version.string
Found: text1.object
Found: text2.object
If I somehow could get help in accessing these textobjects I could easily write the code to replace the textdata myself.
Is there any way of accessing these textobjects without adding code to the loaded swf's? And if not, how do i go about it?
Thx!
[F5] Delete Handler Substitute?
Using Flash 5 - I'm trying to use a reasonable substitute for delete the enterFrame once the clip motion stops. Didn't such formal handlers come into practice with MX? What's the best substitute approach (besides updating my Flash!) ?
Cue Point Substitute For H.264 Video?
I'm doing my first H.264 video in Flash because I need to show it on a very big screen (1920 x 1080). However, I also need to trigger various actions in the code based on cue points in the movie. In .flv files, I would just add cue points in the flv encoder and use those to trigger the actionscript. What do I do to emulate this in H.264 videos?
OnEnterFrame Substitute In Flash 5
The onEnterFrame action isn't supported in Flash 5. The closest thing I can find to a substitute is onClipEvent (enterFrame). However, this must be on a movie clip. Is there any similar action in Flash 5 that can be put on a frame in an actions layer and do the same job?
I'm trying to do beginner tutorial #44, which uses onEnterFrame to tell two movie clips to move to the left a certain number of pixels.
The tutorial puts this action in the first frame of the actions layer:
this.onEnterFrame = function() {
_root.moveLeft(reel_speed);
};
Since I'm moving two movie clips, and which two movie clips is changing, I can't use onClipEvent.
Anybody have any ideas? (other than to go buy Flash MX 2004 )
Can We Substitute Key.isDown For OnRelease?
How do I give a string like this
if(Key.isDown(Key.SHIFT)){
this kind of function:
icon1_mc.onRelease = function(){
???
in other words, I want the Shift key (or other keys) to trigger an effect only when released. This would be especially helpful as I use numbers for sorting arrays etc. and key.isdown often causes the numbers to move in greater than 1 increments between clicks.
Can We Substitute Key.isDown For OnRelease?
How do I give a string like this
if(Key.isDown(Key.SHIFT)){
this kind of function:
icon1_mc.onRelease = function(){
???
in other words, I want the Shift key (or other keys) to trigger an effect only
when released. This would be especially helpful as I use numbers for sorting
arrays etc. and key.isdown often causes the numbers to move in greater than 1
increments between clicks.
Substitute For _root In Classes?
Hi
Im quite new to AS2 and I have just started writing my own classes in .as files. I am now wondering what the structure is for calling movieclips and buttons on the stage. I have been using _root but have read that it is not a clever choise if you want to import other swf files into your project. Is there a smart way here to structure my classes?
Thanks
/Erik
Is It Possible To Substitute Flash With A Graphic
Normally when someone doesn’t have flash installed on their system, a pop-up appears to download the plug-in. Instead of the pop-up, I’m wondering if it’s possible to have a graphic appear in the html table instead of the Flash swf when this occurs? Maybe with Javascript or something.
Odd customer request...
Thanks for any info in this.
Need Some Frame Actions Substitute For OnClipEvent
Hi pplz..
I have some problems with ... it's rather stupid but i cant figure it out..
im loading a XML driven menu that holds a writer and some of its publications..
(its like Category - Products kind of menu)
Well i borrowed a scollbar source from a flashkit submition
that's based on The movieclip action (onClipEvent)
All is well but i need to run the actions from the timeline
instead of from the clip....
is there anyone who has a good way to run this script from the timeline
onClipEvent (load) {
this.loadVariables(SelectedStory);
scrolling = 0;
frameCounter = 1;
speedFactor = 3;
numLines = 3;
origHeight = scrollbar._height;
origX = scrollbar._x;
needInit = false;
function initScrollbar() {
var totalLines = numLines+TextBox.maxscroll-1;
scrollbar._yscale = 100*(numLines)/totalLines;
deltaHeight = origHeight-scrollbar._height;
lineHeight = deltaHeight/(TextBox.maxScroll-1);
}
function updateScrollBarPos() {
scrollbar._y = lineHeight*(TextBox.scroll-1);
}
}
onClipEvent (enterFrame) {
if (needInit) {
if (TextBox.maxscroll>1) {
initScrollbar();
needInit = false;
}
}
if (frameCounter%speedFactor == 0) {
if (scrolling == "up" && TextBox.scroll>1) {
TextBox.scroll--;
updateScrollBarPos();
} else if (scrolling == "down" && TextBox.scroll<TextBox.maxscroll) {
TextBox.scroll++;
updateScrollBarPos();
}
frameCounter = 0;
}
frameCounter++;
}
onClipEvent (mouseDown) {
if (up.hitTest(_root._xmouse, _root._ymouse)) {
scrolling = "up";
frameCounter = speedFactor;
up.gotoAndStop(2);
}
if (down.hitTest(_root._xmouse, _root._ymouse)) {
scrolling = "down";
frameCounter = speedFactor;
down.gotoAndStop(2);
}
if (scrollbar.hitTest(_root._xmouse, _root._ymouse)) {
scrollbar.startDrag(0, origX, deltaHeight, origX);
scrolling = "scrollbar";
}
updateAfterEvent();
}
onClipEvent (mouseUp) {
scrolling = 0;
up.gotoAndStop(1);
down.gotoAndStop(1);
stopDrag();
updateAfterEvent();
}
onClipEvent (mouseMove) {
if (scrolling == "scrollbar") {
TextBox.scroll = Math.round((scrollbar._y)/lineHeight+1);
}
updateAfterEvent();
}
onClipEvent (data) {
needInit = true;
}
........................................
Thanx
Help Badly Needed : Verdana Substitute
Hi all,
I'm struggling with some fontquestion for 24h now and i hate to say i need help on this one
I know there are pixelfonts
I know they must be build for flash usage
I know the top5 pixelfontsites
I know that you must use full integer cordinates
I know that (nearly) all pixelfonts are 8pix height for usage
I don't want to use static txt
I wan't to include the font (embed)
Question : Why the hell i do not find a pixelfont substitute for verdana
There are a lot of just regular nicelooking OS-based system fonts aka pixelfonts for Mac & PC but if you use them in flash then KABANG ... so fuzzy yuka! All other pixelfonts are nice BUT NOT as nice as a regular verdana / geneva / Charcoal / Chicago / Georgia and all other nice reading screenfonts (aka nearly pixelfonts akoording how you look at it)
Please help me on this one...(10h before killing myself)
B.
Flash Substitute Image Or Animation
I recently came across a JavaScript that checks for the Flash plugin and substitutes the swf with a static image if none is detected (see below).
I was wondering if there exists a script that will generate a static image of the first frame of the swf file on the fly, and then use this generated still image to display. The flash file will be updated frequently, so generating the static pic on the fly will make updating more manageable.
Earlier mentioned coed:
Flash Detect: Image or Animation
In this script, the HTML page will check to see if the user has Flash. If the user has Flash, the animation contained on THE SAME page will be displayed. If the user does not have Flash, a graphical representation of the animation you provide will be displayed.
You will need to make some minor modifications to the above script for it to work properly for your site. Replace all instances of script.swf with the path to your Flash movie. Likewise, replace all instances of script.gif with the page to the image that will be displayed if the user does not have Flash installed.
The above pieces of code should help you in creating your own Flash Detection script. There is no way for you to cover 100% of all users. There will always be some user on a new, arcane browser that does not work with the re-direction. With these scripts, I am confident that you will target a majority of users on various platform/browser configurations!
Here's the code:
<SCRIPT LANGUAGE=JavaScript1.1>
<!--
var MM_contentVersion = 6;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
var words = navigator.plugins["Shockwave Flash"].description.split(" ");
for (var i = 0; i < words.length; ++i)
{
if (isNaN(parseInt(words[i])))
continue;
var MM_PluginVersion = words[i];
}
var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0
&& (navigator.appVersion.indexOf("Win") != -1)) {
document.write('<SCR' + 'IPT LANGUAGE=VBScript>
'); //FS hide this from IE4.5 Mac by splitting the tag
document.write('on error resume next
');
document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFla sh." & MM_contentVersion)))
');
document.write('</SCR' + 'IPT>
');
}
if ( MM_FlashCanPlay ) {
document.write('<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');
document.write(' ID="script" WIDTH="300" HEIGHT="200" ALIGN="">');
document.write(' <PARAM NAME=movie VALUE="script.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> ');
document.write(' <EMBED src="script.swf" quality=high bgcolor=#FFFFFF ');
document.write(' swLiveConnect=FALSE WIDTH="300" HEIGHT="200" NAME="script" ALIGN=""');
document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
document.write(' </EMBED>');
document.write(' </OBJECT>');
} else{
document.write('<IMG SRC="script.gif" WIDTH="300" HEIGHT="200" usemap="#script" BORDER=0>');
}
//-->
</SCRIPT><NOSCRIPT><IMG SRC="script.gif" WIDTH="300" HEIGHT="200" usemap="#script" BORDER=0></NOSCRIPT>
Any Idea Of Another Way To Do This? (Substitute Button For HitTest)
Ok i have a few questions. The first is........
I'm making a small game, where in a fight there are huge thorns bursting out of the ground. Touch one you die/eventually get hurt. So far i've tried a hitTest method, but that did not work right because the thorn is not square, but the selection box around it is square, so even if you get close enough to the thorn, you die....that shouldnt happen.
So then i tried making a button, made it's hit the thorn, put it inside a mc, that has a movement script, put a script in the button that says when its rolled over or dragged over, execute whatever (pain). Since the cursor moves your character, this seems ok.
Then i realized there is an easy escape glitch, if the character is over the button, but not the mouse, like if you went outside the game or something, the thorn just goes right through you.
So now my question is, is there a fairly simple method of collision detection that doesnt use it's selection box, nor button? That if IT REALLY hits the character, the action will happen?
Thanks
How Do I Substitute Differnt SWF Files In Fullscreen-Mode [Mac OS]
The project contains a set up of independent SWF files [different FPS // PluginSizes…] that run with an ordinary fs command script in fullscreenmode:
to launch an new project from a running swf file a load movienum [ level 0 ] is executed to adopt the settings [fps and size] of the new file.
Everythings works fine with the procedure running the projects on Win - when I try to launch the same project on mac os [either 9 /or X] the initial swf file sets regular to fullscreen mode while each of the following swf-files loaded [level 0] close the fulscreen to appear on the upper left corner of the screen -
How do I open different swf-files [with unique fps and size] in fullscreen mode running Mac OS?
HTML File Substitute And Image Instead Of Flash
HELP! I already uploaded the website and it contains flash for the header. I just found out that people who do not have flash it just shows a blank box. How do I detect the if the audience has flash and if they don't just have a picture show up.
PLEASE HELP!
Thanks,
Heather
Website: www.jacobusenergy.com
I Will Pay For The Solution To This - Flash XML Gallery Substitute SWF For Text
Hi, all,
I'm reposting this message as I realized I mis-titled it the first time. And I really do mean it: I will pay for a working solution to this problem. I need to do this for a client and not getting it done is not an option.
I'm using Flash CS3 and have built a slide show using the excellent XML Photo Gallery tutorial, as well as adding sound thanks to another post in this forum. It's all working like a charm. The only bad thing is: I want to place .swfs files where the dynamic text is right now, and can't figure out how to do it.
What I really want is one large image/JPG on each slide, and below that, instead of the dynamic text shown in the tutorial example, a smaller .swf file should appear. (For this project, the text itself needs to be animated, and I can't do that with the <caption>/dynamic text option; I need to insert an SWF.) I'd really like to do this using XML since that's working so nicely otherwise and will be so easy to update in the future if the client wants to add new slides.
Can anyone provide me with the actionscript code to use in the context of this photo gallery? I'm not advanced enough yet to know where or how to place code that doesn't fall into this gallery/AS format.
(I'm not being lazy: I have looked all over these forums for hours, read through about 60 pages of tutorials, went through the whole XML Photo Gallery with Thumbnails hoping I could somehow alter that to meet this project's needs... no dice. I had gotten far enough in that tutorial to be able to insert an empty movie clip where I want it, but could only figure out how to fill it with JPGs from the XML, not SWFs... and in any case the images did not then work correctly while advancing the slides.)
Here is my current Actionscript code:
************************************************** *****
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
description = [];
audio = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
description[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
audio[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
}
firstImage();
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("infant_images.xml");
/////////////////////////////////////
listen = new Object();
listen.onKeyDown = function() {
if (Key.getCode() == Key.LEFT) {
prevImage();
} else if (Key.getCode() == Key.SPACE) {
nextImage();
}
};
Key.addListener(listen);
previous_btn.onRelease = function() {
prevImage();
};
next_btn.onRelease = function() {
nextImage();
};
/////////////////////////////////////
p = 0;
this.onEnterFrame = function() {
filesize = picture.getBytesTotal();
loaded = picture.getBytesLoaded();
preloader._visible = false;
if (loaded != filesize) {
preloader.preload_bar._xscale = 100*loaded/filesize;
} else {
preloader._visible = false;
if (picture._alpha<100) {
picture._alpha += 10;
}
}
};
function nextImage() {
if (p<(total-1)) {
p++;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
sound = new Sound();
sound.loadSound(audio[p],true)
}
}
}
function prevImage() {
if (p>0) {
p--;
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
sound = new Sound();
sound.loadSound(audio[p],true);
}
}
function firstImage() {
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[0], 1);
desc_txt.text = description[0];
sound = new Sound();
sound.loadSound(audio[0],true)
}
}
function loadSound() {
if (loaded == filesize) {
createEmptyMovieClip("sound_mc",2);
sound_mc.sound_obj = new Sound();
sound_mc.sound_obj.loadSound( sound[p], true);
sound_mc.sound_obj.play();
}
}
************************************************** *****
(It's not showing the preloader and the counter is missing on purpose; I don't need those items for this project...) In another version I have deleted the desc_txt code and the dynamic text field in Flash, substituting a new movie clip (in its own layer) called "description" and an external link to the SWF file in line 2 of each node of my XML file, closing and opening that line with <description> and </description> rather than <caption>.
Thank you for any help you can give! (Kirupa? Stringy? Anyone?) And please let me know how I can pay you: through PayPal, with a check, or what.
Fscommand("exec".... Substitute?
I feel like ahab chasing moby dick.
I am trying to create a flash projector program that sends variables to an external program (which is priadoblender-compiled php)
i thought fscommand("exec", userReg.exe + var1 + var2 + var3 + var4) would work because of MX2004 let it happen, but I am now working in flash 8 professional.
I know this doesn't work. I have read up and down.... forums, blogs, white papers etc.
I am looking for a simple alternative to this problem. I thought AFsaver might be the solution, but for the love of god, I can't figure out the syntax and the documentation on afsaver is slim to none.
is there some program that will allow me to just pass variables to an external program that will work in flash 8?
the premise is basic.
1) have flash projector call a program , perhaps with fscommand
2) pass variables to it, (any amount between 1-50 vars) the speudocode example I have above would be ideal...
I don't know how simple this is to manufacture. but I believe it would be simple enough to read the program name and parse out the variables from a single string.
if AFsaver has a way to do this, that would be great too. I would just need to know the syntax to make it work properly.
Small Fonts That Anti-alias Gracefully (NOT Pixel Fonts Though..)
Yo. Anyone know any good fonts that work in small sizes (8 pointsish) that dont go yucky THAT ARENT PIXEL FONTS? know pixel fonts are good, but im looking for a smoother look. a good example is (suprise suprise) 2advanced.com..... the fonts used for links are luverly...... Anyone?
[Fonts] Pixel Fonts Are Closing Gaps..
Hi there,
I've got a weird and irritating problem. I have a font, supernatural_10_02, which I use in a site. This is a pixelfont, so I'm taking special actions to make sure the fonts look non-antialiased. This works fine, the text looks very nice. Untill I export the movie, then the gaps in letters are being closed for some strange reason.
To ******** things, I've uploaded two examples. First an example of how the font looks on the Flash MX Working stage:
Then an example of how this same text looks when I export the movie:
What is going wrong? And what am I doing wrong.. Is there anything I can do to prevent those letters from closing? Please help!
I'm using Flash MX 6.0 on Windows XP
Ps: I've tried to export the movie on a Macintosh, the letters on that mac did not close?! Really weird..
Flash Fonts And Server Side Fonts
Hi,
I'm creating an application where users upload their images with flash and edit them. We are placing text over the images, and we allow the users to choose the fonts in which they write them.
The co-ordinates are saved to the application database and the server side code dynamically writes the text on top of the images.
I know in order for the server side application to write in the selected font it must be installed in the server. I am wondering what my limitations on fonts that appear in flash are ?
How can I increase the number of fonts that will function on both the flash application and the server side application? The application is being developed in as 2.0, but could be moved to 3.0 if this helps.
Thanks very much for any assistance!
mike123
Pixel Fonts Becoming System Default Fonts?
Hello, when I try to use some of the pixel fonts I have downloaded some of then turn into 'system default fonts' as if by magic and then fail to work, the ones that work like the FFF fonts don't turn into 'system default fonts'. Is there any way to stop my fonts becoming system default fonts, and would this ensure they dont muck up?
attached is a pic to show you what i mean.
Pixel Fonts Becoming System Default Fonts?
Hello, when I try to use some of the pixel fonts I have downloaded some of then turn into 'system default fonts' as if by magic and then fail to work, the ones that work like the FFF fonts don't turn into 'system default fonts'. Is there any way to stop my fonts becoming system default fonts, and would this ensure they dont muck up?
attached is a pic to show you what i mean.
Question About Using Non-system Fonts And Blurry Fonts
i'm using some miniml(vector-based?) fonts in my movie. how should i set my text options in order for the client to see the fonts and what would be optimal settings to avoid blur(right now they are placed on whole number increments and seem ok). thanks =)
Font In Preloader Uses Substitute Font
Hi therem
Just a quick question
I have created a preloader using Microgramma font for the updating percentage value
When the preloader is displayed on a pc that doesnt have Microgramma installed it chooses a substitute font
Is ther any way to get round this???
Cheers
J
www.omega-completion.com
Pixel Fonts / Bitmap Fonts
There are hundreds of pixelfonts out there, just check http://www.dafont.com/en/bitmap.php for example, but most of them don't seem to work with Flash!?
So far, after installing loads of them and trying them out I have only found the Kroeger, Hooge and Standard fonts from miniml.com and one called "Fixed_v01" to work...
I was wondering what pixelfonts you guys have tried? I would love to find a really small pixelfont like silkscreen that works with flash.
Register Fonts With System Fonts?
if you use
Code:
p_systemFonts = Font.enumerateFonts(true);
that will give you an array of all the system fonts, as font objects in each index of the array.
so p_systemFonts[0] might give you [Font Arial] or something like that
I need to register the font so that it can be used in my text fields.
This works great with Font Class objects i make in the library. let's say in the library i have a font object called "Rockwell"
then i'd use
Code:
import Rockwell;
Font.registerFont(Rockwell);
works great. i just need to do the same thing with a system font...
this issue is that when you use Font.enumerateFonts(true), it gives you an array of Font Objects not classes.
registerFont is looking for class for the argument.
is there a way for me to get an array of the system fonts as classs, not font objects... or to get a class from the font object...
thanks in advance!
Fonts In IDE Do Not Match Up With Windows Fonts
Maybe I am just crazy or I do not know something that is quite basic but I am having a tough time matching up fonts for designing my stage. I've created a stage, added a textfield with the text "TEST" and set the font to Arial - 24 pt - Bold. I then open up Notepad, type the word "TEST" and set the font to Arial - 24 pt - Bold.
For some reason the text is much smaller than it is in Notepad. Any ideas why this is happening? I'm sure that it is something obvious I am missing.
Device Fonts Vs. Embedded Fonts
Hi there!
I have a little X-File I'm trying to figure out here. Any hints would be appreciated.
I have six SWFs. All of them have the same exact design. However, each of them has a different amount of text using an embedded font. The first one has about 3,500 characters (with spaces). The second one has aproximately 6,000 characters (with spaces). The third one has 14,000 characters, more or less.
The fourth SWF is just the first one, but using a device font instead. The fifth one is the second SWF with a device font, and the same goes for the sixth one.
All six SFWs can be scrolled down.
I've taken times. I've measured the time taken to scroll down the entire text in each SWF. All tests have been run down under Windows XP and with version 9 of Flash Player, and a 'high' value of the quality parameter.
I have read in the Flash documentation that device fonts are managed faster by Flash Player, as they don't use any anti-alias settings and its renderization lays down on the OS' font technology. Let me introduce the results:
First SWF (deviced one) has taken an average time of 0 min 59 s, 71
Fourth SWF (embedded one) has taken an average time of 1 min 12 s, 04
As guessed, it seems that device fonts are a little bit lighter than embedded fonts.
Second SWF (deviced one) has taken an average time of 1 min 36 s, 04
Fifth SWF (embedded one) has taken an average time of 1 min 52 s, 64
In this set of tests, we can appreciate a similar behaviour. But, pay attention...
Third SWF (deviced one) has taken an average time of 5 min 50 s, 81
Sixth SWF (embedded one) has taken an average time of 3 min 52 s, 60
Funny, isn't it? This set of tests just drives me nuts. One would think that results may be swapped, but, no matter how many times I try it, it always goes the same way.
Has anyone observed this behaviour before? Is there any known bottleneck in the underlying Windows Font Technology? Does it make any sense at all?
Thanks in advance!
Edited: 04/26/2007 at 02:40:15 AM by josermae
Embed Fonts When Fonts Are Called In XML
Does anyone know how to embed a font in AS3 when there is no dynamic textField in the actionscript because the font is called from an xml file? It's part of a menu. I embedded the font in the component as well as added it to my library and exported it for actionscript. I think it's all good there.
The xml file uses:
<textFormat>
<font>Univers Condensed</font>
<size>15</size>
<bold>true</bold>
<color>0xFFFFFF</color>
<align>right</align>
<leading>0</leading>
<rightMargin>20</rightMargin>
</textFormat>
The Univers Condensed font isn't showing on the menu on a computer that doesn't have Univers installed. The menu component I'm using is Jumpeye's accordion tree menu. I was able to do it on the AS2 version, but not the AS3 version. Any tutorial I can find for embedding fonts in AS3 says to use the dynamic textFiled in the actionscript, but in this case I don't have that. Any thoughts would be appreciated!
Fonts Fonts, I Just Don't Know These Things
Can someone explain what kind of fonts i need to use in my dynamic text field so when i preview my movie they would look same as static text.
If you could give some info on it, cause my preloader does not look very charming with these ugly fonts.
Thank you!
How Can I Use Fonts Other Than Device Fonts? Help
Hi guys.
I tried opening my Suitcase first (to load fonts to the system) and opening Flash MX (6.0), but it's not letting me use any other fonts than its device fonts (_serif, _typewriter, etc)
tried restarting the computer. didn't work.
can anybody help me?
thanks!! !!! !!!!!
Laura
Fonts - Want To Use 2 Different Fonts, But It's Not Working
Please help! I can’t get a font to stick when other people are viewing my site from their computers.
I have one phrase that I want to be in an Old English or Lincoln (which is what I have on my machine) font every time it appears. (Needless to say, the rest of the text on the website is in a different font.) To others, this phrase appears in the same font as the rest of the website, but I want it to stand out in its own font.
In some cases, this phrase appears on a button, as static text.
In other cases, this phrase appears in the body of a large block of text which is dynamic and has a scrollbar attached to it.
In a third case, it is dynamic text that is linked to another webpage.
I’ve read a little bit about device fonts and I’m getting a warning message about not being able to create outlines for some of the fonts.
Please advise me on how to rectify this problem.
Thank you!
BAD FONTS NAUGHTY FONTS
I am having a headache with some clips which contain text. Please see the following... http://www.virtualentourage.com/www/main.htm
I have selected the text so it is aliased for readability and still it looks awful when exported and viewed on a PC. I am a mac opereator and it appears fine on my machine when I look on the PC it looks really grubby (Might be screen res since I have 23 apple display). I am fairly new to Flash 8 so is there something I havent done correctly? Please help!
Using Fonts That Are Not Device Fonts...
Hai,
I have a SWF file(SWF only not FLA) with the textfield given a font that is not available in my system(fonts are embedded to that field). Is it possible to make use of that SWF file and get the same font in my Flash document.
Tell me how I could do this without downloading that font in my system.
Thanks
[FONTS] Pixel Fonts
hi all!
I just want to know where can i find free pixel fonts to download
i already downloaded the fontsforflash.com fonts... but i want more than that!
thanks who help me!
|