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








Dynamic Text Field Receiving Dynamic Variables...


or something like that . . .

This is my problem: I'm generating _global variables via XML. Each variable represents different types of copy, of varying lengths. For Example:

_global.introduction = xmlDoc_xml.firstChild.firstChild.nodeValue;
_global.body = xmlDoc_xml.firstChild.firstChild.firstChild.nodeVa lue;
_global.summary = xmlDoc_xml.firstChild.firstChild.firstChild.firstC hild.nodeValue;

I want to create ONE text field, with scrolling, that will act as a template to house all types of content. I've assigned a variable that equals "content" to this text field. . . My problem is, I can't get the text field variable (content) to dynamically swap for the global variable (_global.introduction) in order to display the proper content.

This seems simple, but something's not working for me. Any thoughts? . . . BIG thanks in advance!




ActionScript.org Forums > ActionScript Forums Group > ActionScript 1.0 (and below)
Posted on: 10-15-2004, 05:38 PM


View Complete Forum Thread with Replies

Sponsored Links:

Receiving 'true' In The Dynamic Field Rather Than The Data
Hi I'm having problems getting a dynamic field to display some XML properly, i think it is jut my syntax but not sure, if i make a manual path of Movieclips with instance names it displays fine!!!

Basically I have this load Var statement, which contains the path to the dynamic field when generated:

var description_lv = new LoadVars();
description_lv.onData = function(raw_text){
currentThumb_mc.DJ.VenueN2.description_txt.text = raw_text;
}

in turn i have below creating the dynamic clip

//create DJ: clip
currentThumb_mc.DJ.attachMovie("DJ2","DJ3",2)
currentThumb_mc.DJ.DJ3._x = 56
currentThumb_mc.DJ.DJ3._y = -5
currentThumb_mc.DJ.DJ3.DJN_txt.text = currentPicture.attributes.title; //-- is working

//create Venue: clip
currentThumb_mc.DJ.attachMovie("VenueN","VenueN2",3)
currentThumb_mc.DJ.VenueN2._x = 56
currentThumb_mc.DJ.VenueN2._y = 7
currentThumb_mc.DJ.VenueN2.description_txt.text = description_lv.load(this.description);

the bottom line is one i have modified out of a release statement, I am receiving a error URL not found, in addition the path is correct as the field is displaying true, but i'm not sure how to change the code to get this data appearing correctly, like i said it works manually creating MC and i'm thinking the path is right above, so I cannot work out why else it wouldn't be working can someone pleeeeeeeeeeease help!

Thanks V much





























Edited: 11/09/2006 at 05:52:42 AM by elviskat

View Replies !    View Related
Dynamic Text Field Variables
Folks,

I have a movie where a variable named daysleft will be loaded from an external text file into a dynamic text box, this bit works fine.

But I then need the movieclip "numbers" to gotoAndStop to the frame number imported via the variable daysleft. Although daysleft displays on the screen a trace(daysleft); says the variable is undefined.

Any idea how I can acheive what I'm trying to do.

Cheers all.

View Replies !    View Related
My Dynamic Text Field Wont Load The Variables
ok i know this sounds n00bish..but how should i go about loading text form an external file into a dynamic text field..ive attempted to do this but it doesnt seem to work right..i did it "by the book" and it still wont work..and even if i dont check the HTML box nothing pops up in the dynamic text box...can somebody plz explain the process to make this go smoothly..like where to put (i.e. specific frame) the actions to load the variables..thanx

View Replies !    View Related
Trouble Loading Variables To Dynamic Text Field
I am trying to display text from a text file named units.txt (stored in the same folder) The swf has a dynamic text box called myText. The swf has buttons with this code:
on (release) {
_level0.myText = Unit1;
}
The first frame of the movie has code like this:
loadVariablesNum("units.txt",0);
(I have tried including the entire url as well as just the folder above)
This works fine when I test the movie. It also works when I test it through the index.html (on my computer). But it does not work on my website.
Does anyone know what I am doing wrong?

View Replies !    View Related
[CS3] Populating Dynamic Text Field With Multiple Variables
I have a Dynamic text field that is pulling in data from an external txt file. My txt file has multiple variables. Everything is fine with the txt file and loading any one of the single variables, it works fine. My questions is...

