Possible To Get Extra Fonts
Sep 17, 2009I am trying to find a font to satisfy a client and I was wondering how I can get several new fonts in flash cs3?
View 1 RepliesI am trying to find a font to satisfy a client and I was wondering how I can get several new fonts in flash cs3?
View 1 Repliesmy web site has a lots of text field. it is xml based site.it is locally run perfectly but after i upload it to my server it's text fields' fonts replace to default fonts.some text gone down.so its confused to me.i used Myridpro font.now it is replace to default font .can u tell what is the solution for that..? [URL]
View 1 RepliesI save my (embedded) fonts in an external file (fonts.swf) that gets loaded at runtime. Pretty standard. I also use a bunch of UI artwork generated in the Flash IDE. Some of this artwork contains static textfields (thus, not proper TextFields that can change. Just frozen glyphs). Here's the problem: if I use the same font in any static textfield and then embed that same font into my collection of runtime fonts, the runtime font will refuse to render. It's the same effect you get if you set a textfield with embeddedFonts=true to use a font that isn't embedded. If I change the static textfields to use a different font, the runtime fonts work just fine.
[Code]...
Edited Short Version:The Adobe Flash docs list a property embedFonts on TextAreas:
A Boolean value that indicates whether the font specified in fontFamily is an embedded font. This style must be set to true if fontFamily refers to an embedded font. Otherwise, the embedded font is not used. If this style is set to true and fontFamily does not refer to an embedded font, no text is displayed. The default value is false. Regarding the "If this style is set to true and fontFamily does not refer to an embedded font, no text is displayed" statement: How can I detect in ActionScript when this scenario happens?
TL;DR Original Version: I have a flash application which loads external .swf files containing embedded fonts, so that these fonts can be used within the main application. We're accomplishing this by using the following ActionScript code on anything which uses custom fonts:
[Code]...
Right I can upload the font to the server.But the only examples I can find - require registerFont(Verdana);Which means I'll need to create a new SWF with the new font embedded and reupload to the server. I need an automated way of doing this or perhaps something different altogether?
View 2 RepliesI've recently had to format my computer and now having a problem with the flash actionscript window: the actionscript text looks like bold, or in a different font. The problem is that when I search for something like "flash" and "fonts", no matter which other words I use, always comes a lot of things about fonts for flash files, or for flash embedding fonts, but never for the program itself. Wich font is missing in my system that flash CS3 needs?
View 1 RepliesI want to start with a new as3 projekt in flash but whenever I open the actions panel and start whriting some code this is what I get -
View 2 Replieswriting a code for adding an extra space on every 5th items?I only know how to space them out evenly,
for(var i:int = 0; i<20; i++)
{
var item:MovieClip = new MovieClip();
[code]......
I have a flash object embedded inside a div, and for some reason it has like 10pixels space under it. Here is my code
Code:
<div class="content">
<object width="932" height="350">
<param name="movie" value="fade.swf">
<param name="wmode" value="transparent">
[Code]......
I can't figure out how to get rid of extra white space in the browser at the top of a swf file. It looks fine when I preview the file, but when I do publish preview in flash/ try to incorporate in HTML, there's an extra 1/4" at top of window.
View 3 RepliesI have a textbox and a button in flash. I send data to java server by entering data into the textbox. Firsttime the number of characters i am receiving are correct, from the second time onwards there is an extra character. i.e if i type 1 character it is showing 2.below is the code,
function msgGO() { if (inputMsg.htmlText != "") { mySocket.send(inputMsg.htmlText+"
"); inputMsg.htmlText = ""; }}
[code]....
Is there a file or some code I could make in order to add an extra color or two for syntax highlighting? Like having a certain color for function names and a different one for numbers etc.?
View 1 RepliesI am considering upgrading my copy of Flash Builder to 4.5, and would like a list of the new features in the new version before I commit. I have heard that the ASUnit tests integrate better than previously, and that there are some nice features like quick fixes, is there anything else? Finally, based on your experiences using it, are there any shortcomings to look out for / avoid?
View 1 RepliesI'm loading a Flex 4.5 module (it's a SWF file) using a PHP code like this:
$module = 'modules/'.$_GET['module'].'.swf';
if(!file_exists($module)) {
$module = 'error.swf';
} $size = filesize($module);
$contents = file_get_contents($module);
header('Content-Type: application/x-shockwave-flash');
header('Accept-Ranges: bytes');
header('Content-Length: '.$size);
echo $contents;
And it works very well.
Now I want to get some extra data to load and populate the module with that data in just one request handler, something like:
private function requestHandler(response:???):void {
var data:Array = response as Array;
mySparkModuleLoader.load("", data[0] as ByteArray);
myController.load(data[1]);
}
I was trying to do it with AMFPHP but the ByteArray seems to be broken or something because it doesn't show up, but the rest of the data is fine:
return array(
'hello world!',
new Amfphp_Core_Amf_Types_ByteArray(file_get_contents($module))
);
Maybe creating a multipart response like [URL] and handling it?
I have a simple button class. When the button is pushed I'm triggering an event on the parent level. What's the best way to pass a parameter to that upper level event?
[Code]...
Im still relativly new to bringing in xml to flash, but i have read some tutorials and other pages on it. Everything is working fine except for the fact that all the text that isnt an attribute as lots of extra spacing infront of it. I made sure my i set ignoreWhite to true but it still is cuaseing those spaces.
View 3 RepliesI'm having a problem with extra lines being added to my text anytime the stylesheet is applied??
Here's the actionscript:
this.createTextField("bodytxt", 0, 50, 30, 430, 200);
bodytxt.html = true;
bodytxt.border = true;
[Code].....
I have an FLA file that is one frame. ActionScript 3 code runs a few functions and when you click on things, other functions run. Pretty basic...I have some buttons and sprites that I would like to use with the external.AS file found here for tool tips: [URL] for my buttons and sprites.If I save the Tool Tip code at the thread above as 'tooltip.as', how do I use that in my FLA? Since I am using an FLA with Actions in Frame 1, I'm not using 'package' keyword... it just starts with import flash.display.Sprite; and goes on to set variables and functions. I'm not using a document class.
View 3 RepliesI have a textbox and a button in flash. I send data to java server by entering data into the textbox. Firsttime the number of characters i am receiving are correct, from the second time onwards there is an extra character. i.e if i type 1 character it is showing 2. Can someone tell me how do i remove it.below is the code,
function msgGO() {
if (inputMsg.htmlText != "") {
mySocket.send(inputMsg.htmlText+"
[code]....
I am currently maintaing a multi-linual app. It uses LoadVars.sendAndLoad() to populate dynamic fields with text appropriate to the user's current language. It works fine, except in a few cases. Certain Cyrillic characters, as well as certain Latin characters (such as Å‚) appear with an extra space after them. I have not figured out a way around this. I am using embedded fonts, and am embedding all the appropriate characters.
I've tried using different fonts, and I get the same problem with the same characters across all fonts. If I use device fonts, there is no problem, but this would have to be a last resort, since I'd like to have antialiasing, etc available. I have trace()-d the strings and have confirmed that there's no funny business going on with sendAndLoad(); the text is being properly downloaded.
Note that I am using Flash 8 targeting Flash 6, but targeting Flash 8 doesn't fix the problem. I am wondering if anyone else has run into this issue or a similar one.
Well I have this dynamic textfield on stage, and it receives a String using FileReference.name. So far, so good.
I wanna know if it's able to make flash 'cut' some extra text from long strings and show ellipsis instead.
I mean, if it receives "ABCDEFGHIJ", if the string exceeds the textfield width, it would show "ABCDE..."
I have a Date value and I want to add to that date 30 seconds plus.Example:
Code:
var serverTime:String = auctionFormatServerTime[0]
serverFormatDate = new Date(serverTime);
trace(serverTime) // Thu Mar 10 18:33:48 GMT-0300 2011
I need the following date: Thu Mar 10 18:33:48 GMT-0300 2011 to become:
Thu Mar 10 18:34:18 GMT-0300 2011
This means that the retrieved Date now has 30 more seconds...
i have done a project, in which, i have loaded set of check boxes in to a empty movie clip and i load that movie clip in to Scroll Pane component. all are working fine, but while scrolling, in the bottom of the scroll pane i got so much of extra empty space. How can i corrrect this.
View 5 RepliesIs it possible to create an Auto Run cd in Flash without having any extra software? I want to be able to create a cd that runs automatically with buttons on the menu that will take the user to individual files? Do I need special software to do this?
View 2 RepliesI'm trying to make a flashlight effect that automatically (not mouse controlled) goes over the text and image (all on the image) and then have the flashlight beam fade then open completely to the 900x400 image and stay visible...
View 7 RepliesI've seen people mention they can include .html, .js, etc files with their iOS for AIR publish when making an iOS application from flash.
What I haven't seen is how these people include extra files (html, css, images, videos, etc) to be packaged into the IPA during publish.
I'm using flash cs5... I've made a file uploader and it works great, only problem is it makes this textLayout_1.0.0.591.swf file (in addition to my actual swf)... is this really necessary? I have an embedded font that I think is putting this here and the whole thing doesn't work unless this swf is here.
View 2 RepliesI'm trying to build a workaround for embedding my (downloaded) flash videoplayer. (it's the JWplayer...)
At the moment, when somebody wants to embed the videoplayer they have to include the swf with all the added flashvars (url...). That's messy, and it feels a bit risky... people who know what they are doing can also just remove the plugin and other added data, resolving in me not being able to track pageviews etc.[code]...
Turns out that, when I use file_get_contents on a regular test file, info.php, that responds through a $_GET['var'], the above stated code works, but when I use it on the flashplayer, it doesn't...
As in: the flash file does not seem to be accepting (or responding to) the added header variables...
I am using CKEditor in my website's CMS, which spits out an XML file of CDATA enclosed content to be read by flash. The problem is that CKEditor, when its enterMode is set to <p> tags, creates a line break and a tab in the source which, when read by flash, enters space, even though I have ignoreWhiteSpace set to true. Any way to prevent ckeditor from using this behavior?
EDIT:
I still want to keep any <p> tags entered from within the editor - I just don't want all the extra space / tabs that get added in the actual source. If I use the above method, my actual code will be modified. What I'm getting if I view the source is this:
<p>
Donec at erat nec tortor sodales tempus.</p>
(an enter, and either a tab or a bunch of space after first <p> tag, instead of:
<p>Donec at erat nec tortor sodales tempus.</p>
(no spaces or breaks after <p> tag in source and I believe this is affecting the presentation of the XML.
I have a List which uses a an arrayCollection as dataprovider and an itemRenderer to display some things but how can i pass an extra variable to this itemRenderer?
View 1 Replies