Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Text Display



I would like to be able to display text (song lyrics) by pressing a button. I would like the title to stay constant but I would like buttons to be able to display:
verse 1 verse 2 etc. chorus.
I would like to be able to click each button in any order also.
Is there a template that could be used to set-up each song or would each song have to be created from scratch?

Any advice on how to do this, tutorials, or products that will do this for you would be appreciated.
You can respond here or to cts7z@yahoo.com


Thanks
CT Stan



FlashKit > Flash Help > Flash Newbies
Posted on: 10-13-2001, 04:28 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

[F8] Can Flash Load Text Without Changing It And Display Whats Raw In The Text File?
just curious... I just want flash to read a txt file and do nothing to it... just echo it out loud and display it in Flash...
is there a way to do this?

like if the text file had "the quick brown fox jumped over the lazy dog" in it and NOTHING else... no variable syntax or anything..

is there a way this can be done?

I appreciate anybody who can help

Flash Script - Random Text Effect With Default Text Display
This is a dedicated thread for discussing the SitePoint article 'Flash Script - Random Text Effect With Default Text Display'

Text Field Doesn't Display Text When Its In A Page Loaded W/ AttachMovie
I'm having a problem where I made a 'main' page that loads sub-pages via attachMovie and in those subpages I have text fields that are populated via a LoadVars object. The subpage works perfectly when I run it by itself -- but when I load it into the main page w/ attachMovie, the text field doesn't show up. Ideas? ?

Advanced Text Display / Clipping / Measuring Text Length
Thought i'd post a quick question to see if anyone has ran into this before. It'd save me a bit of time if someone would be kind enough to help.

The final effect i'm working on is editable text, including typing directly on the text to edit it, draggable resize from the corners, changing fonts, changing colors, and masking the visible text so it's clipped at the end of the last char typed.

changing colors: easy
draggable resize: easy
changing fonts: easy if i can figure out the clipping and text measuring

clipping (or masking, whatever you want to call it): i could use some help on this one, i know it can be done but i haven't been able to run across any good examples. a link or an explination would be appreciated.

text measuring: this is something i've given up on for flash. i still need to do it but my current solution is to rip all the char metrics from the font through a real language into raw data that i can use for a lookup for flash. if anyone knows how to do this completely in flash it would save me a ton of time not having to re-rip metrics for every new font add in the future.

thanks!

Dynamic HTML Text Fields Do Not Display Formatted Text?
Flashkit.com,

In Flash MX I am developing a lot of movies using dynamically populated html text fields. When the user does not have a font I used on their machine swapping happens on all dynamic and input fields. Only static fields display the corrent font. I make sure the text field properties are embedding the fonts. Still all of the dynamic html text fields do not display the formatted text. I have .fla samples I can email to anyone.

I have tried these macromedia solutions with NO success:

http://www.macromedia.com/support/fl...t_outlines.htm

http://www.macromedia.com/support/fl...namic_text.htm

http://www.macromedia.com/support/fl...haredfonts.htm

Does anyone have a working sample .fla they can send me?

-Jimmy

Dynamic HTML Text Fields Do Not Display Formatted Text?
Flashkit.com,

In Flash MX I am developing a lot of movies using dynamically populated html text fields. When the user does not have a font I used on their machine swapping happens on all dynamic and input fields. Only static fields display the corrent font. I make sure the text field properties are embedding the fonts. Still all of the dynamic html text fields do not display the formatted text. I have .fla samples I can email to anyone.

I have tried these macromedia solutions with NO success:

http://www.macromedia.com/support/fl...t_outlines.htm

http://www.macromedia.com/support/fl...namic_text.htm

http://www.macromedia.com/support/fl...haredfonts.htm

Does anyone have a working sample .fla they can send me?

-Jimmy