- When the movie starts I need the dynamic field to load the first variable [txt file: text=My first variable] then...

-I have three buttons and when rolled over I want the text field to replace the current variable with whichever buttons variable is rolled over, once the user rolls out I want the original [variable 1] to reappear in the dynamic text field.

For example...
onLoad, display variable 1.
onRollOver btn1, display variable 2.
onRollOver btn2, display variable 3.
then, on any rollOut go back to variable 1.

I have been having an unusually hard time getting this to work, ANY help with this would be greatly appreciated, thanks

View Replies !    View Related
Load Multiple Variables In One Dynamic Text Field?
Hello!

Is it possible to load multiple variables in one dynamic text field?

For example, this is in my text file:

var1= bla bla bla
&var2= bla bla bla 2
&var3= bla bla bla 3

I have a dynamic text field with the var-name ‘vartotal’.

Var total should be:
vartotal = var1 + var2 + var3

How can this be done?

View Replies !    View Related
Passing Dynamic Variables To Flash Text Field
Hello,

I want to pass a variable from a URL to a text field in my flash movie.

The variable that I'm passing will always be different, and I need it to load in the dynamic text field i have in flash.

this url:

www.myurl.com/mySWF.swf?code=2003

should send "2003" to a text field in my flash movie.

Any idea how to do this? I've searched all forums and couldn't find anything this specific.

Thanks in advance,

Josiah

View Replies !    View Related
[AS2] Changing Text In Dynamic Text Field With Dynamic Instance Name
I dont know what I am missing here but what I want to do is change the text inside a dynamic text field via actionscript. the code I am using runs in a loop within a function. Trace is outputting the correct values.


PHP Code:



    for(i=0; i<=4; i++) {
        if(_root["order_"+ q][i] == 0) {
            ["order_"+ i]text = "First";
            trace("first");
        } else if (_root["order_"+ q][i] == 1) {
            ["order_"+ i]text = "Second";
            trace("Second");
        } else if (_root["order_"+ q][i] == 2) {
            ["order_"+ i]text = "Third";
            trace("Third");
        } else if (_root["order_"+ q][i] == 3) {
            ["order_"+ i]text = "Fourth";
            trace("Fourth");
        } else if (_root["order_"+ q][i] == 4) {
            ["order_"+ i]text = "Fifth";
            trace("Fifth");
        }
    } 




basically I want to do this -


PHP Code:



order_0.text = "First"; 




So how can I change this line to work as expected?


PHP Code:



["order_"+ i]text = "First"; 





EDIT- The instance names for the dynamic text fields are set
Thanks

View Replies !    View Related
Dynamic Length Of Dynamic Of Text Field?
is it possible to set the length of a dynamic text field so that the text flowed into it fits perfectly.
I need this so that I can get the _width of the movie clip it sits in.

help appreciated guys.

View Replies !    View Related
Making Dynamic Text Field Var, More Dynamic?
i want to do something for the var in a dynamic textfield like:
eval("_root.tfield" + _parent.this_num)

but its not working... is there any way to do something like this?

View Replies !    View Related
Dynamic Text Field - Dynamic Size
Hi all

I am trying to do a tooltip that loads a var from database into
a dynamic text field

This I want to customize with a backgrund movie
pls see my illustration!

Because I dont want to have a static size of the background movie
I hope there is a way to make it scale to the textfield


All Ideas welcome

Have a Nice day

Flemming

View Replies !    View Related
Dynamic Vars, Dynamic Paths Using Variables And External Text Files
Hi there,

first off, apologies for the long post, but its a tricky problem to explain... and on my first post too! (sorry )
Im have a bit of bother with flash calling variables from a text file, and using them to make paths to other variables, and to control the amount of time a duplicate clip occurs. The first of these 2 problems is this:

Im loading a text file "content.txt" into _root. (this works fine)
it contains the variables:

webclipcount=2
&webhenry=hello hello
&webbutton01=henry

on the main timeline I have this button

on(press){
sectiontitle="web"
clipcount=webclipcount
}

there is a text box on the main timeline with variable name of bodycopy.

on a clip on the main timeline I have this;

