ActionScript 1/2 :: Make A[0] Bold And To Keep A[1] Normal?
Aug 10, 2010
textAB is a dynamic textfield. How to make a[0] bold and to keep a[1] normal?
receiveLoad.onData = function(src) {
var a:Array=src.split(",,");
textAB.text=a[0]+newline+a[1];
View 9 Replies
Similar Posts:
Mar 26, 2010
It is possible to bold some part of label in standard Button? example:ICON - normal_normal_text BOLD_BOLD_text.
View 2 Replies
Feb 2, 2012
I am using swf embed font[normal] in my flex application but if i apply bold or italic for the text,its looking normal only. let me know if you have any solution.
View 1 Replies
Dec 30, 2010
I want to use the "Calibri" font bold/normal styles.It doesn't seem to embed properly though.I have tried every different way to embed it but it just doesn't embed properly.Its blurry compared to static textfields,and the bold text shows up as not bold...has anyone been able to embed this font properly?
View 1 Replies
Sep 14, 2010
-Adobe CS3 Web Premium. -Compiling using AS3. I'm pulling in some text values from an external XML file for a "next" button and I set the font to bold when I made it Verdana. I'm not sure why but it still is normal verdana when I compile it.
I've found several posts similar to mine saying I need to embed the bold version of the font, but I don't have the option of purchasing or creating a bold Verdana. Since it is just Verdana, is there not a method I can use to simply bold the text?
View 1 Replies
May 4, 2011
I have a dynamic text box for 3 lines of text. I styled part of the text to be bold and part of it to be regular. When i click on the button to display the text it looks right the first time but if i click on it a second time then all of the text shows up bold instead of just the few lines i assigned the bold tag to.
View 18 Replies
Jun 24, 2011
I've got an FLA which was originally created using CS3, and i've got a dynamic textfield in it that uses font "Gadget".If i open the FLA in CS3, it gives me option to toggle the BOLD option, and when i compile it, the font appears to be bold in the compiled swf.
When I open the same FLA in CS5 (version 11.0.2.489),
---> I don't get any option to make the font bold on the same textfield,
---> and when i compile it, the text remain the same, it does not show as bold.
View 5 Replies
Sep 30, 2009
Where's 'CS4' as a prefix to the post title? Anyway. I'm using _sans font for my flash work, because i want the font to display as the default _sans font on the device/platform. Why in CS4 (not checked earlier versions, but im sure CS3 didnt do this) is the (font) 'Style' drop down greyed out?
View 2 Replies
Nov 12, 2009
When creating mobile apps I thought the best practise was to use _sans font, so that the device uses its' native device font when the app runs (for dynamic text, anyhow...)? So, I use _sans font for my app. But why in CS3 could I make _sans font bold, but in CS4 I can't? Am I being stupid here....is there something obvious I'm missing? The 'style' box is greyed out in CS4.
View 1 Replies
Dec 1, 2009
In CS3, I could make _sans font bold. For some reason, in CS4 I can't and I'm not sure why?I'd like to use _sans so that the device my app runs on will use its native sans-serif font.To reproduce:
Create text box
Change font to _sans
Try and make font bold
I'm creating a Flash Lite app, so just to ensure it wasn't to do with that (or the device I'm creating it for) I created a normal Flash AS3.0 document and the bahaviour is exactly the same.I've emailled Adobe but no response.
View 8 Replies
Sep 23, 2010
TheProfileRoot.EngineeringText.text = "Level " + PlayerEngineerLevel + " Engineer - level up in " + PlayerReqEngineer + " xp"; I want the "Level " + PlayerEngineerLevel to be bold. And the rest to be plain.
View 2 Replies
Sep 20, 2010
I basically can't figure out how to make dynamic text Bold.I have a String that holds text which is passed to it from an XML file's attributes. (It is my understanding that you can't use CDATA <b> in an XML file's attributes. If I'm wrong, please show me how) I have a TextField which I want to display this string in BOLD text. I tried the following and it doesn't work.[code]
View 2 Replies
Aug 28, 2007
I've been developing a piece of code that looks for keywords inbetween tags, and then stores these into an array (hlword) I am now trying to get it so that when it finds these words, it makes the word bold and changes the colour.
[Code]....
The code in orange is what I have been working on in an attempt for it to change the Textformat - Is this going a long the right lines?
View 1 Replies
Nov 8, 2003
I want to make a MC scale when my crsor is over it and go back to normal when it's not.
onClipEvent (enterFrame) {
if (_xscale<100 ) {_xscale = _yscale += 10;
}
}
This is all the as i have but i do not know how to make it so the mouseover function is involved.
View 14 Replies
Nov 17, 2010
I wanted to make a video player that has normal mode and fullscreen mode. The part I am having trouble understanding is how to handle the video once it gets set to fullscreen. Do I just use the current video or do I get a high quality version of the video to show during fullscreen mode? What would be best practice for this situation?
View 1 Replies
Jul 18, 2009
I've imported four fonts into the Library and used Linkage to enable Export for Actionscript. The fonts are the four versions of Trebuchet MS:
Trebuchet MS
Trebuchet MS Bold
Trebuchet MS Bold Italic
Trebuchet MS Italic
They are named like this in the Library and for example the 'Bold Italic' version has both 'bold' and 'italic' selected in its properties.
Then I drew a dynamic textfield and selected for it's font 'Trebuchet MS Bold Italic*' so that the embed font was used. I also embeded the glyphs for 'Basic Latin' and 'Latin 1'.
Then I used this code to fill it with text:
ActionScript Code:
my_txt.embedFonts = true;
my_txt.text = "This is a sample";
The text is placed, however, it is always in the Trebuchet MS regular font. Also when I click the bold and italic icons in the Property Bar, the font won't go bold/italic. The same for just bold and just italic. It only turns bold/italic when I delete all font symbols accept the Bold Italic one.
View 9 Replies
Oct 10, 2011
I'd like to make an event related to a text in order to have a menu in my game.
And i expect that user click on the text Play to launch : gotoAndStop("game");
The problem is that i don't have 'onPress' event on a normal text, and i don't want to use a button, just a text.
View 5 Replies
May 11, 2011
In my quest to build a terrain with proper collision detection, I've reached another stalemate. What I need is to be able to find the normal(x,y,z) for a 3d Triangle. before I start to build everything from scratch, cross products and all that jazz. I want to check if someone's done this before or can give me their 2 cents of how to do this the best way.Given 3 verticles with (x,y,z): v1, v2, v3 How do I find the Normal(x,y,z)I'm using away broomstick, and as far as i can tell there's no support for normal calculation. You would think that .subGeometry.vertexNormalData returns the proper normal, but it doesn't.
View 14 Replies
May 11, 2009
I'm trying to drag multiple MC's around with the normal metod:
function mouseDownHandler(event:MouseEvent):void {
event.target.startDrag(false);
}[code]....
But it only works on the MC first added (addChild).. Actually it feels like there's pice of glass between the first added MC's and the ones "underneath".
View 4 Replies
Dec 3, 2010
I have export a 10 mb fla sildeshow of 10 image 650x350 with alpha, classic tween and audio to avi using Flash CS5 and the output avi file for a 47sec movie come up to 750 MB, is that normal? How can I reduce the size?
View 1 Replies
Aug 15, 2011
Under the stroke properties before or after I draw a line, I set it to NORMAL but when I re-select the line, it keeps changing it back to NONE. Some how it is now the default and I cannot change it I have tried opening new documents from scratch but I still cannot get it back to scale normally. All the lines are inside movie clips and these movie clips need to scale properly. I cannot seem to find any other answers besides telling me what I have already tried.If I change the line type from solid to dotted, it then scales (actually you cannot change the scale mode.
View 1 Replies
Sep 28, 2011
Normal Screen ok fine, But in fullscreen mode scrub bar, red fill is changed there places,How to fix it, i tired but incresed problems.
function volumeScrubberClicked(e:MouseEvent):void
{
olVolumeScrub = true;
[code].....
View 1 Replies
Oct 12, 2011
I need to play an flv back at normal speed,back at half of normal speed, forward at half of normal speed in AS3 through netconnection and netstream.
View 1 Replies
Mar 20, 2012
I have this snippet of code I've been running successfuly on my image buttons grouped into one MC. It applies changes to the buttons I am not rolling over, i.e. if I were to roll over a button the rest of the buttons in the group would dim and blur and etc, but not the button I am over. All worked fine until I decided to group buttons one more time. With my limited knowledge of AS3 I was able to put all the actions to the buttons except into making the button I am over to stay the way it is. In my understanding the problem is in the line:
[Code]...
View 11 Replies
Mar 5, 2010
Can we use compiled HAXE swf's swc's in Actionscript as normal libs? I have a swf compiled from haxe code (I can try to compile it into something else SWC for ex) I want to use it as lib in AS3.
View 1 Replies
May 20, 2011
I've got a fullscreen button which, when clicked, works. However, after a few seconds, Flash automatically exits full-screen mode and reverts to normal mode. I'm running this in the browser. I tried stripping all the code in the fullScreen event handler down to this (I removed toggling between displayStates):
private function fullScreenHandler( event:MouseEvent ):void {
stage.displayState=StageDisplayState.FULL_SCREEN;
}
It's still happening. Has anyone seen this before?
View 2 Replies
Nov 7, 2011
I'd like to use tooltips with the same design as the error/validation tooltips (rounded box with a tip pointing to the mouse's position).Given the name "error/validation tooltips", it bothers me to use them as normal tooltips.I haven't found people having the same "principles" issue as myself..So, is it that bad to use the error/validation tooltips as normal tooltips? And, if yes, what would be the easiest way to re-use its design without rewriting much code?
View 2 Replies
Oct 18, 2011
Is there any way to block the action fullscreen mode to normal mode in video. One way is blocking the esc key. But I am using that key for another purpose.
View 1 Replies
Dec 15, 2011
Just querying if is it possible to mix normal sprite with Context3D object.
View 8 Replies
Sep 16, 2009
Does anyone know how to add "NORMAL MODE BUTTON" when I toggle it to FULLSCREEN MODE? In that way, I can switch back to normal mode? Also, how to make the active page different color on the navigation button?URL...
View 13 Replies