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




Displaying Text With Scroll Bar



I have the folowing text:

<font size='+2'><b>Creating Value Through Information Technology </b><br><br>By merging with ACL, CARQUEST is focusing on the future of connectivity through information technology. The Business Manager suite of products allows us to:<br><br><ul><li>Stay competitive </li><li>Help our Service Dealers identify parts and order faster</li><li>Help Service Dealers work more efficiently and profitably</li><li>Increase customer retention</li><li>Transition more prospective customers to CARQUEST</li><li>Become more efficient ourselves</li></ul></font>

That I would like to display on a frame. I don't know what to display it in so that if it is longer than the frame, it will have scrollbars.



DevShed > Flash Help
Posted on: April 15th, 2004, 10:06 PM


View Complete Forum Thread with Replies

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

Flash 8 Dynamic Map Displaying XML Data, Problem With Displaying Text
Hello everybody...

I'm working on a project in which viewers can see a map with state parks highlighted as buttons. onRollOver a caption pops up displaying the name of the park, acreage and feet of shoreline. onRelease a movie clip is loaded into a holder. The data is being stored in an XML file integrated with a content management system... The AS for displaying the caption works fine, but I cannot get the XML data to display in the dynamic text fields contained within the caption MC. There are 37 buttons that need to display the popup and I am looking for some advice on how I can effectively navigate the XML nodes and display the data accordingly in the text fields. Below is my current code, I have not yet added the onRelease function because, I'm pretty sure that i'm going to run into the same issue that i'm having with the caption popup... The last obstacle will be that the caption is only displaying 3 of the child nodes, while the MC loaded into the holder will be displaying 7 of the child nodes. I'm guessing that using the attributes property and modifying my XML would be the easiest... but i'm relatively new to integrating XML data into Flash and am trying to minimize the work that I create for myself. If anybody could point me in the right direction, i would be immensly appreciative. Pura Vida. ~Anthony