onClipEvent (enterFrame) {
if (num< _parent.clipcount) {
duplicateMovieClip(thebutton, "button"+depth, depth);
this["button"+depth].name = _parent[_parent.sectiontitle+"button"+num];

this gives button01 the name henry- this works.

on the duplicated clip I have these actions:

on(mouseDown){
_parent._parent.bodycopy=_parent._parent[_parent._parent.sectiontitle+this.name]
}

so we end up with a path like:

_parent._parent.bodycopy=_parent._parent.webhenry

and it in turn should make the textbox on the main timeline contain "hello hello"

but it doesnt.

also for the duplicating clip, unless i use:

onClipEvent (enterFrame) {
if (num< 2) {.....
<snip>

it wont work either. it seems neither can be dynamic/ pulled from the text file. (well, i can get them to work!)

If I use direct paths like:

on(mouseDown){
_parent._parent.bodycopy="bloody hell it works!"
}

and

onClipEvent (enterFrame) {
if (num< 2) {.....
<snip>

it works, but not if they are dynamicly set from the txt file...
Anyone care to shed some light onto this? its doing my head in!
thanks in advance or the help.

cheers,

chris

View Replies !    View Related
Trying To Pass Text From Form Text Field To A Flash Dynamic Text Field
Hi, I was hoping someone might enlighten me as to how/if I can do this...

Currently I'm using javascript which works fine to pass text from textfield A to textfield B:


Code:
window.onload=function()
{
document.forms.form1.shirtText.value=document.forms.form1.KitGroupID_16_TextOption_38.value
}
Is there a way to pass the textfield A text to a dynamic text input (flash) as I'd like to use the font embedding flash offers. I can make it work when loading a value from a txt file but I'm not sure how to access the value identified above as KitGroupID_16_TextOption_38 and make it appear in a dynamic input box. Eventually I might want to have 3 font choices for the user but I'd like to just see if I can get this working properly first.

Your help/advice would be greatly appreciated,

-Scott

View Replies !    View Related
Calculating Input Text Field To Dynamic Field (easy Action Script)
hi. i'm trying to learn action script and i need help with this bit. i'm trying to use action script to calculate my brothers ages based on my own.

using flash MX. i have an input field called "my_age" and two dynamic fields called "eli_age" and "jacob_age". eli is 4 years younger and jacob is 6 years younger. i want to be able to enter my age in the "my_age" input field and then click a button that will calculate their respective ages.

here's the fla if i haven't been clear.

thanks for any/all help,
josh

View Replies !    View Related
PHP Display Variables In Dynamic Txt Field
Hi I have a question can anyone help me out?

This is the result from a phpfile:
a0=What I am&b0=Edie Brickell&c0=Pop&d0=Sound1.swf&a1=Many men (wish death)&b1=50 Cents&c1=Rap&d1=Sound2.swf&a2=Last to know&b2=Pink&c2=Rock&d2=Sound3.swf&a3=Hardcore vibes&b3=Dune&c3=House&d3=Sound4.swf&a4=Stressed out&b4=Tribe called quest&c4=Rap&d4=Sound5.swf&

I load this into flash using:
myVars = new LoadVars();
myVars.load("http://blahblah/audio.php");

I have a dynamic textfield with an instance name called: content

What I would like to do is control the contents of this textfield.

How can I display one of the variables in this textfield? I tried several things but I just can't get it to work, so any help would be great

View Replies !    View Related
Getting MySQL Field Data Into Dynamic Text Field In Flash
Hi, im having some trouble as to how to retreive data from a mySQL database field and putting the values into a dynamic text field in Flash... im quite new to this so any help will be appreciated! thanks.

View Replies !    View Related
Text Field That Should Be Receiving It Doesn’t Change/update
Code:
part2.text = part1.text;
I have a problem. I have a button that takes numerical text from a text field and sends it to another! However this only works once! Say I type in 12.00 first it’ll send it! Then if I change it to something else and click my button the text field that should be receiving it doesn’t change/update! And I can’t figure out why!

View Replies !    View Related
Dynamic Text Field And Dynamic Xml Field
Good evening,

After days of debugging, I find myself cornered by identifying the absence of content in a dynamic xml field.

I am trying to build a function that will move the playhead to a new frame "waiting" when the field is undefined. When the field is populated, the playhead will move to an active frame "vote".

I have attempted several variations on the following code and nothing has worked as of yet.

if (_root.mc_xml.b1v.text=="") {
trace("waiting");
} else if {
trace("vote");
}

// never got it to print anything but vote

There are five possible strings that can dynamically populate b1v from the xml: "Aye", "Nay", "Abstain", "Absent", "NP".

When the vote is complete the xml nodes and their children disappear and flash sees the xml text field as undefined.

What is the correct AS to target or check for null or undefined?

is null
=null
!=null
=undefined
is undefined
!=undefined

I just need a boolean answer. Please someone release me from this loop.


Thanks

View Replies !    View Related
Dynamic XML Variables As Field Names In Events?
My second week of using Flash so please excuse my ignorance.

I am trying to take a dynamic text variable “mcname” and insert it into a button that toggles on/off the visibility of a Movie Clip of the same name.

Issue of correct code to call the variable. The actual value of the "mcname" (which is being pulled from XML doc with value "testvis") is not working as a movie clip name in the field name position.

I am trying to get this:

on (press) {
_root.['mcname']._visible = false;
}

To function like the standard hand coded:

on (press) {
_root.testvis._visible = false;
}

I have a menu that is being built dynamically with XML and want to pass a childnode value (in this case "testvis") to the buttons that turns off/on movie clips of same name "testvis".

simple SWF of attached FLA example here: http://www.mediaoutsource.com/flash/

If anyone can help i would greatly appreciate it.

View Replies !    View Related
Dynamic Variables As Field Names For Events?
My second week of using Flash so please excuse my ignorance.

I am trying to take a dynamic text variable “mcname” and insert it into a button that toggles on/off the visibility of a Movie Clip of the same name.

I cannot get the variable inserted correctly into the call. Basically it looks like this.

on (press) {
this._parent._parent.”mcname”._visible = true;
}


And I continue to get the Error: “Expected a field name after '.' operator.”

Ive searched the web trying to discover how to use variables as field names, but cannot find the proper coding. Any help would be greatly appreciated. Thanks

View Replies !    View Related
[F8] MySQL Field Value Into Dynamic Text Field In Flash
Hi, im having trouble as to how to retreive a value in a field of a MySQL database and putting it into a dynamic text field in flash... i have no idea as how to do this... any help? thanks

View Replies !    View Related
Asp Database Field Loaded Into Dynamic Text Field -HELP
Hi all,
after much trial and error and still having troubles i thought i would ask people that maybe know what there doing.
Im using Flash 8 pro, and have placed textarea component on stage and gave it an instantce name, need to pull a single record from a record database using asp.

This is my approach but if there is an even easier way let me know.

I have created the following pages.
webpage.asp (end result web page that shows the text field to user)
script.asp( asp script that sends data back/forth to flash

i used the FlashVars param to pass a variable into the flash movie.
variable is named auto_num. im using this to then pass it back out of flash to filter the recordset.

then on the flash movie.swf. all on root level. i have the following code

var text_value; //(this is the value sent back from asp page string)
//not sure if i needed to declare it but did anyways.

var_sender = new LoadVars();
myData = new LoadVars();

var_sender.auto_number = auto_num //(auto_num is loaded flashvars param)

myData.onLoad = function() {
my_text_1.text = this.text_value
};
myData.sendAndLoad("http://www.********.com/script.asp", myData ,"POST");

on the script page i have a record set that filters for form variable named auto_number. all of code is in asp. I call a response.write to write the text_value back to the flash movie.

here is the heart of the script.asp code. not showing the record set filtering stuff.

<% Dim text_value
text_value = "text_value="&(Recordset1.Fields.Item("long_des"). Value)

response.write(text_value)
%>

but i get undefined and can never get the variables to load into the flash movie. i want to export as flash player 6 or 7. what am i doing wrong here?

So in a nutshell, i have an asp page that shows a record and would like to display the long description field of that record in a flash dynamic text box.

I can make it work by passing the entire long description from record set within the flashvars param but that seems like a real clunky way to do it pasing that much text within the flashvars param.

Does anyone know of simple database connectivity kits that extend flash for the semi-programmer guys?

View Replies !    View Related
Trying To Take The Text From One Dynamic Text Field And Populate Another Dynamic Text
I'm trying to take the text from one dynamic text field and populate another dynamic text field with its contents.

I want to display the text that is in the text field _root.MC_Control.tab_title in another text field called _root.video_title.

I have tried this:

_root.video_title.text = _root.MC_Control.tab_title.text;

and this:

_root.video_title.text == _root.MC_Control.tab_title.text;

neither one seems work....am I missing something?

View Replies !    View Related
Sending And Receiving Variables From A Text File
loadVariablesNum ("attemps.txt", 0, "POST");

I am using the above code to load a variable from a txt file in the same directory. Works OK.

If that variable changes in the flash file how do I update the txt file in the directory and load it back into flash.

Regards
Dogs Lipstick

View Replies !    View Related
Input Text Field To Dynamic Text Field
Ok, I have an input text field with a variable name of "enter", and a dynamic text field with a variable name of "display". I also have a button on the stage. I want it so that when you press the button, it checks what the user has put into the input text field, and if it is valid it will display a certain message in the dynamic text field.
For example:
If the user types in "hydrogen" and then clicks the button, I want the dynamic text field to display the letter H. Likewise, if the user types in "oxygen" and then clicks the button, I want the dynamic text field to display the letter O. And finally, if the user types in something that is not specified in the code, it will just display "Not Valid".
I tried doing this with an on(release) action and then some if statements, but nomatter what I typed in it would always display H. I'm probably overlooking something simple, but nonetheless, I need help. Thanks

View Replies !    View Related
Input Text Field Into Dynamic Text Field
Hey guys,

I'm really new to AS 3.0. I would like to transmit information from an input text field into a dynamic text field once a submit button is clicked.

Any help would be greatly appreciated.

I'm using CS3 AS 3.0. Thanks!

View Replies !    View Related
Loaded Text File Wont Show All Of The Text In Dynamic Text Field
When I load an external text file into flash and display the string in a dynamic text box, not all of the text will show in the text box; and using scroll button to scroll the text doesnt help.

The text that is in the text file is as follows, and as far as I can see there is no reason why all this text shouldnt show in the dynamic text field; by the way all my targets are correct, I know that for fact.


message=Code: Cheat:
BEEPSAGONER Deactivate the censor beeps
DRACULASTEABAGS 50 lives
DUTCHOVENS Frying pan mode
XFYHIJERPWAL IELWZS Debug mode
BOVRILBULLETHOLE Shoot all objects
EASY Easy mode
VERYEASY Very easy mode
SPUNKJOCKEY New death animation
SEXYMANN Birdy & Squirrel scene

Code: Unlock chapter:
PRINCEALBERT Barn Boys
CLAMPIRATE Bats Tower
ANCHOVYBAY Slopranos
MONKEYSCHIN Uga Buga
SPANIELSEARS Spooky
BEELZEBUBSBUM It's War
CHOCOLATESTARFISH The Heist
WELDERSBENCH All chapters and scenes

Code: Unlock Multiplayer character:
WELLYTOP Conker
EASTEREGGSRUS Neo Conker
BILLYMILLROUNDABOUT Gregg the Grim Reaper
CHINDITVICTORY Weasel Henchmen
EATBOX Cavemen
RUSTYSHERIFFSBADGE Sergeant and Tediz Leader
BEEFCURTAINS Zombies and Villagers

View Replies !    View Related
Dynamic Text Field
hello,

How can I load an external .txt file into a Dynamic Text Field
when this is located inside a movieclip???

I am able to do it when the Dynamic Text Field is on the stage
but whenever it's inside a movieclip it doesn't show the text.

What's wrong???

Appreciate your help

greetz

Sense

View Replies !    View Related
Dynamic Text Field
hey people - my first post...i think its simple but its got me stumped!?

in a simple hangman game...i want a dynamic text field to display all letters entered for the length of the game..

i got it to display the entered letter but this disappears when the next letter is entered...

anyone out there..!! ??

cheers

lion

View Replies !    View Related
Dynamic Text Field
hi there,

is there a way to get the height or the rows of a dynamic text field. i need this for a dynamic news window with a "read more" button on the bottom.... but the read more button should be the next line of the text

i.e.:

newsline 1
newsline 2
>> read more

don't know though, how many lines there are coming (max= 10 lines)

thanx for any comment, yoken

View Replies !    View Related
Dynamic Text Field
In my Dynamic text field I lose some captial letters. "DESKTOP" gives me "ESTP" and "My" gives me "y".

I have been told to embed all fonts and capital letters, which I have and it still does not work!

Also the <bold> </bold> does not work. I was wondering if anybody had any advice.

Thanks

View Replies !    View Related
Dynamic Text Field Help Plz.
When loading text from an outside source (.txt file) into a dynamic text field and rendering text as HTML, why does the font size vary to the size of the text field???
Its like the field is holding only a certain number of lines....when I make the field larger(longer) to hopefully hold more data, the cut-off point remains the same and the font size gets larger???? I'm using MX.

wut up plz?
much thanks!
monk e

View Replies !    View Related
Dynamic Text Field Help
I would like to set the font color in a dynamic text field via actionscript. I have a function that runs a check and when a certain element is true I need to set a specific textfield in a movieclip to another color.
I haven't been able to get a handle on the color object yet. Can anyone lend a hand out there?
Thanks
- Patrick

View Replies !    View Related
Dynamic Text Field
I am making a list of information inside a dynamic text field that has a scrollbar. However, I can't get the text to line up properly. There are 3 columns of text, and I just can't get everything lined up. I know that I cannot make tables inside of a dynamic text field, so does anyone know of a way that I can get all of this text lined up properly? It looks so messy. Even when it looks perfectly lined up in the .fla, in the .swf it never looks right.
Thanks so much!

View Replies !    View Related
Dynamic Text Field
Can u display more then one variable in one text field??? F.i. the whole clock in one text field, instead of separate text fields for hours, minutes and seconds?

View Replies !    View Related
Dynamic Text Field VAR
Hey all,

Can anybody tell me how to change the Var of a dynamic text field with actionscript ?? I'm sure this can be done pretty easy but still I have no idea

Thanks!!
Natsurfer

View Replies !    View Related
Dynamic Text Field
Hi

I'm trying to create a scrolling text in Flash MX that will go horizontally from side to side of the stage, each scrolling text will be a number of words each separated of each other by a bullet or small circle.
The scrolling text will be a Movie Clip with one single Dynamic text field that will load it's variables from a .txt document, that dynamic field will duplicate it self as many times as the amount of variables on the .txt document.

So I was thinking that if I created variables using a numbers like 1 = word, 2 = another word ect. To whatever numbers of words I want to be displayed on the scrolling text I could use a script on the first frame that could say something like this. (Dynamic text field has a variable called ticker)

loadVaraibles(TickerText.txt, this)
ticker = 1 + "."

Now comes the questions


Can flash read more than one variable in a single .txt file? Or it read on and assume that everything else within the file is just part of the first variable?

If this is possible how can I tell flash duplicate this dynamic text field as many times as the amount of variables on this particular .txt file?

I know this all sound really confusing but I hope that some one can understand me and give me some tips to get this to work or maybe make a simple sample of it and upload it on my server so I can see how can this be done.

ftp://65.49.66.147/

Thanks

Alex

View Replies !    View Related
TAB In Dynamic Text Field
Hi all,

just q quickie. Does anybody know how to display a TAB in a dynamic text field? Both as a variable assignment and loaded from a text file would be most welcome!

I've read that would do the trick but the following doesn't work:

mytextfield_txt = " some more text";

(This is for Flash 5 but tips for tabs in Flash 6 also appreciated).

Many thanks - n.

View Replies !    View Related
3 Dynamic Text Field In 1 MC...
I'm not to sure what type of heading to make a search through the site (flashkit) for what I wanted. But this is what I want to achieve.

I know how to call .txt in a dynamic text field. But, can I have 3 Dynamic Text Field's placed in my MC that uses the same .txt file?. Instead of using 3 seperate .txt files?

So instead of each .txt to change the details, could you use just one .txt file and say for example; there are three paragrahs in the .txt file.

1st paragragh shows in 1st DTF
2ndparagragh shows in 2nd DTF
3rd paragragh shows in 3rd DTF

can any one help me here or show me a good tutorial on it?

Cheers

View Replies !    View Related
Ack Dynamic Text Field In Mc
ack,
i am trying to load .txt file into a mc inside another movie clip.
normally loadvariables works just fine for this.
BUT... the mc is itself loaded via attachmovie when a button is clicked

the button-pressing code i'm using looks something like this:

on (release) {
_root.mc_content.attachMovie("mc_improv", "mc_improv1", 0);
loadVariables("assets/improv.txt", "_root.mc_content.mc_improv1");
}

is it a scoping issue?
is my level somehow wrong?

the only other solution i could come up with was to put my mc on the stage, set the alpha to 0, then put it back to 100% when the appropriate button is clicked.

but i'm sure it must be possible in a better way

HELPPLEASE!!

View Replies !    View Related
Dynamic Text Field
is there a way to assign multiple colors to a text dynamically loaded into a text box, like in a faq box, to have the questions one color and answers another?

View Replies !    View Related
<a Name> Tag In Dynamic Text Field
Hi, is it possible to insert a <a name tag in a text field, so that if you have a link in a dynamic text field and you press it it will show you a determined part of the text field itself. I suppose that, if this is possible you can put any html tag if you want.

Thanks in advance!

View Replies !    View Related
/ In Dynamic Text-field
Hi,

I want to use "/" as a text-element in a dynamic text-field. But the slash is ignored and not displayed. How can I solve this problem?
Thanks for your help!

kind regards,

marco

View Replies !    View Related
Dynamic Text Field
Hey!

I'm going crazy over this:

Ok i have a movieClip mc1 it's in the _root in this mc i have dynamic text field when i publish and view my movie in browser i can't see the field, but my cursor changes when it's over it and i'm sure that this field has border around it and there is some text in it, if i change it to be Static text field it appears ok...

Any suggestions?

View Replies !    View Related
Dynamic Text Field
Hi, I'm importing a large chuck of text via xml to have it display on a dynamic text field. Is there anyway that i can make the dynamic text field automatic lengthen itself to hold all the text.

Pls advice..

Chup

View Replies !    View Related
0's In A Dynamic Text Field
How can I make a dynamic text field return 02 instead of 2? The value of the variable is determined by a calculation (variable = 1+1 so I can't hard code it.

View Replies !    View Related
Dynamic Text Field ?
hi, using mx here. I want to create a scrollable dynamic text field that will allow me to make hyperlinks inside the text field. I know you can make static text hyperlinks how do you make the dynamic text a hyperlink. I have a homepage that loads my links movie. I want to put the dynamic text field inside the links movie.

View Replies !    View Related
Dynamic Text Field In CD
Hi All

Stuck with a project that calls for a Dynamic text field to come up in a projector file that I deliver on CD. I just can't see it when I publish. All is well when testing the swf alone. I guess it is a level thing?

What I hope to do is pass on a CD to members of my team who will then place the content in a folder on their desktop. Over time I would like to email small text files that they can place in that folder and appear in the appropriate part in the projector file. Kind of an update thing.

Am I trying for the impossible or just missing something simple?

Cheers

Dave

View Replies !    View Related
Dynamic Text Field....
I am wanting to create several dynamic text areas and have different paragraphs to be loaded from a txt file. I am using;

loadVariables("message.txt", "");
stop();

to load the text. The problem I am having is that I want to use only one txt file to house all of my different paragraphs. I can only get the first message box to display the text. How can I can the others to display the text? I've included sample files.

Thanks!!!

View Replies !    View Related
Can't Set Dynamic Text Field
Hello,

I'm trying to populate a dynamic text field in a movie clip after creating it by using the duplicateMovieClip method.

Now one thing is that the textfield embedded in the duplicated movie clip is under a mask so I set that text field to be embedded. Also, the movie clip is rather deep w/in other movie clips so I don't know if that is an issue either.

Here's an example of the code I'm using:

duplicateMovieClip( mc_scroll_group.masked_movie.scrollpage.show_db_li st.mc_show_plate , "mc_show_plate", 1 );

mc_scroll_group.masked_movie.scrollpage.show_db_li st["mc_show_plate"+ i].txt_title = "*This is the text*";

View Replies !    View Related
Dynamic Text Field
anyone know how to make a dynamic textfield in flash? I have a tutorial that ive always followed but for some reason its not working anymore, I think its because im now using flash 8. heres the tut
http://www.visualxtreme.com/flash_tut1.html

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved