Professional :: Change Border Size Of Dynamic Text Field?

May 25, 2010

I'm using evt.target.borderColor = 0xff00000 to successfully change the color of a dynamic text filed that is the target Now I'm trying to change the border size.  borderSize isn't being accepted, so I was wondering if there is an attribute to change the border size of a text field?  My internet searches are coming up with nothing that works.

View 1 Replies


Similar Posts:


Professional :: Change The Border Size Of A Text Box?

Oct 18, 2010

"be all end all" list of setStyle syntax for as2?
 
Specifically, I'm trying to change the border size of a text box.

View 5 Replies

ActionScript 2.0 :: Change The Size Of The Dynamic Text Field?

Jan 24, 2011

I have a dynamic text field which gets updated via an input text field on the stage!

I just need to know how I can reduce the size of the dynamic text font when there are too many letters in the text box!

I've tried this code :

this.result1.onChanged = function() {
myTextFormat = new TextFormat();
myTextFormat.size = 25-(this.text.length/2);

[Code]....

View 15 Replies

ActionScript 1/2 :: Center Text In Within The Border Of A Multiline Dynamic Text Field?

May 16, 2010

How do I center text in within the border of a multiline Dynamic text field?

View 3 Replies

Simple Text Enlarger - Increases The Text Size Of A Dynamic Text Field

Apr 24, 2010

Problem: I am trying to get a very simple text resize going, for my main content area in a flash website. My aim is to get a button, that on click, increases the text size of a dynamic text field.

[Code]....

This is what I tried, I am very new to Action Script, so excuse the futility of my code.

View 1 Replies

ActionScript 2.0 :: Text Size, In Dynamic Field?

Feb 10, 2009

I have a few text fields where text is driven from a .txt file on the server. I would like to have the ability to change the size of the font (which is embedded) to a larger/smaller size from a server .txt file (the same one as the copy comes from) to make a sort of style sheet for the copy.I have already done this for the colour of the 'movieclip' containing the font using this;

onClipEvent(load){
changedcolour = new Color(this);
changedcolour.setRGB(_root.offState_1);

[code].....

View 2 Replies

ActionScript 2.0 :: Dynamic Text Field Size?

Mar 4, 2008

I have a dynamic text box, with font size 160 and College font. (everything's embedded bla bla bla )I'm building a little application that with the press of a button you change the font in the dynamic field

Code:
var collegeNum:TextFormat = new TextFormat();
//collegeNum.bold = true;

[code].....

View 2 Replies

ActionScript 3.0 :: Change Size And Color Of Marquee Text Field

Oct 19, 2011

I have a class for MarqueetextField, I am trying to change the text inside a marquee tag and the color of the marquee using as3.I Don't Know how to Change the Color and Size,[code]But the Size is Very Small,How Can i Change the Color and Size of Marquee Text?

View 1 Replies

ActionScript 2.0 :: Dynamic Text Field .size Does Not Affect?

Sep 23, 2009

I have the following code, but changing the .size does not affect it at all.

ActionScript Code:
createTextField("my_txt",400, (_xmouse+15),(_ymouse-20),160, 80);
my_txt.multiline = true;[

View 1 Replies

Flash :: Change Size And Color Of Marquee Text Field In ActionScrtipt3?

Oct 19, 2011

I have a class for MarqueetextField, I am trying to change the text inside a marquee tag and the color of the marquee using as3.

View 2 Replies

ActionScript 3.0 :: Changing A Font Size In A Dynamic Text Field?

Jul 18, 2010

I am using a downloaded script and it is helping me out tremendously. After a little manipultion it is doing wonders for my intended project. The script yields a nunber into a dynamic text field that I would like to enlarge. In other words, make the font larger. I changed the size of the text field but the font size didn't change.Here's my script:

stop();
if (!initialized){
memory = 0;[code]...........

View 1 Replies

ActionScript 3.0 :: Change The Size Of A Dynamic Text Box Actively Depending On Amount Of Text?

Feb 18, 2009

i want to change the width of dynamic TextBox depanding on the ammount of Text using ActionScript 3.0.

[Code]...

View 1 Replies

ActionScript 2.0 :: Change Text Color In Dynamic Text Field

Mar 7, 2011

I am trying to change the text color in a dynamic text field with xml.[code]but this creates a text field for you, which I dont need it created already have a dynamic text field with the var mybtninfo.What I have right now to get the text to show up in the field is:now only want to change the color of the text in the box thru XML.

View 8 Replies

ActionScript 3.0 :: Can't Change Dynamic Text Field

Oct 20, 2009

I have my movie linked to an external AS3 file with this:

Code:
package com {
import flash.display.MovieClip;
import flash.display.Stage;

[Code]....

however it gives me that server_time doesn't exist. I have tried root and parent.

View 2 Replies

ActionScript 2.0 :: Change Font Of Dynamic Text Field

Sep 14, 2006

Is it possible to change the font of a dynamic text field using actionscript during runtime?

View 9 Replies

ActionScript 2.0 :: Change Dynamic Text Field Value Via Button?

Oct 24, 2008

I'm just doing a test for the moment, where iv'e got a dynamic text field and a button. All i want is when the user presses the button, the numerical value of the number displayed in the text field increases by 1.[code]...

View 6 Replies

ActionScript 2.0 :: Dynamic Text Field Font Change?

Nov 9, 2006

i need a little help. I need to know how to set a dynamic fields' font (and other properties) with actionScript.I thought it could be something like:

Code:
myDynamicTextField.font = "Comic Sans MS";

or at a long shot:

Code:
myDynamicTextField.setStyle("fontFamily", "Comic Sans MS");

(The second one only seems to work with "TextArea" components from the Components menu)

View 7 Replies

ActionScript 2.0 :: Change Text In Dynamic Field With Instance Name?

Dec 6, 2008

I dont know what I am missing here but what I want to do is change the text inside a dynamic text field via actionscript. the code I am using runs in a loop within a function. Trace is outputting the correct values.[code]...

View 2 Replies

ActionScript 3.0 :: Change Font In Dynamic Text Field?

Jan 16, 2010

I've search for this but i'm still having a problem. i have a textfield on the stage and i want to change the font it's displaying on rollover(i want to just have the font go bold but the font doesn't have a bold option so i need to change it).[code]...

View 2 Replies

ActionScript 2.0 :: (FMX) Automatically Change Size Of Dynamic Text Box

Mar 22, 2005

I have an MC with a single-line dynamic text box in it. I am placing the MC on stage using attachMovie. Then I am loading text into the dynamic text box in the MC I just placed on stage. I am trying to figure out code that will make the dynamic text box either scale up or down to fit the text that I am loading into it.

View 6 Replies

ActionScript 2.0 :: Dynamic Text Size Change Within MovieClip

Mar 30, 2010

I'm trying to change the text size in a dynamic text area within a (movie clip) button. For a couple of buttons I'd like to make certain text smaller, for example, to make the "vs" smaller in "A VS B". My buttons have dynamic text in them and the font is embedded and set at size 10 initially. The code I've got in my movie is as follows:

Code:
// define new text formatting
var minimenutext_txt:TextFormat = new TextFormat();
minimenutext_txt.size = 8;
avsb_txt = "A VS B";
avsb_txt.setTextFormat(3,4,minimenutext_txt);
// assign formatting to button dynamic text
btn1.btext.buttext.text = avsb_txt;

The text "A VS B" shows up in my button, but I can't seem to do anything to change the format. I've tried making it bold, italic, that kind of thing too - but no luck. Does the setTextFormat command only work with input dynamic text boxes? Is it being overruled somehow?

View 3 Replies

ActionScript 2.0 :: (FMX) Automatically Change Size Of Dynamic Text Box?

Mar 22, 2005

I have an MC with a single-line dynamic text box in it. I am placing the MC on stage using attachMovie. Then I am loading text into the dynamic text box in the MC I just placed on stage. I am trying to figure out code that will make the dynamic text box either scale up or down to fit the text that I am loading into it.

View 6 Replies

Change The Text In A Dynamic Text Field?

Apr 19, 2011

I am trying to change the text in a dynamic text field when I hover over some shapes but this is not working

Actionscript Code:
on (rollOver){    myText_txt.text ="Isolation"}

View 1 Replies

ActionScript 2.0 :: Change The Color Of A Dynamic Text Field When Press A Button?

Jun 17, 2004

I *know* this is simple. I've read every thread on this board pertaining to this (including senocular's Best Of thread), done everything there and this still doesn't work and I can't see why.

I feel like an idiot even asking, because I've seen the examples and lengthy tutorials.

All I want to do, is change the color of a dynamic text field when you press a button. But I want the name of the field to be a variable.

Now, this is what's there:

1. the variable "_root.expinttype1" is equal to "branch" and is set elsewhere.
1a. There is an existing dynamic field called "branch" on screen.

2. On the button release I set the format:

[Code]....

Why? I set a dummy variable txt = _root.expinttype1; and even threw it into a text field to verify the data, and it shows "branch", so why doesn't this work?

View 5 Replies

ActionScript 3.0 :: Change The Font Size Of The "text" Field?

Jan 19, 2010

trying to change the font size of the "text" field. However no mater what i've tried doing to the css file, the font size doesn't change.

View 0 Replies

Professional :: Can't Change Text To A Larger Size?

Dec 7, 2011

When I click the type tool and drag a text box out and type a couple words at 235pt size it looks fine. as soon as I click off the text box, the text size jumps down. I have no idea why this is happening and I can't get it to stay. When I click the type tool on the box again the tet appears at the 235pt size. But when I click off of it and play the movie it is at the incorrect size.

View 3 Replies

Professional :: Text Jumps After Embedding Font In Dynamic Text Field?

Jun 10, 2010

Im using a standard font (Gotham rounded) within a dynamic text field. As soon as I embed the numerals within this text field the text lowers within the text field.Double clicking the field then renders the text higher up! It seems that the height it shows when I double click is the height it compiles atThe other strange and annoying thing is that my colleague working on the same project is using the exact same font and same file but this doesnt happen to him and so the font redners out differently when he compiles

View 1 Replies

Professional :: Dynamic Text Field Not Displaying Text Even When Font Is Embedded?

Jan 16, 2011

So, I have some basic actionscript code.  It's a legacy site, so I'm using AS2.  The line of code simply does this:
 
myField.text = "some text"
 
So, I select the text field on the stage, then ensure the font is embedded.  All the glyphs I want are checked, but then when I compile and test, the fonts don't show up when the code is executed.  Instead, the textfield is blank!  What happened?!  Where did the text go?
 
I should mention that the .swf which I compile is loaded into another parent .swf during runtime.  If that parent .swf does not contain embedded fonts, is that why it's broken? 

View 1 Replies

Professional :: Tabulating Text In A Dynamic Text Field?

Aug 5, 2010

I'm building a site for someone that has dynamic text fields inserted as objects in the timeline.  These text fields aren't interactive, they're only dynamic to allow scrolling and external links.  I need to be able to tab right a couple of times (like you would in a word document) to arrange a handful of lines of text in a tabular format.  I want to be able to do this to just a couple of lines in the middle of the body of text, not as a separate table, but the tabs need to behave like regular tabs in that the text will always align correctly.

View 1 Replies

Professional :: Html Into A Dynamic Text Field?

Aug 5, 2010

I'm able to use a .txt file with basic html elements inside to display correctly. But I now have a structured document done in ms word. If I copy the html and try to save as a .txt file it will only allow to be saved as .rtfis there a way to preserve all the font, breaks and styles from a doc saved in .rtf or can I do this in a different way.

View 1 Replies







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