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




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....



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 09-26-2003, 02:00 PM


View Complete Forum Thread with Replies

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

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'

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.

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

[F8] Random Text Display
i want to have my quotes (text) display on a website
each day a different quote all store in the same folder on my server


can anyone help with a actionscript

Display Random Text Or Words?
is there a way to have flash display random words (i'm assuming i would have to make a list of words to be used).

I'm very much a newbie to actionscripting, so details would be GREATLY appreciated.

peace.
PHERBALL

Dynamic Random Display Text?
I was wondering if you could give this nub on how to read text from a file and display a random line. Id like to add a little random quote thing to some of my flash content but id also like it to read the text from a file.

So say your file is blah.txt, inside containing

Code:
Random Message Line 1
Random Message Line 2
Random Message Line 3
Random Message Line 4
Random Message Line 5
How could i go abouts doing that? the file would be in the same directory as the .swf file. Thanks for any pointers!

Airport Display Text Effect
Hello.

Does anybody knows an easy way (with AS2) to do the text effect that looks like an airport display?

I will really appreciate your help.

Thanks in advance

Halanis

Airport Display Text Effect
Hello.

Does anybody knows an easy way (with AS2) to do the text effect that looks like an airport display?

I will really appreciate your help.

Thanks in advance

Halanis

Display A Random Number In A Dynamic Text Field
Hi, I've only ever used very basic Actionscript 1 & have recently made the switch to AS3.

I'm trying to create a dynamic text field that will display a randomly generated number between 1 & 9.

I've created a dynamic text field on the stage and called it 'random_txt' in the properties inspector.

Here's the code I have on frame 1 so far:

code: var myResult:int = Math.floor(Math.random()*8+1);

So my understanding of the above is that the variable 'myResult' now holds the randomly generated number?

I'm trying to display it in the text field by typing:

code: random_txt.text = myResult;

This seems to make sense in my head, but it doesn't work. Is anyone able to tell me where I am going wrong? Sorry if this is really basic, but I'm not from a coding background so the maths/tech side of things really throws me.

Thanks in advance.

Display Random Text On Stage, Floating Across Randomly
Hi

Can anyone help with a script for doing the following.

I would like to have a box where random sentances from a text file would move across at different trajectories, speeds, colors and sizes. Having more than one in view at any one time.

The application is for a musical group, we want to put our song list into a text file, then use the script to display the contents in random order. We have over 400 songs so doing this in a list would be boring.

I only have basic knowledge of Flash (using Flash MX). Im a PHP programmer.

Any ideas

Thanks Terry

Write On Text Effect - Display Different News
Hi,

Does anyone know how to modify this tutorial (Write on text effect) in order to:

- have some text appearing
- wait a few seconds
- have it disappearing
- new text coming... and so on

As the last one has been displayed, it starts all over again.

Thank you very much for your help,

Paolo

Random Text Effect
hey,

download the file please.

i have 2 questions...

1. how can i make the effect happen by itself (meaning i wouldn't have to mouse over the button for the effect to happen, it would just start playing by it self.)

2. if i insert long text in there, it gets cut off. How can i avoid this?

Thanks.

Random Text Appear Effect
Hi, I was wondering how I would go about to make a button or mc where when you put the mouse over it, the it displays the text next to it, but each letter in the word appears randomly in sequence. So if I have a button for 'about' when mouse is over, it appears like _ _ o _ _>_ _ o u _>a _ o u _>a b o u _>a b o u t (without the underscore of course), but instead it's random every time. Any ideas? Thanks!

Random Text Effect
hey guys i went to a site http://www.yugop.com/ was just wondering how was the text effect given at the bottom does anyone have any idea

Thanks
usef4u

Random Text Effect
Hello folks!
I would love to know how to make this: Yugop.com
Those random typo over the btn's.
I've been searching but anything I found it wasn't just like them.
Thankz in advance

Random Effect On External Text
I am making a website for some rapper's (this the html site i am re-designing www.thefrontline.com). I need some random text effect to make the site more gangster.

I have some good code, but i need to work for some text that loads externally.

Here is my actionscript thus far:


Code:
loadVariablesNum("external.txt", 0);
if (isDone == true) {
trace("text loaded");
}

txt_end = "The Frontline"
txt_start = "WHO IS IT?"

function beginRandom() {

clearInterval(this["randomizeInterval"+myName]);

//myName = "box"; // Set this name to a different value in each button where you use this code
// eg. If you have made many buttons with this code in a game, then you could
// name each one "Controls", "NewGame", "LoadGame" corresponding to their function
speed = .5; // Bigger value = slower, change to your needs

// Both of the values below regulate the length of the effect,
// so if you want the effect to last longer, you should increase BOTH OF THESE VALUES,
// if you want a shorter effect, then decrease BOTH OF THESE VALUES.
// Increasing only one of them or decreasing one while increasing the other may
// result in undesirable results! (do at your own risk!)

iterations = 100; // The "cut off" i.e: if not all leters already appeared will force all
// of them to appear when it reaches "0"

randFactor = 200; // Specifies the approximate period between the appearance of the correct
// letters in the textbox


effectDirection = "forward"; // Specify the direction of the effect here
targetTxtField = _root.txt; // Type the path to the dynamic textfield which will display the effect
finalTxt = txt_end; // Type the text you want to show after randomization is done (capitalized text gives best effect)
beforeTxt = txt_start; // Type the text which will appear before the randomization, please make sure that it is the SAME LENGTH as finalTxt
charStatus = new Array();
targetTxtField.text = beforeTxt;
this["randomizeInterval"+myName] = setInterval(randomizeTxt, speed, finalTxt, targetTxtField, randFactor, this, effectDirection);
}
function endRandom() {
clearInterval(this["randomizeInterval"+myName]);
iterations = 0;

myName = "Menu"; // Set this name to a different value in each button where you use this code
// eg. If you have made many buttons with this code in a game, then you could
// name each one "Controls", "NewGame", "LoadGame" corresponding to their function
speed = 2; // Bigger value = slower, change to your needs

// Both of the values below regulate the length of the effect,
// so if you want the effect to last longer, you should increase BOTH OF THESE VALUES,
// if you want a shorter effect, then decrease BOTH OF THESE VALUES.
// Increasing only one of them or decreasing one while increasing the other may
// result in undesirable results! (do at your own risk!)

iterations = 250; // The "cut off" i.e: if not all leters already appeared will force all
// of them to appear when it reaches "0"

randFactor = 80; // Specifies the approximate period between the appearance of the correct
// letters in the textbox


effectDirection = "reverse"; // Specify the direction of the effect here
targetTxtField = _root.txt; // Type the path to the dynamic textfield which will display the effect
finalTxt = txt_end; // Type the text you want to show after randomization is done (capitalized text gives best effect)
beforeTxt = txt_start; // Type the text which will appear before the randomization, please make sure that it is the SAME LENGTH as finalTxt
charStatus = new Array();
targetTxtField.text = beforeTxt;

this["randomizeInterval"+myName] = setInterval(randomizeTxt, speed, finalTxt, targetTxtField, randFactor, this, effectDirection);

function clearReverseEffect(){
clearInterval(this["randomizeInterval"+myName]);
iterations = 0;
targetTxtField.text = "";
}
}

//+++++++++++++++++++++++++++
function randomizeTxt (myTxt, myTxtfield, myRandFactor, myCaller, myDirection) {
if ((myCaller.iterations != 0) and (myTxtfield.text!=myTxt)) {
myCaller.iterations--;
for (k = 0; k <= myTxt.length - 1; k++) {
if (myCaller.charStatus[k] == undefined and myTxt.charAt(i) != " "){
if ((Math.round(Math.random()*(100-1))+1) == (Math.round(Math.random()*(100-1))+1))
myCaller.charStatus[k] = 1;
}
}
for (i = 0; i <= myTxt.length - 1; i++) {
if (myCaller.charStatus[i] == 0){
randomTxt += myTxt.charAt(i);
} else if(myTxt.charAt(i) == " "){
randomTxt += " ";
} else if ((Math.round(Math.random()*(myRandFactor-1))+1) == (Math.round(Math.random()*(myRandFactor-1))+1)){
randomTxt += (myTxt.charAt(i));
myCaller.charStatus[i] = 0;
} else if (myCaller.charStatus[i] == 1){
randomTxt += (String.fromCharCode(Math.round(Math.random()*(126-33))+33)).toUpperCase();
} else {
randomTxt += myCaller.beforeTxt.charAt(i);
}
}
myTxtfield.text = randomTxt;
randomTxt = "";
} else {
clearInterval(myCaller["randomizeInterval"+myCaller.myName]);
delete myCaller.charStatus;
myTxtfield.text = myTxt;
if(myDirection == "reverse"){
myCaller.clearReverseEffect();
}
}
}

beginRandom();
//endRandom();

Cool Random Text Effect
Does anyone know how to do the random text effect that makes a block of text randomly generate?

example: www.theronin.co.uk

check out the link rollover effects

Is that an actionscript or a simple animation.?

How To Do This Effect> Random Text Select ?
Hello ,

Sorry for a asking question again but i love want to learn flash , so here is >>

how to do randmon outputs of words till rights words matches the name , like this site >>

http://www.flipmo.co.uk/v2.html << Click on Contact , then you'll know what i am asking << this site is really to cool


Thanks a lot!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Dynamic Text Box - How To Make Default Text Dissapear When Clicked On
this has been puzzling me today...im trying to work out how to detect if a text box has been clicked on. any ideas would be appreciated

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

Default Text In Text Box Disappear In Clicking
I have a text box with default text "Enter your name". I want the text"Enter your name" to be disappeared when user clicks on the box.

How can I do this

Default Text In Text Box Disappear In Clicking
I have a text box with default text "Enter your name". I want the text"Enter your name" to be disappeared when user clicks on the box.

How can I do this

[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

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 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!

Dynamic Text Default?
(Flash MX)

I have a dynamic text movie clip symbol that changes when the user clicks on links to different pages. Clicking on the link enters the text that should come up for that page title (in a little animation), and everything is working perfectly, I just need a way to default the text so that when the movie starts, the title for the first page is already displayed.

Is there a way to tell the dynamic text box to display certain text when the whole movie first loads?

Text Field Default Value
I'm sure I'll look stupid by asking this question.

I have a form with Input text boxes. I want something already written in it, like a default value.

ex. Your name

And when the user click in it to enter his name the value "your name" disapear to let the place for the information.

I saw this for html forms, I would like to do the same in flash.


Thanks!

Format Text Default
Hello,
After I create a textfield I try to format it, so that the size of the font is 18px when the user starts to type, but I only get default format.

HTML Code:
var myText:TextField = new TextField();
myText.type = TextFieldType.INPUT;
myText.border=true;
myText.multiline=true;
myText.x=30;
myText.y=30;
myText.width=100;
myText.height=50;
var qFormat:TextFormat=new TextFormat();
qFormat.size=18;
myText.setTextFormat(qFormat);
addChild(myText);
myButton.addEventListener(MouseEvent.CLICK,myButtonF);
If I however write text in the textfield and click following button then the text gets formatted.

HTML Code:
function myButtonF(event:MouseEvent) {
var qFormat:TextFormat=new TextFormat();
qFormat.size=18;
myText.setTextFormat(qFormat);
}
I would appreciate it if someone could tell me how I can set the format of the text before the user starts to type.
Thanks

Default Text In Input Box
Is there a way to create an input box with text in it ("email" for example), but that goes blank as soon as you click on it so someone can enter their email address?

Thanks.

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.

Default Text In Input Field
How do I populate the input field, then when they put in the cursor the text goes away?

Default Value For Input Text Boxes
Hello everyone,

I am trying to figure out how to get an input text box in Flash 8 Professional to show a default value, like you would a real form in HTML. I'm passing the values via the Flash URL in the Object tag like so:

component.swf?value1=1&value2=2 etc.

I'm using Cold Fusion as the scripting platform.

Can anyone tell me what to do to get the input text boxes in Flash to reflect the values in the URL?

Many thanks.


Gary

Default Value For Input Text Boxes
Hello everyone,

I am trying to figure out how to get an input text box in Flash 8 Professional to show a default value, like you would a real form in HTML. I'm passing the values via the Flash URL in the Object tag like so:

component.swf?value1=1&value2=2 etc.

I'm using Cold Fusion as the scripting platform.

Can anyone tell me what to do to get the input text boxes in Flash to reflect the values in the URL?

Many thanks.


Gary

Dynamic Default Value For Input Text Box
i have created a form in which a user will input text that will be sent to php and then be put in a txt file on the server. my problem is when the user returns to the input box it shows it being blank. I want the text that they input the last time they were there to be in the box when they arrive so they can add to it.

in essence i need the input box to first act as a dynamic text box that loads external data from the txt file, then be able to be edited as an input text box

i hope i made this clear...my thoughts are a little chaotic lol

thanks for the help

Only Default Fonts For Scrolling Text Field?
We did a scrolling text field in flash 5 and we used an external text file which we loaded in. The font we used in simple text to write our text did not import to flash it uses a default font. Is there any way to change the font color and size when loading from an external file?

If we write the text directly in flash in the actions can we write some script to make it change fonts and colors??


please help!!

thnx

Changing Default Text In Action Panel
Hi there,

I am a beginner of ActionScript. I bought a book which provides me with the effect that I wanted to use. After changing all the details in actions panel (as per instruction from my book), I could not see anything that can allow me to change the typeface in my action panel. Is that typeface consider default that I could not change? Could anybody tells me how to change it?

Thanks in advanced

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