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:


Flex :: Combined Bold And Normal Label In Button Component

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

ActionScript 3.0 :: Bold And Italic Are Not Working For Normal Embed Font In Flex

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

ActionScript 3.0 :: Use The "Calibri" Font Bold/normal Styles - It Doesn't Seem To Embed Properly?

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

Embed "bold" Versions Of Verdana To Make Bold With AS?

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

ActionScript 3.0 :: HtmlText - Text Shows Up Bold Instead Of Just The Few Lines Assigned The Bold Tag To

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

CS5 :: Can't Make A Textfield To Bold In It

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

CS4: Make _Sans Font Bold?

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

CS4 :: Make _sans Font Bold?

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

IDE :: Make _sans Font Bold?

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

ActionScript 1/2 :: Make Part Of The Text Bold?

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

ActionScript 3.0 :: How To Make Dynamic Text Bold

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

ActionScript 2.0 :: Textformatting - Make The Word Bold And Changes The Colour

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

ActionScript 2.0 :: Mouseover Scaling - Make A MC Scale When Cursor Is Over It And Go Back To Normal When It's Not?

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

ActionScript 3.0 :: Make A Video Player That Has Normal Mode And Fullscreen Mode

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

ActionScript 2.0 :: Bold, Italic And Bold/italic Won't Embed?

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

ActionScript 2.0 :: Normal Text As A Button?

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

ActionScript 3.0 :: Find The Normal(x,y,z) For A 3d Triangle?

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

ActionScript 3.0 :: Drag Multiple MC's Around With The Normal Metod?

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

Professional :: Is It Normal For A 47sec Movie In Avi Format To Be 750 MB Big

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

Professional :: Cannot Set Line Stroke Scale To Normal?

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

ActionScript 3.0 :: Normal Screen Ok Fine, But In Fullscreen?

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

ActionScript 3.0 :: Play An Flv Back  At Normal Speed?

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

ActionScript 3.0 :: Tween The Icon Over To Its Normal State?

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

Use Compiled HAXE Swf's Swc's In Actionscript As Normal Libs?

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

ActionScript 3 :: Screen Reverts To Normal Mode

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

Flex :: Validation - Using Error Tooltips As Normal Ones?

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

ActionScript 3.0 :: Prevent Fullscreen To Normal Mode?

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

ActionScript 3.0 :: Mix Normal Sprite With Context3D Object?

Dec 15, 2011

Just querying if is it possible to mix normal sprite with Context3D object.

View 8 Replies

Actionscript 2.0 :: Toggle Between Fullscreen-normal Mode

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







Copyrights 2005-15 www.BigResource.com, All rights reserved