Dynamically Loaded Text File Doesn't Display In Text Box?
Hello People,
This is the scenario, hope you can help
I have a main mc, that loads into it an mc with a dynamically loaded external text file(" text mc")inside a text box(normal stuff). When the main mc load the text mc the external text file doesn't appear in the text box? When I execute the text mc by itself, it works sweet, text displays. I just need some help of getting the text to appear when it's loaded inside the main mc?

I've attached the text mc file so you can find the problem(note it will work fine, it's just when it's loaded inside the main mc the text doesn't display?)

thanks people

Scrolling Large Text, Text Doesn't Display Completely...
I'm using this script for my scrollers, the main problem is when my movie have too much text content, it seems to stop displaying the text after a certain number of rows...

Anyone have an idea what could cause such limitation?


Quote:




// Jake Gelbman 11.14.01 slider script
// email: allforjake@yahoo.com
// site: allforjake.cjb.net

// ok here is the load event handler
// diff_y is the total amount that the scrollbar can movethe bound_box is a movie clip that surrounds everything. its just a clear box
// next line we set bounds to the bounding area of the bound_box clip getBounds() returns 4 variable yMin yMax xMin & xMax they are the bounding area that well use for a lot of stuff
// top is the highest amount the scrollbar can go
// bottom is the lowest
// updateScrollbar() is the function for setting the content clip to the right spot
// "scroller._y - top/diff_y" is a percent of the scroll bar's position we multiply it by the amount we can scroll of the content
// friction is how much the scrollbar should slow down by after throwing it
onClipEvent (load) {
diff_y = bound_box._height-scroller._height;
bounds = bound_box.getBounds(this);
top = bounds.yMin+(scroller._height/2);
bottom = bounds.yMax-(scroller._height/2);
function updateScrollbar () {
content._y = -(((scroller._y-top)/diff_y)*(content._height-bound_box._height));
}
friction = 0.10;
}
// this detects if you clicked on the scroller it starts a drag with the scroller to be from the "top" which we defined earlier to the "bottom"
// we then set scrolling to true
onClipEvent (mouseDown) {
if (scroller.hitTest(_root._xmouse, _root._ymouse)) {
startDrag ("scroller", false, scroller._x, top, scroller._x, bottom);
scrolling = true;
}
}
// here we stop the drag and set scrolling to false
onClipEvent (mouseUp) {
stopDrag ();
scrolling = false;
}
// every frame it sees if your scrolling then it updates the scrollbar to the right place based on the y position of the scroller
// it also calculates the speed of your scrolling
onClipEvent (enterFrame) {
if (scrolling) {
updateScrollbar();
newY = scroller._y;
yspeed = (newY-oldY)*0.50;
oldY = newY;
done = false;
} else if (!done) {
// here it adds the speed to the y position of the scroller
// then it asks if the speed is at a number that you can see it moving if it is then it decreases the speed by multiplying it by a decimal
oldypos = scroller._y;
newypos = oldypos+yspeed;
if (yspeed<-0.2 || yspeed>0.2) {
yspeed *= friction;
} else {
yspeed = 0;
done = true;
}
// the next two if statements test if it hit the top or bottom if it had it makes the speed negative to what it is so itll change its direction - neat bounce effect to it
if (newypos<top) {
yspeed = -1*yspeed*friction;
newypos = top;
}
if (newypos>bottom) {
yspeed = -1*yspeed*friction;
newypos = bottom;
}
// here we set the scrollers y position to newyposition (the variable we are adding the speed to)
// it then sets the mc to whereever the scroller is
// then its going to keep on doing this enterFrame business untill speed has reduced itself to 0
scroller._y = newypos;
updateScrollbar();
}
}

Display Random Text Message From A Text File
How do i display a Random text message in Flash from a text file?

I want to do something like a "quote of the day" thing
so i need a random quote in the flash movie everytime
users call up the htm page in the browser.

Please help.

Display Problem Of Static Text And Dynamic Text
When editing fla file, these two text look same, but when I press ctrl+enter to export a swf file, they look different.

