Static Text
Im wondering about static text. Does flash
embeed all the fonts abcdef... ,or just the ones
you use in the text field ?
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 04-23-2003, 01:46 PM
View Complete Forum Thread with Replies
Sponsored Links:
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!
View Replies !
View Related
[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);
}
View Replies !
View Related
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?
View Replies !
View Related
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>
--------------------------------------------------------------------------
View Replies !
View Related
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.
View Replies !
View Related
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
View Replies !
View Related
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.
View Replies !
View Related
Static Text
Hello, I know that you can execute a URL from static text, I was wondering if you could just as easily execute a line of code in some fashion or another, like:
Obviously this isn't working, so if any one knows a super easy shortcut let's have it!
View Replies !
View Related
How Do You Use The Tab Key In Static Text?
Does the tab key not work the same as in other text-based programs? I want to indent a few lines of text, and I thought the Tab key could be used to line up everything. Is there some kind of key combination for this to work, or do I just have to keep hitting the space bar until it lines up?
View Replies !
View Related
### Static Text
Is it possible to get static text to make a call. ie.
Static Text
on (release){gotoAndStop(11);}
I would like to place static text in an application. Then be able to tell it to goto a frame. Can that be done?
View Replies !
View Related
Static Text On The Fly
I want to do some alpha tweening on dynamically created text built with mc.createTextField(). But it doesn't work. I think that only static text fields in a movie clip support the _alpha property. createTextField() doesn't create static text fields, only dynamic and input, right?
Is the only way to set the _alpha property of a text field to have it in the library in a movieclip where the text can't be dynamically updated?
Or is there another way?
Edit: I suppose that I could bitmap characters in a given font and build the movieclip out of those chars on a dynamic basis, then tween the alpha channel that way. My question stands, though, if there's a better way.
View Replies !
View Related
Changing Static Text
I'm working on my new site and I'm just looking for a way to do this..
I have a button on one layer, and static text on the other. I want to make it so when I click on the button the static text on the other layer changes to whatever text I tell it to, via actionscript. I don't know how to do this, tried many times..
View Replies !
View Related
How To Underline Static Text?
Hi,
How do I underline static text? I hope I don't have to make the text dynamic, therefore aliased. And I hope I don't have to actually draw the underlines with the line tool.
Thanks a million.
Your new biggest fan,
Charlie
View Replies !
View Related
Fonts And Static Text
Hello!
When using dynamic text-fields, you can tell Flash which chars you want to be embedded in the swf-file, if the user hasn't got the font.
When using static text-fields, this option is not available. What does it mean? Does it mean that Flash is including the font automatically or does it mean that Flash uses only the fonts on the users computer?
Martin
View Replies !
View Related
Scrolling Static Text
I just want to scroll a peice of static text. The manual says to use Scroll Pane. That works fine except it rams the text up against the top and side of the box. I've tried putting a left margin in the text field but it doesn't work.
Should I just make the static text - dynamic? What's the simplest way to do this basic effect?
View Replies !
View Related
Static Text Non-Antialias?
I needed to create a scrollfield with buttons in it, so I had to use a movieclip and a scrollpane. In the MC I used Static Text, or elsewise the Dynamic or Input Text would run off of the Scrollpane, and all of the text wood be visible and the buttons woodn't show. So I setup everything, and when I viewed it, the text was all blurry and ugly, I'm using a pixel font, and even when I put quality to low, the pixelation is there, but like O, P, D, etc. is filled in, and still loooks weird. Is there a way to fix this so they will look nice n crisp?
Fla - Problem is in scene "Beats" , Symbol "BeatList"
View Replies !
View Related
Underlining Static Text
Is it me going mad or have the creaters of the flash mx version removed the ability to underling static text? I know i can underline dynamic text with the <U> thing, but i need it to be static text so that it can be shape tweened etc. I don't rely want to resort to having to use the line tool either :-(.
Any opinions? Daniel
View Replies !
View Related
Accessing Static Text Via AS
Hi,
I need help to access Static Text by AS. The Flash help says that I need to convert them to Dynamic Text to do this...
But, Is there any way to convert all static text from a FLA file to Dynamic Text automaticly???
I need this to get all text from a FLA file to be able to translate the strings... and get back with the text after... So this transformation from Static to Dynamic text needs to be automatic....
Many thanks,
Ricardo Jr.
View Replies !
View Related
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?
View Replies !
View Related
Static Text Underlined
I have static text I am trying to underline. I'm not that well acquainted with Flash MX there for I know nothing of the process that needs to be done in order to do any type of action scripting or any other form for formatting.
Say I have the line: Select all responses that apply.
I want "all" underlined. The line is simlpy static text in a text box on the mainstage.
What, oh what, do I do from here?
Thanks.
View Replies !
View Related
Scrolling Static Text?
so here is the deal...i need to scroll static text...not dynamic (i need to put images on a layer above the text box and then "wrap" the text around the image). So basically i would have the look of embedded images with wrapped text, but nothing to do with html tags. So this is what i have done. I created a MC with the text and then placed the clip under a mask with buttons on the side, one for up and the other for down (nothing cool or dynamic). From what i gather the only way to do this is to move the whole clip (text) using x-y coordinates, and some scripting to allow the text MC to be as big as it wants and still scroll.
Sounds simple to me, and i have seen it before, but for a non-scripter, very overwhelming. Is there a tutorial that will show me how to do this? It doesn't seem like it would be too difficult, but i just don't know my way around the scripting yet. Hopefully this isn't too over my head
thanks
View Replies !
View Related
Static Text And Masks
I have read the postings concerning the problems with masking dynamic and input text but what about static text. I will explain my problem:
I have created a text effect (static) that involves several numbers scrolling to reveal the key phrase. Because I only want a small portion of the screen visible, I have created a simple non-moving mask that would allow the unneeded text to be invisible to the viewer. The effect looks great on the stage but when I go to test the movie or publish it, the text is not there. I have tested the mask with a graphic underneath and it works wonderfully but text - nope. I would prefer to not have my text broken apart because of the file size problem.
Any suggestions. Please help. I have probably done 10 hours of research on this problem with no solution.
View Replies !
View Related
NOT Antialiasing Static Text
Hi
I am using the great inertia scroller from here,
it uses static text but is anti-aliasing it... even when I have it set not to. I was going to convert it to dynamic text but it breaks, so a solution for static would be great
How can I get flash NOT to anti-alias the text?
Thanks
Helen
View Replies !
View Related
Static Text Invisible
I searched through the threads, but I couldn't find the answer to this one. I have all static text in my animation. However, on some machines, the text doesn't show up at all! It shows up fine on my Win XP pc at home, and the one at work, as well as the Linux box at the coffee shop, but my friends' XP machines can't see it! Plus, ALL the text is Times New Roman! Doesn't every machine have that?
I'm using Flash 8, and on every machine I've loaded the swf, I've downloaded the latest version of the player.
Also, when I play the animation in Firefox, it works fine, but in IE, it hangs on my loading screen more often than not. Odd?
Thanks for your help!
View Replies !
View Related
Static Text Not Showing
Hello everyone,
I just finished a couple of Flash movies for a client, but half of the computers in his office don't display the text within the movie at all. It's all static text and I've tried upgrading the Flash player on the computer to the latest version, but that didn't do the trick. His machines are PCs running Windows 2000 with only IE installed.
It shows fine on my Macs and PC. What could be the problem?
Thanks for the help.
zayd
View Replies !
View Related
Buttons With Static Text.
Hello
hello i am just learning flash maybe got 2 weeks in lol...
as of right now i need to find out if there is anyway to allow the user to click on the dynamic text area in a button
here is whats going on i have a button that is a dinamic button of sorts. same background every time different static text every new button controlled via Array that has not been defined yet but im not that far along in the project
i made the button with a dynamic text in the center of the button and when i test the button to see if the roll over works and the click animation works i cant click on the button where the static borders are in the button it gives gives me the | where the mouse is on the button
if anyone knows of a way to fix this effect plz let me know.
i really hope my problem makes sense to someone......
View Replies !
View Related
Blurred Static Text, Why?
This is a one-frame-movie, a menu with 16 similar buttons(static text, auto kern, alias text).
The main frame code only speaks to the buttons with:
btn_01.onRollOver
btn_01.onRelease
Problem: In the swf some of the text buttons (looks like ordinary links) is kind of blurred, looks fine if I lower the quality.
Anyone know what it can be, have I missed something. Or can I do something like: movieclip._qualtiy == less (that one I just came up with, gotto see if there's a command like that)
View Replies !
View Related
Scrollable Static Text
I am looking for a way to scroll static text with a professional scroll bar. Not where the button's actions are on release and scrolls a little. I want it so that the user can hold the button down and it will scroll. I also want that middle bar thing. See example at a website.
Any help would be great. I have been searching tutorials and haven't found any. Thanks in advance!
View Replies !
View Related
Masking Static Text
I thought with masking text,
if the textfield is dynamic, this cannnot be done at least to my knowledge
but with static text, I thought you are able to mask it, but its not happening for me right now.
I am trying to mask a textfield with the _sans font
thank you for your help
I just tried it with pretty much any other fonts, and it worked.
I guess I will make do with Arial for now
View Replies !
View Related
Aliased Static Text...?
I know how to smooth dynamic text, but what I want to do this time around is create a static textbox that DOESN'T anti-alias the text.
Basically, I have a very large amount of text that I want to move around the screen, and the static anti-aliased text makes it run slowly. I can switch them to dynamic textboxes with some preset text (no variable), but they don't get scrollers and the text takes up more lines when rendered live than it does when editing my fla. I don't want to chance it being cut off by different flash players/systems/etc. Any suggestions? Why isn't there an option to do this?
_______
EDIT: Or is using pixel fonts the only way to get around this? If so, anyone have a 12 pt. Arial pixel font?
View Replies !
View Related
Unicod In Static Text
I need Flash to show unicode characters (such as é ó ú) in static text field. These symbols are present at my font file (i can see them with charmap or popchar), but Flash behaves as they are not. What can be the workaround?
View Replies !
View Related
Static Text Dissapears
I have built this website:
www.fairlane-am.com
It uses static text for headings and titles. The text works on MOST computers but I've noticed that on SOME computers the text is not there.
I have tried embeding the font, linking the font in the library and even changing the selection for anti-aliasing. Has anyone had this problem before or know how to fix it?
thanks,
Billy
View Replies !
View Related
|