Static And Dynamic Text
Hi Can some explain what the difrence between static and dynamic text and which one would i use for what.
Thanks
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 10-24-2003, 04:45 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Static Text (device Fonts) Vs. Dynamic Text (anti-alias Non-embedded)
Any thoughts on which is better to use?
When i use static text and device fonts (arial) the text looks great. The text doesn't change so no need to be dynamic.
Or
I use dynamic text (arial) non-embedded and it looks good too. The text doesn't change but leaving it as dynamic makes it render better.
[F8] Dynamic Text Controlled Diff From Static Text? (alpha Question)
hi! i'm trying to fade in a movieclip with text but am running into some problems. the movieclip contains 4 dynamic text boxes which will serve as buttons and 1 static text with a title. however, the tween function is currently only fading in the static text and not the dynamic text boxes.
the main part that i'm talking about starts from "function scaleUp()" and down, but i posted what i have so far for context. with the posted code, the static text will fade in with the tween, but the dynamic text just plops there.
thanks for your help OH, and if you would also like to help, i want to have the 4 dynamic texts fade in one after another; i'm not sure whether or not to use an array or for script....and either way, i'm not really sure how to script that, so if you could help me with that too, that'd be awesome. thanks!
PHP Code:
// place background at 0% alpha
var fadeIn:MovieClip = _root.attachMovie("bg", "bg_mc", 0);
bg_mc._alpha = 0;
// import flash tweens
import mx.transitions.Tween;
import mx.transitions.easing.*;
// on enterframe, tween alpha to 100% and on complete, start centerline function
fadeIn.onEnterFrame = function() {
var bgFadeIn:Tween = new Tween(bg_mc, "_alpha", Strong.easeOut, 0, 100, 2, true);
setTimeout (centerLine, 750)
delete this.onEnterFrame;
};
// places center line (invisible)
function centerLine() {
var introLine:MovieClip = _root.attachMovie("line", "line_mc", 1);
line_mc._x = 450;
line_mc._y = 300;
line_mc._visible = false;
lineTween();
}
// makes line visible and tween out (changing _width)
// on complete, begins scaleUp function
function lineTween() {
line_mc._visible = true;
line_mc._alpha = 50;
var tween:Tween = new Tween(line_mc, "_width", Strong.easeOut, 0, 901, .75, true);
tween.onMotionFinished = function() {
scaleUp();
}
}
// changes _height of rectangle to make box and start fadeText function
function scaleUp() {
var upTween:Tween = new Tween(line_mc, "_height", Strong.easeOut, 1, 200, 1.2, true);
upTween.onMotionFinished = function() {
var placeText:MovieClip = _root.attachMovie("text", "text_mc", 2);
text_mc._x = 0;
text_mc._y = 200;
text_mc._alpha = 0;
text_mc.text0.text = "about";
text_mc.text1.text = "portfolio";
text_mc.text2.text = "photos";
text_mc.text3.text = "contact";
fadeText();
}
}
function fadeText() {
var textTween:Tween = new Tween(text_mc, "_alpha", Strong.easeOut, 0, 100, 3, true);
}
News Ticker: Error While Converting Static Text To Dynamic Text.
I made a simple news ticker. But am stuck with a silly error. I made the text static text. now when I make the text dynamic to load data from xml the text is not visible.
Not sure what is wrong with this.. Any help would be greatly appreciated. Thanks in advance.
Ruben Benjamin
www.rubenbenjamin.com
Static Vs Dynamic Text
Might be worth it to visit this first for a better idea of my problem
beta site
Ok.
The text in the background is static textboxes and is on a frame on the scene itself. It should be coming through pretty crisp.
Now, the other text boxes are in movie clips and do not come through clean at all. If i put dynamic textboxes with embedded characters (like the buttons news in the menu) they come out kinda blurry in a MC clip that is in the scene
If i put static textboxes (like the text box that is off to the side on the bottom) in a MC, then they come out really blurry.
I'm using Flash mx 2004,
any suggestions to make it crisper?
Static And Dynamic Text
Hi
Can some explain what the difrence between static and dynamic text and which one would i use for what.
Thanks
Dynamic Vs. Static Text
This really isn't that big of an issue but I was curious if anyone knew the reasoning behind when you use static text it becomes bolder and more blurry versus dynamic when it is crisp and clean...is one using the system text while the other is bitmapping?:- not that it is a pressing issue, I was just curious.
Dynamic And Static Text
Can anyone suggest why my dynamic and static text is displaying differently when the fonts are set to the same, as are size, colour and anti aliasing. Basically anything that appears in a dynamic text box appears much brighter and seems to be bolder.
Please help me put it right?!?!
Why Does Dynamic Text Look Different Than Static?
I've set up a few pages on my site with dynamic text so the content scrolls and others with static text where scrolling isn't necessary. All text was set up with the exact same specifications yet it looks quite different on the static vs. dynamic pages. Is there a way to make the dynamic text look as good as the static text? Why does the spacing go "wonky" and the colour changes in dynamic text? My site is http://www.clearlygreendesign.com/ You can see the difference between the "About" text and the "Team" text...exactly the same specs for both but the scroll text looks awful! Help!
SWF Text (static To Dynamic)
Hi,
I am working on some tool that loads SWFs that have been created dynamically by another tool. Now those SWFs contain static text fields, so the text is not selectable. But I need the text to be selectable within my Flash application.
Now is there a way to retrieve all text field names in a compiled SWF and change their properties from static to dynamic so I can select the text, through Actionscript?
How can this be done?
Thanks
Static Vs. Dynamic Text
I know this is a noob question, but I keep finding differences in the two every day. One does this, one doesn't do this, you can't use dynamic with this, blah blah blah. Who can list the can/cannots and uses of static and dynamic text? Many thanks in advanced.
-Scrub
Why Is Dynamic Text Crisp & Static Text Blurred?
Why is this? I thought the purpose of Dynamic text was so that it could change. But it also looks more defined then Static text. But Static text is not limited to one font, size and style. Is there a way to make Static text look crisp like Dynamic text?
Thanks!
Dynamic Vs Static Text / Font - What Should I Do?
hi
I'm creating a dropdown menu in flash and I'm using a bitmap font. If there is some way too keep the text as "text" as opposed to breaking it apart that would be ideal.
How can I use a font without breaking it apart? Is there any way to embed a font in your flash movie? Otherwise, I'm assuming that my text will default to the user's system font if they don't have this particular font installed (which they most likely will not).
Any suggestions?
much appreciated,
cheers,
jen
Is It Possible To Change Dynamic Text To Static Via AS?
Is it possible to do through actionscript? Ideally I want to be able to allow users to INPUT text and then a "confirm" button will lock it in by turning the answer static so they can no longer interact with the field.
Thanks
Dynamic/Static Text Inconsistencies
How comes dynamic text appears different to static text when published? I am using an 11-point arial font which appears anti-aliased whilst editing, but when published loses its’ “anti-aliasness”. I want the look of the font that is achieved by dynamic text, but can’t seem to replicate this with static text - which is why I am making all my text objects dynamic text. However another pain is that u can’t justify dynamic text. Can anyone shed some light on this matter?
Static Vs Dynamic Text Quality
I am stumped on this one! When I create a static textbox and enter text directly, the text displays cleanly with anti-aliasing. If I create a dynamic textbox, the very same text displays without anti-aliasing. Yes, the anti-alias option is selected in the Properties window for both textboxes. The problem occurs when I run the swf file driectly and when I embed it in an html page with a quality setting of "high." I have attached a single frame fla file that shows the difference I am experiencing in two operations that should be equivalent. I am new to Flash and trying to decide whether to stick with it. I will really appreciate some help! Thanks.
Static Text Shows, Dynamic Does Not
I'm working on a flash site where it would take the content from an external text file for content. For some reason I could never get it to work. So I tried just typing text into the dynamic box, and that still didn't show up when previewed. However, if I change the text box type to 'Static Text' then the content I typed in shows up just fine. Ofcourse, I can't import the text if it is set to static text. What's going on!?
(The text box is in 2 movie clips, but I dont see how that could make a difference!)
Difference Between Static And Dynamic Text?
What is the major differences between Static and Dynamic text? I know that Dynamic text allows you too, select an instance name which later can be used when actionscripting. But I personally feel when using dynamic text that the overall look of the text is different from static text, why is this? and can this be changed or altered? as I personally feel that this text looks to rough and does not give a proffesional look to your completed project.
Cheers
Craig
The Difference Between Static N Dynamic Text
hi,
may i know the difference between static n dynamic texts.... hmm..i would like to add it to a scrollbar menu..so which one?
I realised when i use dynamic text in a default scrollbar..the text fonts or color can't be edited...
Static Vs Dynamic Text In Clips
While giving motion to dynamic text blocks and static text blocks (converted to movie clips) I noticed that the dynamic text block's text is much darker and bolder than the static text block's text. Why does this happen?
Currently loading movies of various text (with menu buttons) into empty movie clips i.e., "who we are", "what we do", etc. Some need to scroll (dynamic text blocks) others don't as their text "fits" within my viewing area. Everything works well, it's just that they look different...
Static Vs Dynamic Text Quality
I am stumped on this one! When I create a static textbox and enter text directly, the text displays cleanly with anti-aliasing. If I create a dynamic textbox, the very same text displays without anti-aliasing. Yes, the anti-alias option is selected in the Properties window for both textboxes. The problem occurs when I run the swf file driectly and when I embed it in an html page with a quality setting of "high." I have attached a single frame fla file that shows the difference I am experiencing in two operations that should be equivalent. I am new to Flash and trying to decide whether to stick with it. I will really appreciate some help! Thanks.
Dynamic Vs Static Text Problem W/ Button
Ok, i'm having a little trouble..hope someone can help me out. Heres the problem
I'm using a "hooge" font for my movie, and when i display it as static text, its blurry. I was told to make it dynamic text, but when i do, the button(the text is the button) wont work, but it looks nice and crisp..what do i do?
Justify Static Text Under Dynamic Mask ?
Hi,
I have a static text under a moving mask.
I can set the justified property in the property box, and it appears justified in the editor, but then when i test the swf, the text is not justified ?!?
Anyone has a solution for this problem ?
Thanks
Problem Mixing Dynamic And Static Text
I have a movie that has a dynamic text box on frame one and two. It loads in some text from a Flash Var and is constantly updated. It was working perfectly.
Now I have added a static text box to frame two of the move and when the movie goes from frame one to frame 2 the text in the dynamic text box disappears. I pretty much figured out that it's the presence of the static text box that is the problem but I can't figure out why. I'm guessing it has something to do with fonts but have no idea. I'm using the same font for both and when I change the font of the static text box to something else the dynamic one starts working again..
Auto Focus To Text (Dynamic/static)
hi guys, how do i make my text cursor activates in my dynamic text when i first launch my program(swf) by CTRL+Enter in adobe flash?
Code:
tf.border = true;
tf.type = "input";
tf.addEventListener(KeyboardEvent.KEY_DOWN,reportKeyDown);
tf.addEventListener(KeyboardEvent.KEY_UP,reportKeyUp);
function reportKeyDown(event:KeyboardEvent):void
{
trace("Key Pressed: " + String.fromCharCode(event.charCode) +
" (key code: " + event.keyCode + " character code: "
+ event.charCode + ")");
if (event.keyCode == Keyboard.SHIFT) tf.borderColor = 0xFF0000;
}
function reportKeyUp(event:KeyboardEvent):void
{
trace("Key Released: " + String.fromCharCode(event.charCode) +
" (key code: " + event.keyCode + " character code: " +
event.charCode + ")");
if (event.keyCode == Keyboard.SHIFT)
{
tf.borderColor = 0x000000;
}
}
Converting Dynamic Text Box To Static Text Box
Hello there!
Im working on a flash movie and i want to do the following
1) to edit the text - using an xml-file
2) When the text is done i want to have only one .swf file that i can
put on my website, so that vistors worldwide only have to download 1
file containing both flash slide/sequence and the text that i have edited. The swf file should be non-XML dependent after i edited the XML file
I already figured out how to display the contents of my XML file in my flash movie.
Can anybody help me with this?
Load Mostly Static Text With Some Dynamic Text
Hopefully this is a simple question. I don't even know what type into google to find the answer.
I need a text box to display this text. We'll say for example the words in all caps are variables dynamically loaded but the rest is static text.
Text Box:
--------------------------------------------------------------------------
<object classid="clsid:d27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="WIDTHVAR" height="HEIGHTVAR">
<param name="movie" value="NAMEVAR.swf">
<param name="quality" value="high">
<embed src="NAMEVAR.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="WIDTHVAR" height="HEIGHTVAR"></embed></object>
--------------------------------------------------------------------------
Opening Static Text Box From Dynamic Text Box
In my flash site, I have a scrolling dynamic text box. In this text box, I would like to provide links that either
1) open another dynamic text box in the same movie (prefered)
2) open a pop-up window
If I use a button this is no problem, I just follow some of the tutorials, but trying to get the URL Link to display this behavior has escaped me. Is it even possible?
The idea is that as a person reads the text, they can click on select words and an explanation will 'pop-up' regarding the word in question.
Thanks much in advance.
Dynamic Text Compared With Static Text
Hello, i've got a strange problem concerning dynamic text compared with static text.
the example i've got a string of lets say 400 chars. if i use it as static and give it a font size of 22 and set it to bold then it displays correctly as i want.
if i use the same string of 400 chars and use it as dynamic text then some parts arent show at all or the font size is to big and i have to set this to font size 8 - 12 or even lower.
i do not change the size of the textfield. is this normal or is this some odd occurance.
any answers would be helpfull thnx in advance.
formatwizard
Opening Static Text Box From Dynamic Text Box
In my flash site, I have a scrolling dynamic text box. In this text box, I would like to provide links that either
1) open another dynamic text box in the same movie (prefered)
2) open a pop-up window
If I use a button this is no problem, I just follow some of the tutorials, but trying to get the URL Link to display this behavior has escaped me. Is it even possible?
The idea is that as a person reads the text, they can click on select words and an explanation will 'pop-up' regarding the word in question.
Thanks much in advance.
Question About Dynamic Text Vs Static Text
Why is it that when I create a MC and put Dynamic Text in it, and mask it, it does not show up in the test movie. However, when I make the text static text with the mask in the MC it does show up in the test movie?
Can I Use One Embeded Dynamic Character To Embed A Font For Static Text?
Hi,
I have built a site that uses some rotating text.
I have figured out that in order to ensure that the text is visible i have to make it "Dynamic" but I have also worked out that it i make just 1 character "Dynamic" & embed that font, the rest becomes visible, even as "static" text - on my system at least.
Is it just that this will work on my PC which has the font on it or can this be used to ensure that the text is seen on all systems?
Dynamic Text Within Static Text
Question from an action-script amateur:
Does anyone know how you would add static text to dynamic text.
For example, the dynamic text is a name that had been input in a previous frame, when it is displayed I would like it to be followed by a comma, but I need the comma to follow diectly after the dynamic text.
Any help greatly appreciated!
Thanks.
Getting Dynamic Text To Act Like Static Text
Hi, need help.
I currently have 7 text/symbols that each move to the right when a button beneath expands in a mouseover.event.
Working fine.
With one exception: I need to set the text value of that text dynamically using loadVars (the text is dates that vary).
No problem, I can do that with dynamic text, except for a few somewhat ugly problems.
Problem 1 - I want the text just to display. The dynamic text gets the I-Beam mouse cursor.
Problem 2 - Dynamic text lets the user select some or all of the text, which then shows in highlighted color.
I don't want the user to have any interaction with the text, and I'd like to have the "hand" mouse pointer over it, which carries through from the button underneath, just like the static text currently does.
I've tried the label component, but when you move it, it evaluates the HTML that sets the color too slowly, so you only see the start and end points. I've tried on (load) and on (draw), and the text looks like it's taking a huge hop from starting point to ending point, instead of moving gracefully across the real estate (default is black, html makes it white).
Any idea how I can get text to move, to format, to get its text at startup and still look like and act like it's the text on top of a button?
I'd very much appreciate any help!
Thank you. Sign me stymied! :-)
Alan Arthur Katz
Static Text | Variable | Static Text
i'm thinking i need a simple actionscript to do this but i'm not exactly sure. i have a dynamic text field that is loading a variable named count. however i would like to place static text on either side of the value of the variable. since the variable is an integer that will only increase, it's horizontal width will also increase as well. i can't very well place two strings of static text on either side of a variable that will grow in width over time. does that make sense?
essentially, i want to have a dynamic text box display a string of text, then the value of a variable (that will change in length), then another string of text, but i would like it to all be seamless, looking as if i just typed the whole sentence in a word processor. thanks for your time!
Dynamic Vs Static ?
why is there static text option in Flash if dynamic text looks nice and crisp ?? what's static text for then ?? thx
|