//1st frame AS for the first button, and loading XML
var xmlPath = ("xml_mapinfo.xml");
/////////////////////////////////////
var locID:Number = 0;
/////////////////////////////////////
startDrag(this.caption, true);
/////////////////////////////////////
btn_1.onRollOver = function (){
set ("locID", 1);
RollOver();
ShowData();
}
btn_1.onRollOut = function (){
RollOut();
}
/////////////////////////////////////
function RollOver (){
trace("rollOver occured");
_root.x = 1;
this.caption.words = "Word!";
trace ("Location ID = " + locID);
}
function RollOut (){
trace("rollOut occured");
set ("locID", 0);
_root.x = 0;
this.caption.words= " ";
trace ("Location ID = " + locID);
}
/////////////////////////////////////
function ShowData(){
this.caption.location_txt.text=contentMain.owner['1'];
this.caption.acreage_txt.text=contentMain.acreage['1'];
this.caption.acreage_txt.text=contentMain.shorelin e['1'];
}
/////////////////////////////////////
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
owner = [];
interest = [];
town = [];
established = [];
acreage = [];
shoreline = [];
thumbnail = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
owner[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
interest[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
town[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
established[i] = xmlNode.childNodes[i].childNodes[3].firstChild.nodeValue;
acreage[i] = xmlNode.childNodes[i].childNodes[4].firstChild.nodeValue;
shoreline[i] = xmlNode.childNodes[i].childNodes[5].firstChild.nodeValue;
thumbnail[i] = xmlNode.childNodes[i].childNodes[6].firstChild.nodeValue;
}
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load(this.xmlPath);

//AS on actual caption MC
//////////////////////////////
onClipEvent (enterFrame) {
if (_root.x==1) {
this._alpha = 80;
} else {
this._alpha = 0;
}
}
_

Displaying Content In A Scroll Pane
Hi

I have figured out how to use the scroll pane component to display content from a movie clip. However, can someone tell me how to display content (horizontally scrolling left to right) that exceeds the size of stage. In other words, if I have 15 boxes lined up from left to right how can I display them sequentially within the scroll pane. As I try it now, I can only add as much content as the stage permits, lets say 5 boxes.

Thanks for all respones.

Cheers.
SDL

Input Field Inside Scroll Not Displaying
Hello all,

I have a registration form that I am using with static, dynamic and input fields.

All of these are located inside a scroll.

When I run the movie, only the static displays correctly. The dynamic and input fields do not show at all.

Any idea what might be doing this ? The FLA and SWF are available below

Thanks in advance for any help.

Register.zip

Scroll Bar Show Up If Needed And Only Scroll To Dynamic Text Input Bottom... HOW
I have attached a copy of my scroll bar that i am currently using how can i make the scroll bar not show up unless needed (really not all that important but would be nice.)

The important thing is that i can setup a dynamic text box inside my item_holder movie clip but my scroller always scrolls to the bottom of the scroll box not matter if inside my scroll box i have on line of text loaded dynamicly or i have 100. So if i have 1 line of text and a large dynamic text box the scroll bar will scroll to the bottom of the scroll box even though it only has one line. See attachment and see if anyone can help. Thanks in advance. Brian

Scroll Text > Button > Load Txt File > Reset Scroll Bar...?
Hi i am looking for a tutorial or an explanation of how you can load an external text file into a text field and have...let's say 3 buttons that load the .txt files...when they are loaded...i want the scroll bar to be reset to the top of the text field/box....

any help...welcome...

ta...tiger...

Linking Text Buttons In Scroll To Image Outside Scroll Area
Hi,
I am desperately hitting my head against a brick wall - so please help me!

I have created a flash area that is divided up with an image on top and a scroll area under.

I am trying to get the text buttons in the scroll area to each change the image above and cant seem to get it to work because of the masking.

I have tried heaps and heaps of different ways and am going crazy!

PLEASE HELP ME!!!!


thanks,
kova

[F8] Displaying HTML Entities In Dynamic Text From External Text Files
I'm pulling content for a dynamic HTML formatted text box from a series of client-editable text files using LoadVars.

Flash 8 allows for the use of HTML entites in HTML text, and my client's text includes copyright and trademark symbols.

If I load some HTML text from within a script, the text box displays entities fine (like &174 to display a ® trademark symbol).

However, when using LoadVars to load the text from an external text file, I can't use ampersands in the text file, because the LoadVars interprets them as indicating the start of another variable.

I tried using Unicode, for example u00ae. Again, this works fine when the text is drawn from within a script, but when the loadVars displays it from the text file, it just displays the Unicode as a literal string. Other HTML formatting in the text files, such as bold or italic, displays fine.

Does anyone know a workaround for this (short of converting all 80 of my text files to XML)?

[MX04] Dynamic Text Field Not Displaying Text (NOT EMBEDDED)
Hello,

I am working on a Flash portfolio website for myself. I have several dynamic text boxes that display information about the various pieces in my portfolio. The text content of these boxes is loaded from external .txt files. The text fields are set to use "_sans" font and there is NO font embedding.

Recently, while working, I tested the site and noticed that my text boxes were no long displaying data. Through testing the problem I was able to determine that the data is being loaded from the external .txt files and into the correct variables, however, the text is not "appearing" in the text fields at run time.

I tried placing a new dynamic text box on the _root of the movie and writing the following code on the first frame of the ROOT timeline:


Code:
_root.myTest_text.text = "this is a test"
the dynamic text field (with instance name "myTest_text") again appeared blank at runtime. As before, the font was set to _sans and NO embedding was taking place.

I tried the same text box and the same code in the clean, empty file and it worked fine.

Has anyone encountered this problem? Is it a bug? Will I need to rebuild the file from scratch?

If anyone has any assistance or advice to offer I would appreciate it.

Thank you!

Make The Browser Scroll Bar Scroll A Flash Text Box?
Is there anyway that javascript can detect when and which scroll bar button is clicked? I want to use javascript to make the browser scrollbar scroll a flash textbox.

Displaying Text Dynamically With An External Text File HELP PLEASE
Hi, I was wondering if anyone knows how to display text dynamically from an external .txt file. Also, I would like the text to have scrolling capabilities and the ability to format in HTML (i.e. I want to put in hyperlinks).

Thank You!

Text + Image Scroll Function With Scroll Bar. Help
Hi, tring to create a scrollable text window that can also include different text colours, styles, links and images. I have tried a few tutorials but they only seem to work with dynamic text without different colours, styles, links and images. is there an easier solution i can use..

Please help

Scroll Text With Image In Scroll Panel ? Help
Hi,

I m trying scroll pannnel to show image and dynamic text both in scroll panne but when i select dymanic text in text option it comes outer from scroll pannel but static text is coming.

I need help to show dynamic text also in scroll pannel.

Thanks

Scroll Text With Image In Scroll Panel ? Help
Hi,

I m trying scroll pannnel to show image and dynamic text both in scroll panne but when i select dymanic text in text option it comes outer from scroll pannel but static text is coming.

I need help to show dynamic text also in scroll pannel.

Thanks

Displaying Text From An External Text File Help Please
Hi, I was wondering if anyone knows how to display text dynamically from an external .txt file. Also, I would like the text to have scrolling capabilities and the ability to format in HTML (i.e. I want to put in hyperlinks).

Thank You!

Displaying An Xml Attribute As Text In A Dynamic Text Box
How do I display an attribute as text in a dynamic text box? I've successfully loaded images with image descriptions. When you roll over the image a description is displayed in the dynamic text box below, but I want a second message to appear once the image is clicked.How do I do that?
I thought I could add the second message as an attribute named "detail", but I can't seem to load it as text.

Here is my xml:


ActionScript Code:
[size="2"]<gallery >
    <img thumb="images/Sunset.jpg" detail="sun" >Sun is beautiful!</img>
    <img thumb="images/Winter.jpg"  detail="Winter"> Winter is beautiful!</img>
    <img thumb="images/Waterlilies.jpg" detail="Waterlillies"> Waterlillies are beautiful</img>
    <img thumb="images/forest.jpg" detail="Forest">Forest is beautiful!</img>
    <img thumb="images/Tree.jpg" detail="Tree">Tree is beautiful!</img>
</gallery>[/size]

My code to load text:


ActionScript Code:
function lightUp(evt:MouseEvent):void{
    evt.currentTarget.alpha = 1;
   
    for(var k:int = 0; k < xmlList.length();k++){
       
        if (xmlList[k].attribute("thumb") == evt.target.name){
         info.text = xmlList[k];
       
    }
   
    }

Can you please advise on how to load the 2nd text

Displaying Contents Of A Text File In A Text Box
As the topic describes, I need to display the contents of a text file in a text box. How would one go about doing this? Thanks in advance.

Displaying Text From XML In Incrementing Text Boxes
Hiya, I'm sorry if the title of this post doesn't explain what I mean too well, here's some more explanation:

I want to parse the data from an XML file into an array and then put each of the values in the array into a dynamic text box on the stage. The text boxes are name "number1_txt", "number2_txt" &c.

I have managed to set up a loop to parse the XML into my array and also to generate the names of the text boxes dynamically but I can't get the values from the array to display in the text boxes!

Quote:





function parseXMLNumbers(doc:XML):Void {
temp = new Array();
for (a=0; a<doc.firstChild.childNodes.length; a++) {
temp[a] = myXML.firstChild.childNodes[a].firstChild.nodeValue;
z = a+1;
var numberBox:String = "number"+z+"_txt";this.numberBox.text=temp[a]
}
}




If someone would point out what my glaring error is I would be really grateful as i am just getting to grips with actionscript.

Many thanks in advance everyone and thanks for reading this !

Displaying Text
I know this is a stupid question, but how do I dispay text in Flash MX using actionscript? I want to put a changing variable in a movie clip.

Text Not Displaying Well....
Hi,

I am making a cd rom for a presentation. We're using a projector and the text is not displaying the way it should.
I am encountering problems with fuzzy text....with Arial and Verdana.
I am trying to use Flash 2004 Pro. cos it has the anti-alias button...but this is still not working.

Any ideas welcome pls?

Displaying Text?
USING FLASH 5

i'm importing a .txt file into a dynamic textbox. For some reason it will not display the foriegn characters correctly. ie é è ë

they come out completely different? any ideas

rat

Displaying The Right Text
Code:
phpurl = "script.php";
res1.text = "You can send your score 5 times a day.";
s_Score= new LoadVars();
r_Score= new LoadVars();
s_Score.tscore = 500;

r_Score.onLoad = function(succes)
{
res1.text = r_Score.resx;
}

s_Score.sendAndLoad(phpurl,r_Score,"POST");
stop();


Okay, a while ago I worked on a game. Now I gave up on it back then because i couldn't get it to work teh way I wanted too, but I just picked up the game again. What i want it to do is display the text "You can send your score 5 times a day." until someone hits the 'submit score' button, after which I want it to display the result from the php file. But if I include the 'res1.text = "You can send your score 5 times a day.";' it never displayes the result from the php file. And if I remove that sentence it displays _level0.res1 at rirst, which obviously isn't what I want.
So how do I get this to work properly?

Text Not Displaying
I'm having trouble getting the text to display in a swf, called from a different swf. This is a flash based mp3 player that gets info from an MP3 tag and displays it. I've attached the .fla.

The actual test implementation is here:

http://www.vectorcds.com/screaminWeb...ment/test.html

This has stumped me for two days now. First when I was working on the standalone player, the mask was giving me problems, so I just eliminated it, now the text still won't display even with no mask at all, but it's being loaded into another swf.

Fff Text Not Displaying
I have a dynamic text feild with a fff text in it. In safari this opens up just fine, but on pc, using explorer and opera, they are replaced.. This doesn't happen w/ static textfeilds. What is the problem?(I have tried to turn on render as html in the options box but nothing seems to happen..) Thanx in advance by a very frustrated flash newbie. JR

Displaying Text
I made a report-like flash movie.
Different users can input their text in a textfield that has a prefixed size.
But on different machines the same text is displayed different:
sometimes on one machine all the words fit in the textfield, and on another one the same text doesn't fit anymore and the last word is missing.
It's even harder to match the screen with the printed version.
Is there a way to prevent this differences. (I'm using the arial font)
should I embed it, antialias or ...?
Could someone give me any advise on this topic?

Displaying Var With Other Text
Is it possible to display a users entered name throughout paragraphs of writing and make the paragraphs look natural no matter how short or long the name is?

Maybe the summary was enough to make you figure it out but I'll explain. I have a paragraph which I would like to begin with my users name. Later on in the flash I would like to be able to have the users name appear in different parts of paragraphs.

At the moment I have the dynamic text box at the start of a static text box. The problem is when a users name is very short it leaves spaces to the left as my text is position to the right.

This works OK for starting the paragraph but not ideal when I want to use the name in the centre of para as it will leave large spaces either side of the players entered name unless the name is long enough to fill the space.

Is there away to make the whole paragraph dynamic with a variable included among it?

Displaying Text From XML.
Hello,
I hoping that somone can steer me in the right direction here.

Right now I have an application that reads an XML and displays thumbnails of images.
A user clicks on the thumbnail and a larger image appears.

What I would like to do is, instead of loading "images" into the thumbnails from the XML,
I would like to load "text" into the thumbnails from the XML.
So now the user can click on the text and an image would appear.

I just can't seem to get my head around it.
Attached below is the code I am currently using.

Thank you for any help you can provide







Attach Code

var urlRequest:URLRequest = new URLRequest("load.xml");
var urlLoader:URLLoader = new URLLoader();
var myXML:XML = new XML();
var xmlList:XMLList;
myXML.ignoreWhitespace = true;
urlLoader.addEventListener(Event.COMPLETE,fileLoaded);
urlLoader.load(urlRequest);

var arrayURL:Array = new Array();

var holderArray:Array = new Array();

var nrColumns:uint = 6;

var sprite:Sprite = new Sprite();
addChild(sprite);
var thumb:Thumbnail;

var thumbsHolder:Sprite = new Sprite();
sprite.addChild(thumbsHolder);

function fileLoaded(event:Event):void {
myXML = XML(event.target.data);
xmlList = myXML.children();
for (var i:int=0; i<xmlList.length(); i++) {
var picURL:String = xmlList[i].textInput;
arrayURL.push(picURL);
holderArray[i] = new Thumbnail(arrayURL[i],i);
if (i<nrColumns) {
holderArray[i].y = 100;
holderArray[i].x = i*100;
} else {
holderArray[i].y = holderArray[i-nrColumns].y+110;
holderArray[i].x = holderArray[i-nrColumns].x;
}
thumbsHolder.addChild(holderArray[i]);
}
}

////////////////////////// Thumbnail.as ///////////////////////////////
package {
import flash.display.Sprite;
import fl.containers.UILoader;

public class Thumbnail extends Sprite {
private var url:String;
public var id:int;
private var loader:UILoader;

function Thumbnail(source:String,itemNr:int):void {
url = source;
id = itemNr;
drawLoader();
}
private function drawLoader():void {
loader = new UILoader();
loader.source = url;
loader.mouseEnabled = false;
loader.x = 0;
loader.y = 0;
addChild(loader);
}
}
}

Displaying Text?
I have this code for my button. How do I make it so when its rolled Over, it'll display a text area with text inside it? and when I roll Out, the text area will go away?

on (rollOver) {
}

Displaying Text
Hi, I swear I've gotten this to work when I just did it on the main timeline
but as part of a package I can't seem to get my text to appear...


package
{

import flash.text.*;
import flash.display.*;
import fl.transitions.Tween;
import fl.transitions.TweenEvent;
import fl.transitions.easing.*;

public class fontMaker extends MovieClip
{
var beloDin:Font = new Belo();

var myFormat:TextFormat = new TextFormat();
var countyTextFieldBelo:TextField = new TextField();
var countyFormat:TextFormat = new TextFormat();
var test:String = "test";

public function fontMaker()
{

trace("fontmaker is run");

countyFormat.font = beloDin.fontName;
countyFormat.size = 600;
countyFormat.color = 0x000000;
countyTextFieldBelo.autoSize = TextFieldAutoSize.LEFT;
countyTextFieldBelo.defaultTextFormat = countyFormat;
countyTextFieldBelo.embedFonts = true;
countyTextFieldBelo.alpha = 1;
countyTextFieldBelo.text = test;
countyTextFieldBelo.x = 300;
countyTextFieldBelo.y = 400;
countyTextFieldBelo.selectable = false;
countyTextFieldBelo.width = 1920;
countyTextFieldBelo.height = 1080;

keyFont();

}

public function keyFont()
{

trace ("keyFont has run");

addChild(countyTextFieldBelo);

}
}
}

Text Not Displaying
Hi, im making a website for a client, and ive included a flash advert in the page which displays images and some text, see here: http://www.mitchellpage.com.au/temp/calypso/

Some users have reported that they cannot see the text - why is this so.

Each text is 'static text' and uses 'anti-alias for animation'

i am using flash 8

HELP: Trying To Add A Scroll Bar To So User Can Scroll Text
HELP

Hi Guys!

I am in need of help! I am using Macromedia Flash MX 2004 pro, and trying to create on online portfolio for my work.

I have a section which has a large amount of text and would like to know how to set up a 'scroll' bar. So the user can scroll the text like at the side of the a word document. I have set up a mask so the text is contained but thats as far as i have got!

If you know how or know anyone who could help me PLEASE REPLY!!

MANY THANKS PHIL

How Do I Scroll Text And Images With The Scroll Bar
Hi

I am stuck and have never used the UI scrollbar . How would I scroll images alongside text with the UIscrollbar. thank you very much..... I Really need someones help

Displaying Dynamic Text
Hi,

I'm trying to load a significant amount of data from an ASP page, convert the data into an array in flash, which I've done successfully, and then display this array data in a movie clip as it is retrieved from the array. There could be thousands of elements in this array and I want to be able to display them in a scrolling text field in my movie clip. I really don't know where to start on this. Any help would be greatly appreciated.

Displaying Text Files
gday again , i have a large amount of text that i want to use in my flash movie , i cant seem to find a tutorial of how to incorporate it in there ?? basically i will be changing the teyxt from time to time an obviously only want to change the text file and not the flash ... i want to display in the movie with a scroll bar or arrows etc as well ....
cheers !!

Displaying Dynamic Text
I need help with displaying dynamic text created from ActionScript calculations.

I created a calculator that figures a future value of a 401(k) account. In other words, by entering how much you plan to contribute into your 401(k) and how long you plan to save it will determine how much money you will have at the end of that period of time. Here's the problem ... when it displays the final amount it just shows a long number without commas and decimals. For example, it displays 634687 rather than 634,687.00.

Check it out: http://www.partnercomm.net/webcases/calculator/

It is not designed to look good it is only for testing purposes at this point. Obviously it needs to be more user friendly, but you get the idea.

You enter your information in the 5 top left boxes and hit the calculate button. Here is an example, go the the page and enter the following:
Number of years employeed: 2
Number of years saving: 30
Annual pay: 30000
Contribution percentage: 6
Rate of return: 8
Then hit the calculate button. When you see the results (bottom left "Total Future Value") you will see what I'm talking about. I want that number to have a "$" with commas and decimals. Any help would be appreciated.

Thanks!!

Dynamic Text Not Displaying
Hi,
I'm using Flash 5. I am making a scroller. I created a movie clip I'll call hzScroller. There's on layer and one frame in this clip (for right now). On this frame I made a text box:
dynamic
multiline
variable is myText


OK.. the actaully text in this text box is "Place text here".

I place this movie clip onto another clip in my main movie. But only the very first character shows up. The letter 'P'. Why doesn't the rest of the characters show up.
?????

Any Help Would be Appreciated!!

Displaying Text Like Html
I think this is an easy question...I just can't figure it out.

I have blocks of text that I want to look like html text - not anti-aliased. How do I do that?

Text Fields Not Displaying
Hi guys,

Got a quirky little bug on some text fields - input and dynamic - to display cumulative frequencies in a user built graph. You can input text into the input boxes.. you just can't see it onscreen.

I have dynamic text boxes that mimic the input text boxes which work fine so I know the text is going in to them (also a print function for the graph which prints out all the inputted text, and text generated for some dynamic text boxes which also have this same bug.

Working in MX but need to output to Flash 5. Any takers :P

Cheers,
iPuppy

Displaying Text From Variable
I'm trying to use flash to display text from a variable in the url, but it doesn't seem to be working. What I did was made a dynamic text box, and set the variable to match that of the URL, but it doesn't work. I'm a flash newbie, any ideas?

Text Displaying Like S&*%(@%&%t Using Scrollbar
Hi All!

I suppose this is a common problem....
Im using a scrollbar with of course a dynamic text field.
The problem is that the text appears fine within Flash (MX) - but when i publish or test it, it looks way different and not in a good way!
Any ideas? I have to stick with that font too, CLIENTS you know....

Thanks!

Text Not Displaying Through Mask. HELP:-
I have applied a mask inside of an MC, which also loads another MC into it. The mask is working well, in that I can see the loaded Movie through it, but I cant see the dynamic text that is part of that loaded movie. Does masking affect dynamic text fields? How do I get the text to show? Would it have anything to do with the fact my text field is pulling data an XML source that is initialized from within the loaded movie?

Displaying Random Text
Is there any way that I can get a text box to display a different message everytime you press a button. The different messages would already be pre-written obviously I just want to show them up at random when the button is clicked.

Thanks for the help in advance.

Displaying Text Backwards
im pretty sure its possible to disply text backwards in a dynamic text box. i tried inversing the xscale of the text box and the text itself. and i also tried putting it in an mc then reversing it. ive seen it done before, can anyone help? thanks

Dynamic Text Not Displaying
I have a problem I can't figure out. Hopefully someone has an idea.

I can't see any text showing in my dynamic text field, but I believe its there...

I have a dynamic text field on a button that I am attatching to a movieclip and placing on the stage (using the symbol linkage). The dynamic text field is set to "_sans" for the font and nothing is embeded.

Here's the line of code I'm using to define the text in dynamic text field:

Code:
newButtonMc["button" + count].thumbNum = count;
trace("COunt = " + count);
trace("TExt in 'thumbNum' var [newButtonMc] = " + newButtonMc);
trace("TExt in 'thumbNum' var [newButtonMc.buttonx] = " + newButtonMc["button" + count]);
trace("TExt in 'thumbNum' var [to textfield] = " + newButtonMc["button" + count].thumbNum);


This is what my trace shows:
COunt = 1
TExt in 'thumbNum' var [newButtonMc] = _level0.butMovie.square_2.button1holder
TExt in 'thumbNum' var [newButtonMc.buttonx] = _level0.butMovie.square_2.button1holder.button1
TExt in 'thumbNum' var [to textfield] = 1
COunt = 2
TExt in 'thumbNum' var [newButtonMc] = _level0.butMovie.square_2.button2holder
TExt in 'thumbNum' var [newButtonMc.buttonx] = _level0.butMovie.square_2.button2holder.button2
TExt in 'thumbNum' var [to textfield] = 2

So looking at the trace info, it seems to me that the text should be displaying. One button should be labeled "1" and the other "2" Right....

Thanks in advance

Text Not Displaying In Dynamic Txt Box
God I feel like a noob - I am setting the contents of a text box using

Code:
_root.SectionMenu.MenuButnS1.Section1UpperLabeloff.text = _root.header3;


A quick trace on the text box outputs indeed the text box contains the correct text, but in the movie, I see nothing. Weird, but even when set to have a bg and border, I see nothing. Using pro 7.2. Ideas would be great!


thanks

frank

Displaying Text And Variables
Hello all
I would like to display text and variables together.

ex:

_root.console.text = "Welcome to The Game",pname.text;

pname.text is the string value for a textinput field. however this doesn't seem to display the text input data just the Welcome to the game part. Any suggestions on the correct syntax?

Thanks for any help,Patrick.

Problem In Displaying Text
hello all,
I am trying to build a reading guide which will show some text attached to some speech. while reading the text, the word that is getting read should appear in a different style than the rest. I succeed in making this in English, but when I change the text to Arabic the words start jumping all around.

Here is my function


Code:
var startindex:Number = 0;
var lastindex:Number = 0;
function textWalker():Void {
if(str.indexOf(" ", startindex) == -1){ return; clearInterval(poll1); }
startindex = str.indexOf(" ", startindex);
lbl.text = str.substring(0, lastindex) + "<b>" + str.substring(lastindex, startindex) + "</b>" + str.substring(startindex, str.length);
lastindex = startindex; startindex++;
}

var poll1 = setInterval(textWalker, 500);
where str contains the text. lbl, where I display the text. lastindex and startindexis to track the sentences position.

would appreciate any help on this. Thanks

Dirar

p.s. Arabic is right to left, but str.substring(lastindex, startindex) is shows current word without a problem.

Flash Text Is Not Displaying...
What’s up everyone,

I got something I something I’d like to run past you. I’m starting to compose a portfolio via Flash and it turns out the images and button are working fine, but the text does not show on the screen (IE is the browser). If I go to macromedia.com and upgrade the flash player, IE then displays the full text on the screen with no problems. The Flash page was created in Flash 8 Professional

I’m wondering if there is a way to prompt the user to update their flash or have it done automatically. Any help would be much appreciated.

If you need to see an example please go to my website http://www.smoothwire.com/folio.html

Text Menu NOT Displaying
Hey,

can some one tell me why the menu (text) is not showing...the following text is suppose to be displaying: Products, About us, Upcoming Displays, Gallery and Contact.

Your help is much appreciated

regards,

unisa

Dynamic Text Not Displaying
I am very much an amateur at this... I've got a scrollable dynamic text field and I've embedded the fonts throught the "character" options on the properties bar.

When I publish this thought, it refuses to display certain characters... specifically capital letters "D" and "G"...

WHAT is going on here?

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