ActionScript 3.0 :: Whats The Default Font For Components
Jul 13, 2010Whats the default font for components? I don't need to change it. I like how it looks but I want my other fonts to match it and I dont know what font it is.
View 2 RepliesWhats the default font for components? I don't need to change it. I like how it looks but I want my other fonts to match it and I dont know what font it is.
View 2 RepliesFor example the spark ComboBox.Where is the default skin?Is it generated (at compile or runtime)?If it was in fact written by someone how does the compiler/Virtual Machine know where to find the skin class? I didn't see a location specified in the ComboBox source.
View 1 RepliesHow do I install multiple fonts for both bold and normal, I am trying to change the default font.
<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";
[code].....
what the default label font that flash uses when you add a component? Ive searched around Im trying ti match it as it looks much better than other fonts?
View 3 RepliesI've installed a couple of fonts on my Mac that I want to use in Flash CS3, but they're not showing up in the font list.how do I install them so that Flash will pick them up?
View 2 RepliesI just want to lock or set a default font size for the rich text editor. I tried setting font-size = 16, which although it did set the default to 16, also made all the labels etc... in the editor to font size 16.
View 1 RepliesMy musical notes in my swf no longer display but are replaced by letters of the alphabet or the amphersand.
How can I get the notes to display? when I to to the symbol it shows the letter of the alphabet but in the fla when I look at the Text, Font it has the (Musical Symbols) Default Font selected as it should.
I created a contact us form for my landing page. I draged few components such as "textInput" "radioButton" "comboBox" and "checkBox" into a movie clip.
Now the default font size of Flash is 10 and I would like to enlarge it.
I am Carlos, I am working on a little App in Flash CS5 but I cant find the way to set a Font Style to a label or button components.
The program just add values to a variable and print it to the label, that works perfect, the problem is that when I test the app, the text size in the label and button are so small that they are useless.
As a Workaround I add a text with TextTool in which I can set "Character" in list of properties, but no "Character" section in list of properties for Label or Button.
I get the following warning when I run my application:
warning: incompatible embedded font 'Arial' specified for spark.components::Label (Label104).This component requires that the embedded font be declared with embedAsCff=true.
The application I am working on is a mix of Halo and Sparks components as I am migrating it to Flex 4. The text that is showing in the text fields is defaulting the systems serif font. There are a few problems with this warning.
1) I am not embedding any fonts in the application. I am not even assigning the Arial font to any of the components.
2) If I check the "Use Flash Text Engine in MX components", then all the text fields in the app throw the warning. Not just the sparks text fields.
Why does flex 4 think that I am using an embedded font with the sparks components? Is there any way to get around this warning and have the text fields use a non embedded font?
I've got a simple function to change the colour of a textInput component box - problem is it doesn't work. I can't see why not - surely this should be really simple, I can't understand why it is so hard?[code]...
Is it even possible to change the color of the font in textInput components?
I'm trying to embed a font in my project by using url("font.ttf") rather than local("Font Name"), but it doesn't seem to pick it up. The font in question is called "Gotham Bold". When i view the details of the font, the font weight is regular, however when i use local("Gotham Bold") in the css i have to specify fontWeight: bold or else it wont pick it up. But when I use url("folderGotham-Bold.ttf"), and specify fontWeight: bold, it says that font weight is not found for that TTF. If i remove the fontweight, there's no errors, but the font is not applied to the text.
View 2 RepliesI have an issue with font scaling of a dynamic text box.
Currently i have one input box named input_1 with a variable attached to it named "choc_1".
Also, i have a dynamic text box named dynamic_1 with variable "choc_1".
When the user types something on the input box then the dynamic box changes instantly and displays what the user has written.
auto scale-size the fonts to a smaller size if the user types many letters.
The input_1 box has a 13 character limit. My initial font size is 200, i want to scale down so when the user types 10 letters they fit the box and they don't go out of screen. I want to use one line, so wrap or multiline is not possible.
here's a code that i'm trying to fix but i can't get the dynamic box to change:
[Code].....
Can you make a variable that well...let me give an example
var aNumber:Number = new Number(1);
ok thats a number right?
var aName + aNumber:Ext...
Trying to combind any variable name plus a number attached to it. so instead of
var aName1:Movieclip;
var aName2:Movieclip;
var aName3:Movieclip;
ext.
I could just do a for loop and inside of it...
{
var aName + aNumber:Movieclip;
aNumber++;
}
how would i go about this?
i was wondering if you can delay whats inside a text box... for example, when an action is made, the text box will show "action done". kinda like a status bar, now what i wud wanna do is for the x number of seconds i wud want to set it back to blank text box again...
View 7 RepliesI have a large AS3 project which will need to be preloaded. Almost all examples i find use a frame based approach but surely there is a class based approach?
View 5 Repliesdoes anyone know how to trace whats on the stage?I tried: trace (stage);but it just said: [object Stage]in the output panel and I have tons of stuff on the stage loaded though as3.
View 4 Repliesi was wondering if you can delay whats inside a text box... for example, when an action is made, the text box will show "action done". kinda like a status bar, now what i wud wanna do is for the x number of seconds i wud want to set it back to blank text box again... is there any way to do that?
View 7 RepliesAs the topic says, I am looking for a easy way to show ALL of the flash content when i import the .swf into the HTML fil. That means everything that's outside the set work-area in flash.Not sure if it's done in flash or in the HTML code (CSS)? Did find a css command:
overflow: visable, but im pretty sure this isnt right.Im offering my first born child for this simple information > GOGO!
i will resk it....am going to ask a Q I am working out a bug in my footer And now i got a new prob....
[Code]...
i purchased and installed FMS on my dedicated webserver from my hosting provider. I have all my sites on this server. now that ive done this what do i do next? I want to play VOD to site visitors. i tried copying and pasting code in my dreamweaver file but i get black box. I can play the live stream sample files on my dedicated server
View 5 Repliesbasically I want to load an external SWF into my flash file, which I can do just fine, but when I load the swf in, it loads EVERYTHING in the swf into the new flash file...What I want is for it ONLY to display the contents on the stage. I work with large images that span way beyond the stage...then I move the images and when I export the swf it looks like a camera zoomed in and tracking around a large image. BUT when I load the swf into another flash file, it just loads it in with no regard to the stage...how do I get it to JUST load what I can see on the stage? here's my current code:
button_1.addEventListener(MouseEvent.CLICK, fl_ClickToLoadUnloadSWF);
import fl.display.ProLoader;
var fl_ProLoader:ProLoader;
[code].....
I want to download this app in the android market, but it says I need adobe flash player 10.1 but when I look for it, it doesn't show. Does anyone know what its called? I know its in the market because a lot of people are using that app. I have the Samsung Captivate. Should I just wait for Android2.2?
View 1 RepliesDo you know any flex component with the functionality such as horizontally collapsible window or panel I found arc90, but it folds vertically.
View 1 RepliesI am created a dynamically adding a VBox, that contains two images. Into a Custom Component that is derived from UIComponent. The problem is the Vbox that contains the two image is only a really tiny size. I would like the VBox stretch to the size of the two images. This is how I am creating the Vbox....
[Code]...
Is it bad practice/design to nest components inside components using Flex 4? Should I simply be creating components and inserting them into my main application as below, or doesn't it matter?
<com:MyComp1>
<com:MyComp2>
<com:MyComp3>
[code]....
how i can use actionscript component code in mmxl components,as in actionscript components we use classes ,but in mmxl component we can not use classes function, so how i can use actionscript component code in mmxl component
[Code]...
but i cant use this code in mmxl components how i can use public class DialogTitle extends HBox implements IBindingClient in mmxl component code,what are the way to use it,sorry i am newbie if it is silly question
In AIR/AS3 Flex Mobile for Android project.How can I capture an "image" of whats visible on the view then just save that image as anything like jpg/pdf to the SD card?Basically a screenshot on Android using AS3.
View 1 RepliesI'm trying to do something like this:
[Code]....
whats the correct syntax for declaring a variable thats name changes according to a different variable.
I have imported a font into the Flash library in an FLA file this way in the New font symbol dialog box:
[Code]....
I'd like to assign this font to a TextFormat instance, but as you can see, something is wrong or missing. But what?