3x

Is It Possible To Display The Text (from External XML File) In A Text Field?
I'm a beginner with Flash ActionScript coding. I've got to make a flash menu that takes the text and URL for the menu items from an external file and displays it on a PHP page.
I've found the code to load text from an external file on the Adobe site:
http://livedocs.adobe.com/flash/9.0/main/00000890.html

However, this code doesn't work. It gives a message "Undefined" in a box, though all the paths are correct.

However, I can't use this code since I need to anti-alias the text display.Is it possible to display the text (from external XML file) in a text field? I can then apply anti-alias and select the text characteristics. I'll embed all the possible font characters in the movie.

How do I make this Dynamic Text for text fields work?

I'm using Macromedia Flash Professional 8 for creating this menu.

Load External Text Into Variable? (not For Display In Text Box)
Hello,

I've having a hard time getting this to work, and I hope someone can help. I'm trying to load a value from an external text file into a variable named Q1A. Here's my text file:

&A1=correct

Basically, I'm placing quiz questions, four possible answers and whether the answers are correct/incorrect all in a text file. I'd like to make a 'submit' button that checks whether the answer is correct/incorrect (based on what's been defined in the text file). This lets me use the TXT to update all questions/answers, and it also lets me vary which statement (1st, 2nd, 3rd, 4th) will be the correct answer.

I can load external text into text fields just fine, but how do I use loadvars to define the value of a variable that I'd like to test? Any help would be greatly appreciated. Thank you.

Dynamic Text File Doesn't Display All Of The Text HELP
Hi everyone, I have a flash site that I created for a church, and on the homepage my client wanted to have a section called Announcements, where she could easily update the text from that section. To accomplish this, I went to the Kirupa tutorials for dynamic text files in Flash.

I used the XML (or was it PHP) code, pasted it in my Flash movie, opened up Notepad to create my text file, and began inserting paragraphs of text in the Notepad. I attached a scrollbar to the dynamic text file since I wanted to see all of the paragraphs. Scrolled down to the bottom, and then quite surprisingly the rest of the paragraphs were cut off!

The website I'm working on is www.jonesumc.org, and the Announcements section and scrollbar are on the bottom left side of the homepage. The paragraph cut off was originally supposed to say:

FINANCIAL LITERACY BOOT CAMP The Financial Literacy Boot Camp for ages 5 - 18 will be held July 10th - 14th here at Jones. Applications are available today! Three levels offered, Elementary, Jr. High & High School. Our mission to “Expose & Empower” our children & youth to positive financial tools. Volunteers are needed for the week. See Hilary Byrde for more details.

Instead, the scrollbar and textbox cuts the paragraph to the word "Jr. High"
Does anyone know what the problem is?

This is the code inside Flash that allows the text file to communicate with the dynamic text box:

Code:
loadText = new LoadVars();
loadText.load("announcement1.txt");
loadText.onLoad = function() {
announce1.text = this.announce1;
};
The dynamic text box has an instance name of announce1, and the Var is labeled: announce1
The dynamic text box doesn't have any actionscript applied to it. The line type of this box is also Multiline, and the text wraps inside the box.

Inside Notepad, at the very beginning I was told to type "announce1="
Immediately after the equal sign, I could write any kind of text I wanted to. Instead of hitting the ENTER key I pressed the SPACEBAR key several times until I created a new line of text.

As for the code, that's it! There wasn't really anything complicated with the code and putting things together. In order to fully understand my problem I recommend taking a look at kirupa's tutorial for dynamic text. Thanks for your help!

Random Text Effect With Default Text Display
Can somebody please send me a tutorial on this one. I think this is very cool effect.

Example of this can be seen at www.rob-dougan.com

Would appreciate it....

Text Doesn't Display In Dynamic Text Box
i'm using dynamic text box with the scrolling bar and it works if the text box is in the main timeline. but if i put it inside a movie clip i can see only the scroll bar and not the text!

any ideas? please help.

Can't Display Text In Dynamic Text Field
I can't for the life of me figure this one out.

The Problem:
I am loading data from an xml file, and displaying the the variables in several dymanic text fields, but I can't get anything other than a number to show up.

Here's the Situation:
Using flash professional fx 2004.
I have a Dynamic Text field with a name of name_txt assigned to it.
after I've loaded the xml file, I assign the variables. I'm using trace to ensure that the proper values are assigned, and they are. I resorted to testing by hard coding the text value of name_txt, and I found that text does not show up, numbers do... go figure.

so...
name_txt.text = "test"; does not work
name_txt.text = 3; does work

some values of my dynamic text...
not showing background, not htmlText, single line, aliasing, nothing embeded.

Anybody have any idea how to make text show up??
thanks in advance.

Text Display Problems With Dynamic Text
In a movie I'm working on, I recently changed a text field from static to dynamic (since we now want the text to change when rolling over something else). When it was static, the text was font Arial and it displayed fine. But now, the dynamic text shows up as a different font (what looks like a "default"), even though the font and size are set exactly the same (literally all I did was change the text type in the properties window). Any ideas as to what's causing this, and how to fix it? Thanks.

Trent

Rendering Dynamic Text As Display Text?
Anyone know how to render dynamic text loading from a .txt as nice vector display type? Is that even possible? I'm looking at hothotheat.com at their news, and I would think that text would be loaded externally.

Thanks,

C

Loading External Text, Text No Display
Hiya
I need a hand with some flash script. I have a file called main.swf which loads up section1.swf.

section1.swf loads in text from an external txt file called loadText.txt.

When I test section1.swf in the flash player, it works, and the text appears.
BUT When I test main.swf in the flash player, I can see the section1.swf that is loaded in, but the text is not there


This is the script I'm using on on the first frame on the main timeline of section1.swf
///////////////////////////////////////////////////
this.createTextField("myTitle", this.getNextHighestDepth(), 30, 30, 490, 27);
this.createTextField("myContent", this.getNextHighestDepth(), 30, 70, 250, 300);
loadVariablesNum("loadText.txt",0);
//
myTitle.multiline = true;
myTitle.wordWrap = true;
//
myContent.multiline = true;
myContent.wordWrap = true;
//
this.onData = function() {
//Insert text
myTitle.text = loadTITLE;
myContent.text = loadCONTENT;
};
stop();
///////////////////////////////////////////////////////

Any ideas?

I'm using FlashPro 8. And I'm testing with Flash player 8.

Text Display
I would like to be able to display text (song lyrics) by pressing a button. I would like the title to stay constant but I would like buttons to be able to display:
verse 1 verse 2 etc. chorus.
I would like to be able to click each button in any order also.
Is there a template that could be used to set-up each song or would each song have to be created from scratch?

Any advice on how to do this, tutorials, or products that will do this for you would be appreciated.
You can respond here or to cts7z@yahoo.com


Thanks
CT Stan

Text Display
hallo everyone,
i read some of the threats about text in flash, but they just get me more confused. so here is my personal problem.

... i am using a pixel font in a dynamic text field (which you can scroll). do i have to embed it, or will it be displayed as intended across all platforms ??? and ... if i use static text fields will pixel fonts anti-aliase or not ???

any help appreciated, thanx.

XML Text Display
i have a text component with xml loaded into. they are titles and urls for videos to play. but i want a description of each video to display onclick of the videos. here is what part of my flash looks like

var vlist:XML = new XML();
vlist.ignoreWhite = true;
vlist.load("videos.xml");

vlist.onLoad = function() {
var videos:Array = this.firstChild.childNodes;
for(i=0;i<videos.length;i++) {
videoList.addItem(videos[i].attributes.desc,videos[i].attributes.url);
aboutVideo.addItem(videos[i].attributes.about);
}
ns.play(videoList.getItemAt(0).data);
videoList.selectedIndex = 0;
}

var vidList:Object = new Object();
vidList.change = function() {
ns.play(videoList.getItemAt(videoList.selectedInde x).data);

}
videoList.addEventListener("change",vidList);

videoList.setStyle("selectionColor",0xCCCCCC);
videoList.setStyle("textSelectedColor",0x000000);
videoList.setStyle("rollOverColor",0xCCCCCC);

function displayDetails(){
textbox.text = (videoList.getItemAt(videoList.selectedIndex).labe l);
}

as you can see the bold part is where my trouble is. i have a text box and i just want to take the label (title) of the xml, i want to figure out how to also get the description in there.

please can someone reply cause this is the 2nd time i have posted...

Text Display
Hello, I am using the Flex 3 IDE, and I created a new actionscript project. My code is:


Code:
package
{
import flash.display.Sprite;
import flash.text.TextField;
public class SiteIntro extends Sprite
{
private var _field:TextField = new TextField();

public function writeName():void
{
_field.text = "text";
addChild(_field);
}
}
}
However when I hit run, the only thing I see is the background color. Why isn't my text showing?

Display Var In Text
ok i use to know this but its been i while since i messed with flash and i cant find an old file that has this nor could i find a tut or topic to help...

so i have _root. and in _root is a movie called score
there is a button on root that i want to where on click set var num1 to 20 and then have the number 20 show up in the score movie.. i tried making a text box and putting num1 in the var then having the button have on release set num1, 20 but that didnt update the text box to display 20

Can't Get Text To Display...
Hey Guys,

I have this code in my flash movie...


Code:
if(_root._currentframe == 110)
{
trace("blah");
var test:MovieClip = _root.attachMovie("mcWinner", "mcWinner", _root.getNextHighestDepth(), {_x: 157.1, _y: 348.8});
test.winners_txt = "testing!";
delete this.onEnterFrame;
}
Now... my 'mcWinner' movie clip shows up (I just have basically a red strip right now to make sure something shows up, and I can see the 'text line' come up instead of a pointer when my mouse moves over that... the trace shows up fine, but for some frickin' reason, the "testing" text won't show up... Does anyone have any idea why this isn't working for me? I have had similar code in programs before... but this isn't working for me...

Any ideas?

Thanks,

--D

Can I Display This In A Text Box
hello, i have a flash page which i would like to display the last 5 topics posted on my forum. i have the code to do this on a normal web page (below) yet i would now like to have the same displayed in a textbox on my flash page....

This is the code to retrieve and display the 5 most recent....

<script language="JavaScript" type="text/javascript" src="http://fugucreations.com/forum/topics_anywhere.php?mode=show&f=uMSwyLDQsNSw2LDksM TQ%3D&n=5&jlp=y&so=d&b=0"></script>


any help or guidence would be fantastic.

Thank you.

Display Var In Text
ok i use to know this but its been i while since i messed with flash and i cant find an old file that has this nor could i find a tut or topic to help...

so i have _root. and in _root is a movie called score
there is a button on root that i want to where on click set var num1 to 20 and then have the number 20 show up in the score movie.. i tried making a text box and putting num1 in the var then having the button have on release set num1, 20 but that didnt update the text box to display 20

How To Display Hml Text?
Hi
I have a text field on sage.I added the html enabled to it and intended to show an image inside it.The image is showing up properly but it comes in the second line insead of the first file with the text.Any body, any help????
thanks

Display Text From Another Text Field?
Hi,
Is how do I display a string of text that is in a texfield using a var?
None of this code work?

loadVariablesNum("Cookie.txt", 0);
var sometext = txtfname.text;
trace(sometext.ToString());

//or

txtTesting.text = txtfname.text;
var test = txtfname.text;
trace(test);
Trace(txtfname.text);

Thanks
-CW

Dynamic Text Field To Display Specific Text When Visibility Of Mc = "true"
Does anyone know if it is possible to display a certain line of text in a dynamic text field when a specific movieclips visibility is true? This is the script I am using now but it is'nt working.

if (_global.gothicBlockSide = "true") {
rightSideFont.text = "Gothic Block";
}

Dynamic Text Won't Display
I just started using ASP with flash. I've gotten numbers in a Access table back into flash, but can't get text to display in a dynamic text box. I'm looping to give it plenty of time to load, but still won't work. Here's the ASP code which works for numbers.

<%@LANGUAGE="VBSCRIPT" %>
<%
Option Explicit

Dim Conn, fldName, fldEmail, fldMessage, fldDate, fldAddress, fldPhone, fldVillage, strsql, strname, stremail, strmessage, strdate, strphone, straddress, strvillage

Set Conn=Server.CreateObject("ADODB.Connection")
Conn.Open("contactus")
strsql="SELECT fldName, fldAddress, fldEmail, fldPhone, fldVillage, fldMessage, fldDate FROM tblGuestBook"
Set rsRecords = Conn.Execute(strsql)
strname = rsRecords("fldName")
straddress = rsRecords("fldAddress")
stremail = rsRecords("fldEmail")
strphone = rsRecords("fldPhone")
strvillage = rsRecords("fldVillage")
strmessage = rsRecords("fldMessage")
strdate = rsRecords("fldDate")


response.write"&fldName" & "=" & strname

response.write"&fldAddress" & "=" & straddress

response.write"&fldEmail" & "=" & stremail

response.write"&fldPhone" & "=" & strphone

response.write"&fldVillage" & "=" & strvillage

response.write"&fldMessage" & "=" & strmessage

response.write"&fldDate" & "=" & strdate

response.flush

Why won't a dynamic text box with a variable name fldName display the value in my Access table? I've tried so much I feel it may be something simple like there is a difference between numbers and strings in the code which I'm unaware of. By the way in Flash I'm looping around
loadVariables ("search.asp", "", "POST"); with an if statement of if fldName = Joe goto next frame.


Thanks

Text Display Problem
Hi all.,

This problem is irritating me in each site.,i am creating.
The prblem. is when i have some paragraph . the text looks blurry. i am having blue bg. and the text as white. but the white texts looks blurish.

On text option pallete. If i select the "device font"
then the text looks good. but still there is a problem in it.I can't able to give animatin for the text which i gave decive font
Just if i gave the fade in and fade out effect. but it is refusing to come.
i don't know Y?
can anyone suggest some solution for this.

thankx in advance.
victor.A

Can't Get Dynamic Text To Display
I have 4 instances of a smart clip on the same timeline with different names. The one variable being set is the location of the text file I'm importing text from. 4 simple buttons are used to navigate the site. The buttons send the curser, if you will, to the frame that has the appropriate instance of the clip. The clip is a container for a scrolling text box. The dynamic text field is named "text" and the one variable being set in each of the text files is named "text". The output window shows this:

Level #0:
Variable _level0.$version = "WIN 5,0,30,0"
Variable _level0.text = "start • This is some sample text. • end"
Movie Clip: Target="_level0.instance1.SkillsBox"
Variable _level0.instance1.SkillsBox.textFile = "html/skills.txt"

This is the statement to load the text:

loadVariablesNum(eval ("textFile"), 0);

VERY new to Flash so any help is appreciated. Thanks in advance!

Random Text Display
How can I have text display (a series of quotations) randomly in a browser? I want to create this in Flash, have the text display randomly on each browser load.

Random Text Display
I'm doing a series of quotations in Flash MX that must display randomly in an existing browser upon load. How can I get it to display randomly?

Loretta

Dynamic Text Display Bug?
I'm reading a .txt file to populate a dynamic text field in my Flash MX program. An example of the text I'm pulling in is:

&Menu=Line1
Line2
Line3
Line4
Line5 . . . and so on.

For appearance I've entered a -7 for Line Spacing in the Format Options box. This vertical spacing looks good when I test my movie.

The problem comes when I run the .swf file from my UNIX based ISP. The text displays but is compressed in the vertical (lines laying over each other).

Has anyone else noticed a similar problem or have a solution? Thanks for any help!

Instant Text Display
Hello all. I hope you can help me.

I want to have a page that allow the user to submit key pieces of information. ie:

Client name:
Hotel Name:
Address:
phone:
Advisor:

Once the information is submitted, I would like to hit a button that will then display on the same screen:

Dear _________, (client name)

Curently you have a reservation at ___________ (hotel). They are located at _____________. (address). They may be reached by calling _________. (phone)

Sincerily,
_______(advisor)


The info DOES NOT need to be sent anywhere. This is basically just to cut down on writing time for composing long, and detailed emails for work. Once Displayed I will cut and past it into our work system.

In the final version it would be much longer and have radio buttons to display additional paragraphs.

Is this possible? If so what is the easiest way to do this. I think I have seen sites that have incorporated this type of idea into the site. The info DOES NOT need to be sent anywhere. Just entered then displayed reorganized and inserted into select paragraphs.

A REALLY simple Version of this would be:
What is your name:___________

Once a name is entered, it would display,

Hello ________

If this is over complicating things by doing it in Flash? Seems like it should be easy. If not please suggest an easier way, ie HTML, java, etc.

My server does have limitions when it comes to submitting info, (similar to a Geocities, etc) so basically it will just have to keep it in memory, if possible (no CGI or PHP support). I have some HTML knowledge, but can't seem to figure this one out.

Display Text With Variables?
Hey there.

I have about 150 text-based rollovers to display and thought it might be easier to use a variable that would hold the proper text and then get flash to display this variable (and thereby the text) when the button is rolled over.

Can someone tell me how this can be done? I am exporting as Flash 5.

thanks much for any help!

S

Getting A Listbox To Display Text
How can you get a listbox to display text in a textfield?

Display Different Text With Buttons
I am trying to make a simple website. I have a preloader and a scene that work ok. I also have 3 buttons to display Biography, reviews and links. My problem is, that the text I put in shows constantly instead of when you click a button. How can I display my info only when I want to? (user clicking button)

Input Text Display
I have an input text field. When my movie is "idol" I have a script that makes the text field say:

_root.movie.email.text = "enter your name";

when I hit submit I have a script on the button that says:

on (release) {
emailCover.gotoAndPlay("cover");
}

It plays/works fine. Within that emailCover MC I have an action to change the input text to say something else:

_parent.email.text = "Thank You";

For some reason, the input text still says "enter your name"
What am I not doing to change the text? All the frames are working correctly, but my script is not. Is it possible to change what the text says?

Thank you so much for any advice

Help Me Make The Text Display PLEASE
what I have is 2 layers...my background...and my buttons layer...having 7 buttons. On the same layer I have a rectangle colored...to provide some color behind the text field. Text field is also on this layer. the script in frame 1 on the buttons layer is:
loadVariablesNum("http://blindparadox.tripod.com/homepage.txt", 1)
btnRollo.onRelease=function(){
textbox.text=_level1.content
}
btnTour.onRelease=function(){
textbox.text=_level1.tourpage
}
b3.onRelease=function(){
textbox.text=_level1.var3
}

Button To Display Text
I've got a button and i want it so that when I click it it displays text. I'm thinking it would be easier to make a new symbol and put the test in that and have it so when the button is clicked it displays this symbol. can someone tell me the scripting to do this?

Dynamic Text Won't Display.
For some reason when I view my web page www.angelfire.com/creep/booger at my school, it won't display any of the text, but as you might be able to see it works everywhere else! Does anyone know what the deal is?

Dynamic Text Won't Display
Anyone have any guess as to why this is happening:
I have a dynamic text field with the font set to _sans.
I'm using the text to display preload progress. Works fine locally but the text won't show up when the site is on the web server.
I've checked everything over and over...
the text field has a variable name, etc. etc.

What's weird is that it works when I test it using "show streaming" but it doesn't work live.

Can't Display Rotated Text? Help...
Hi,

I'm working on this flash program that contains several rows of text and I need to put a label by each group of rows. The problem is, the label needs to be rotated 90 degrees. When I rotate it any number of degrees, it no longer displays when the swf file loads.

Background:
My company develops 12 month plans for real estate/mortage industry professionals. Our ActionVision Program lays out a 12 month plan with 24 tasks to be completed over those 12 months. Those 24 tasks can come from up to 20 different catagories.

On the ActionVision Plan (what I'm working on), the tasks are listed by catagory. There isn't enough room to put a catagory heading because this needs to all fit on a standard sheet of paper and be readable.

So I create the catagory label movie clips. Because the catagories are dynamic, I can't use static text, so I use dynamic text. However, like I said, it will not display it's value when rotated. It will, on the other hand, display whatever I tell it to when not rotated (but it doesn't fit).

Any Ideas? I'm pretty fresh to flash, so if you have a solution please be as detailed as possible. Thanks in advance.

I'm using MX2004.

Text Search And Display
O.k here's what I have. 3 ini files containing info
(server logs) to check the log for a user i need
to search through the ini file for the feild referance.
But there are a number of records matching the name, so i need
to keep pressing search until the final instance of that record
is displayed (this is the most up to date information).

What i need is flash to do the search on the feild referance
and only display the data for the final record for example.

Tina 1
Tina 3
Tina 5 "a search on tina would display this information"
Bob 1
Bob 27
Bob 35 "a search on Bob would display this information"

please help i would love to get this to work. I know flash
but not about external text files or how to search through
them. Any help would be fantastic.

Thanks, Luke

How Do I Display The Time In A Text Box?
This should be simple.

I have the following code:

PHP Code:



mydate = new Date();
seconds = mydate.getSeconds();
minutes = mydate.getMinutes();
hours = mydate.getHours();
day = mydate.getDay();
date = mydate.getDate();
month = mydate.getMonth();
year = mydate.getFullYear();

if (day==0){
        day = "Sunday"
} else if (day==1){
        day = "Monday"
} else if (day==2){
        day = "Tuesday"
} else if (day==3){
        day = "Wednesday"
} else if (day==4){
        day = "Thursday"
} else if (day==5){
        day = "Friday"
} else if (day==6){
        day = "Saturday"
}

if (month==0){
        month = "January"
} else if (month==1){
        month = "February"
} else if (month==2){
        month = "March"
} else if (month==3){
        month = "April"
} else if (month==4){
        month = "May"
} else if (month==5){
        month = "June"
} else if (month==6){
        month = "July"
} else if (month==7){
        month = "August"
} else if (month==8){
        month = "September"
} else if (month==9){
        month = "October"
} else if (month==10){
        month = "November"
} else if (month==11){
        month = "December"
}

if (minutes<10) {
        minutes = "0"+minutes;
}
if (seconds<10) {
        seconds = "0"+seconds;
}

if (hours>12) {
        hours = hours-12;
        ampm = "PM";
} else {
        ampm = "AM";
}
if (hours == 0) {
        hours = 12;
}

time = ((hours) + ":" + (minutes) + ":" + (seconds) + " " + (ampm));




Now what do I need to do to display the time in a text box?
thanks

Text Variable Display
i cant seem to be able to control variable txt to display as a block. ie it currently runs on one line only so all the text is not displayed.

i have set the text field to multiline, so i'm not sure what is going on here.

rat

Copyright © 2005-08 www.BigResource.com, All rights reserved