Dynamic Text In Movie
ok, here's what i am doing. i have a fla with movie clips inside it. i want to have an input text field on the main timeline of the movie, then i want the input to show up in a dynamic text field within several different movie clips, each on a new keyframe in the main timeline.
so what i did was set up the input fields on the main timeline of the movie, with variable names, then put those variable names on the dynamic fields inside the movies, but nothing shows up in those fields when i test it and enter something in the input.
i assume this is because the input and dynamic fields aren't in the same timeline. how do i get flash to recognize the input field from the main timeline inside the movies?
FlashKit > Flash Help > Flash Newbies
Posted on: 08-07-2003, 10:23 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Dynamic Text Within Dynamic Movie Clip Loops
Ok my predicament. I am trying to create thumbnails, but instead of using pictures as the thumbnails I would like to have text, formatted blah blah for people to select. Now the code I am trying to adapt is fine and dandy to get working with pictures, so I know the part of this code that creates the movie clip is fine. However I cannot seem to dynamically create the text boxes within the movie clips. I need to have them within the movie clips so the opacity will change when they are hovered over.
Code:
currentName = "t"+k
thumbnail_mc.createEmptyMovieClip(currentName, thumbnail_mc.getNextHighestDepth());
thumbnail_mc.currentName.createTextField("text"+cu rrentName, thumbnail_mc.currentName.getNextHighestDepth(), 0, 0, 244, 28)
thumbnail_mc.currentName.text="test"
k will be changing anyway for each time through taht a movie clip is made hence why they will need different names.
Any help...hope this can be understood.
Dynamic Text In Dynamic Movie Clip
I'm having a horrible time referencing the text variable in my dynamically created movie clip. What am I missing?
PHP Code:
// CONSTANTS
TotalRubs = "3";
RubWidth = getProperty("Rub", _width);
//
Label1 = "REPUTATION";
Label2 = "QUALITY";
Label3 = "INNOVATION";
//
//
// DUPLICATION
n = 0;
while (n<Number(TotalRubs)) {
n = n+1;
duplicateMovieClip("Rub", "rub"+n, n*10);
newrub = "rub"+n;
if (n == 1) {
setProperty("rub"+n, _x, getProperty("rub", _x));
} else {
setProperty("rub"+n, _x, getProperty("rub"+(n-1), _x)+RubWidth);
}
_root.newrub.label = eval("label"+n);
}
setProperty("Rub", _visible, "0");
How To Add Text To A Dynamic Text Feidl In A Movie Clip Added Through Actionscript?
ok I've never been able to get this to work so I've always just found a way around it. But I really need to get this to work in this project.
I need to get dynamic text to change in a movie clip Where you are adding the movie clip through actionscript (its not on the stage, you are adding to trhough createEmptyMovieClip). I can change dnamic text in a movieclip that is already onthe stage and thats usually how I get around this, but I really need to add it through createEmptyMovieClip this time.
The follow doesn't seem to work and I've searched everywhere all they all say this is how you do it but I can't get it to work...
///////////////////////////////////////////////////////////
//create an Empty movie clip
var CountLayer:MovieClip = home.createEmptyMovieClip('CountLayer', 5);
//add the movie clip to the empty movie clip just created
CountLayer.attachMovie('ScoreCount_mc', 'ScoreCount_mc', 0, {_x:400, _y:400});
//test variable
var test:Number;
test = 0;
//Add text to the dynamic text in the movie clip
ScoreCount_mc.Score_txt.text = test.toString();
////////////////////////////////////////////////////////////////////
The above never seems to add anything to the dynamic text feild. So if anyone know whats going on here or the right way to do it please help.
Thanks.
Putting Text Into Movie Using Dynamic Text And Html Tags?
If i declare a variable name for a text box in flash, then using action script fill in the variable using html tags does it follow all the same rules as straight html as if i were creating a page in notepad or does it need to be formated differently?
Show Text In Dynamic Text Box (nested Movie Clip)
can someone please help me look in my file.. i stuck here 1 day already..
i wan the dynamic text box fill in the number when i click on the button. And the value is keep increasing by 1 once i click the button.
the nested movie clip is as folo,
mc_A-->mc_B-->txtnumber
the button is in the mc_B..
please help me... thanks..
Loading Dynamic Text Into A Movie Loaded Into A Movie
Hi.
I can without problem (1) load dynamic text into a movie clip inside a main swf file (2).
HOWEVER if I load the SWF file (2) in another Main SWF Movie (3) the loading ot the (1) dynamic text does not happen.
Any ideas ?
Using MX, and I have tried embedded fonts.
Miquelon
HELP Dynamic Text Within A Movie?
I am trying to put a dynamic text box within a movie and it won't appear. I'm not sure why. Is there a trick to making this work?
thanks!
Nicole
Dynamic Text In A Movie
Okay, I know this has been asked before, but the other posts just didn't help me at all. So here is my question.
I have a dynamic text box in a movie clip. I want it to draw text from an html file (mo_gr_m1.html). The text box is not masked but other layers are if that matters. Now, where do I place what actions and what instances/objects do I have to name. I just need it explained thoroughly. Thank You.
This is what I've done so far:
The first frame within the movie clip says:
loadText = new loadVars();
loadText.load("mo_gr1_m1.txt");
loadText.onLoad = function(success) {
if (success) {
// trace(success);
_parent.newsbox.html = true;
_parent.newsbox.htmlText = this.short;
}
};
the external txt file says: short=Click here
And the variable of the textbox says: short
I want to implement multiple textboxes drawing from the same file within a movie clip. Please help me!
Dynamic Text In A Movie
Hello,
I have read a guide on how to load text from an outside text file and have set this up succesfully. I now however wanted to put all of the different Layers into one movie, (as there are 5 layers) as this would keep my main scene a lot tidier. However now that I have moved all the layers into it's own movie, once I then put the movie into the scene the text no longer appears, the text boxes do, but the text itself doesn't.
I'm sure its just something simple, and any help is appreciated!
By the way the actionscript I'm using is:
loadVariables("text.txt", "_root");
Thanks in advance!
Dynamic Text In Movie Clips
I have created floating, dragable windows which are animated to minimise and maximise. I have added dynamic scrolling text read from a .txt file and each window is a separate Movie Clip as I plan to have quite a few of the when I'm finished. I have saved the text box as a graphic and added this to a movie file which animates the box opening and closing. The text appears in this movie because I load the variable again, but when I add this movie to the main scene the text won't appear, even if I try to load the variable again. It seems to work with graphics but not movie clips. Does anyone know a way around this or where I may be going wrong or If what I am trying to do is possible.
If you need any more info let me know
Thanks Steve.
Dynamic Text In Loaded Movie
Movie1 contains a preloader. In this preloader I use the all too familiar dynamic text that gets changed with opercentage values.
Movie1 has a PlaceHolder movie that I load Movie2 into. Movie2 contains this same preloader, however the dynamic text variables aren't working.
Im loading into a target and not a level. And Movie2's preloader works fine when I run it by itself.
Proloaders are just scripts that run in frame 1 and send to frame 2.. nothing too fancy.
any ideas?
Dynamic Text In Attach Movie
I need your help to figure out how to do this....
Say I have a string like
"My name is DDUCK1934"
I want to make each word appear in its own seperate movieclip.
I am using the attachmovie() function in Flash to display x number of movieclips.
I can get the first word, and I can get the last word without a problem, by searching through the text string. I just am having some trouble getting the words inbetween the first and last words to show up in their own separate movie clip.
I was trying the substring, or the substr of the string and indexOf(), and lastIndexOf(), to go through and find the spaaces, but Im puzzled on how to make it look for the first space, and then go however many spaces over until the next space.. so in this case, I cant get the movieclip to show just "name" or just "is".
This deals with a dynamic text string from the user input, so I need to find a way to go through and find the spaces, and be able to split up the words, regardless of what the string says...
so for clarification, in the string above. I need to count how many words are in the string, for how many clips I need to attach or duplicate, then I need each word to appear separately on each clip, so I need to be able to move through the string accordingly.
Hope I made myself clear.
Let me know if I need to verify anything.
Thank you for any help you can share.
dduck1934
Controlling A Movie From Dynamic Text Box
Hey everyone, I've got a dynamic scoreboard that read's the scores from a text file. I've also left a field called Reset that get's updated from the text file. I want the flash movie to go back and start on frame 3 when the Reset field text is Yes.
I've tried
if (Restart = Yes) {
gotoAndPlay (3);
}
but It's not working.
Any clue what My ActionScript should be?
Thanks in advance
Using Dynamic Text In A Movie Clip
I have a movie clip that i have dynamic text setup in reading from a text file with scrolling arrows on the side... Well the text will show up but it wont scroll... Is there any programming stuff I need to do besides what you do when its on the base page...
Any help would be great
The arrows have
on (press) {
tellTarget ("uptrigger") {
gotoAndPlay (2);
}
}
on (release, releaseOutside) {
tellTarget ("uptrigger") {
gotoAndStop (1);
}
}
and the down arrow is the same but with downtrigger...
please help!!!
Jonathan
Dynamic Text/load Movie
hello all, I was wondering if anyone could please explain
to me what I might be doing wrong here:
I have a swf that contains dynamic text that scroll.
I am attempting to load this swf into my main movie using an empty movieclip on the main stage. When I do this, the scroll buttons load, but no text.
Whenever I use loadvariable(something.html,0) the text loads into the swf that contains the scroll, but when I call it to main via a button in main, no text.
if I use loadvariables (something.html,_root.empty3) the text loads into the main movie but the scroll won't work.
any solutions would greatly appreciated.
thanks
Load Movie/dynamic Text
This time I'll add a little actionscript to my question. Hopefully someone can tell me what I'm doing wrong. Any help would be appreciated;
I have a movie that has external dynamic text loaded into it. This dynamic text is also set-up to scroll up or down. When I view this movie by itself it works fine. What i need it to do though is load into an empty movie clip that is on what I consider my main stage. When I try to load it on my main stage, the scroll buttons appear but not the actual text.
in the swf with the dynamic text it is coded:
loadvariablesNum ( our historya.html,0)
the button that I use to load it into is on the main stage
it is coded:
on release
loadmovie (ourhistory.swf,empty1)
again what happens is that the buttons in the loaded movie that allows you to scroll the dynamic text box shows up, but no text is visible.
Can anyone please help me?
Dynamic Text In A Movie Clip
I can successfully pull in an external text file's contents as long as the dynamic text field and the loadVariablesNum action are in the root timeline. How can I get it to work within a movie clip within the main timeline? The scenario is - a text bubble appears with dynamic text in it. I need to be able to contain the dynamic text design within the text bubble movie clip, but currently nothing shows up.
Thanks in advance for any help.
Dynamic Text Into Movie Clip
Using Flash 5, I've created dynamic text (named "text1") into a movie clip (instance named "movie1") on the main timeline. What is the correct syntax when passing the variable in the html?
I know when the dynamic text is on the main time line (not in a movie clip) it is:
EMBED src="Movie.swf?text1=XYZ"
Dynamic Text Between Movie Clips
It seems like this problem I'm having would be straight forward to solve, however I'm finding it to be quite frustrating...
Let's say I have three movie clips - green_mc, yellow_mc and red_mc.
green_mc and yellow_mc are the same in that each has 3 input text fields (greenInput, greenInput2, etc) that dynamically add up and display their sum in a dynamic text field (greenDynamic). For example, green_mc would look like this...
onClipEvent(load){
greenInput = 0;
greenInput2 = 0;
greenInput3 = 0;
greenDynamic = 0;
}
onClipEvent(keyUp){
greenDynamic = Number(greenInput);
}
The frustration I am having is I would like red_mc to have a dynamic text box that would display the sum results of greenDynamic and yellowDynamic.
I thought this would work, but it's not...
onClipEvent(load){
redDynamic = 0;
}
onClipEvent(keyUp){
redDynamic = green_mc.Number(greenDynamic) + yellow_mc.Number(yellowDynamic);
}
Any help? Thanks!
Load A Movie With Dynamic Text
Is there a way to load a movie onto a specific layer using Dynamic text. i.e. click on a dynamic link on say level 0 that will load a flash movie onto level 1, using an href???
Rob
Xccelerant.com
Loading A Movie With Dynamic Text
Is there a way to load a movie onto a specific layer using Dynamic text. i.e. click on a dynamic link on say level 0 that will load a flash movie onto level 1, using an href???
Rob
Xccelerant.com
Dynamic Text Within Movie Clip
Hi,
I'm trying to figure out how to reference a text variable that's within a movieclip (I want to reuse the movie clip numerous times, while changing some of the text within it).
I can't seem to address text variables inside movie clips (I've tried _root _parent _global, most everything I can think of). Seems like it should be straightforward but once I try to reference it in a movie clip, no go.
I've seen other people with the same problem, but haven't found a thread with an answer yet.
Thanks,
Maria
Load Movie And DYNAMIC Text
hey..
i made a simple movie clip.. 10 frame animation and than a dynamic text box appears.. gettin the text from a TXT file.. works fine...
but
when i call this SWF in another SWF the animation works but TEXT DOEST DISPLAY? why not.. n e idea... THE PATH of the text file is ok.. they r all in the same folder.
thnx
aLi
Movie Clip And Dynamic Text
hi everyone..
let's say i have a movie clip that fades a dynamic textfield in, and then out...
tween:
fades in..... then fades out...
and then i would like to change the text in the dynamic field after it fades out.. because i'd like it to tween again, using new text.
help!
Dynamic Text In A Loaded Movie
Hello again!
Rite..
Got my movie to load into another movie. Its possition is fine... in fact it all looks splendid except for one problem..
The text box in the loaded movie, which reads in a .txt file using loadvariables, works fine when tested on its own but when its loaded into another movie the text isn't present?
Any suggestions?
Nik
Size Of A Movie/dynamic Text?
http://heisourlife.com/pjeffCal/pjeffcal.html
Currently i am reading in some dynamic text like this...
text = "third tuesday is a monthly gathering....";
I have that on say, keyframe 2 and then I'm just going to that frame when I want to load the text. My question is - how can I change the color of just some of the text that is being displayed. For example, the first paragraph needs to be different.
Also, what do you suggest for the size I should make this movie so it can be read easy? And the map can't go beneath the 3. How do I make that so it is readable?
Thanks.
Dynamic Text In Flash Movie
Hey guys,
New at flash, looking for a good resource that can CLEARLY explain how to dynamically integrate text from a text file into a flash movie.
I'm not all up on XML, but am willing to learn!
None of my books cover this stuff, so your help is appreciated!
Thanks.
Email: Thatredhead82@yahoo.com
IM: amoureusedev@hotmail.com - MSN
thatredhead82 - Yahoo
shalafolie - AIM
Dynamic Text In Movie Clip
Hello:
I have playing with flash mx for some time now and have created a somewhat amateur site with it. My ? is, can I put an external a dynamic text field using the scrollbar feature in a movie clip? I did the tutorials that came with flash and took a beginners course in flash in a local college, but didn't cover this.
One of my pages has too much text to fit in one of the pages, so the scroll feature would be great, if I could only figure it out.
Thanks
PS. is this considered a "newbie" ?
Dynamic Text In A Movie Clip?
I had a flash movie which used dynamic text boxes. As the project has expanded i moved these boxes into a movie clip. Now the text doesn't load.
I used
loadVariablesNum("Dave.txt",0);
text box instance name 'Dave" Var content.
Dynamic Text And Movie Clips
Hello. I want to load text dynamically from a .txt file into a text box that is within a movie clip and then scroll the movie clip. Where I get hung up is how to make the movie clip the same length as the text box(because the length of the text box would always be changing due to the fact the text would be "news"). This is more than likely a very simple problem to solve, but I would be very happy indeed is some one could give me some help.
Movie Loader And Dynamic Text
I am having a problem setting text during onLoadProgress of the loader class:
Here is the action script that I am using:
code:
// DRAWING LOAD BAR ETC.
this.createEmptyMovieClip("progressBar_mc", 10);
progressBar_mc.createEmptyMovieClip("bar_mc", 11);
progressBar_mc.createEmptyMovieClip("stroke_mc", 12);
with (progressBar_mc.stroke_mc) {
lineStyle(0, 0xFFFFFF);
moveTo(0, 0);
lineTo(200, 0);
lineTo(200, 5);
lineTo(0, 5);
lineTo(0, 0);
}
with (progressBar_mc.bar_mc) {
beginFill(0xFF0000, 100);
moveTo(0, 0);
lineTo(200, 0);
lineTo(200, 5);
lineTo(0, 5);
lineTo(0, 0);
endFill();
_xscale = 0;
}
var $load_fnt = new TextFormat();
$load_fnt.size = 18;
$load_fnt.color = 0xFFFFFF;
$load_fnt.align = "center";
progressBar_mc.createEmptyMovieClip("text_mc", 13);
progressBar_mc.text_mc.createTextField("_txt",1,0, 10,200,20);
progressBar_mc.text_mc.createTextField("per",2,0,3 0,200,20);
progressBar_mc.text_mc._txt.text = "LOADING";
progressBar_mc.text_mc.per.text = "%";
progressBar_mc._x = (Stage.width/2) - (progressBar_mc.stroke_mc._width/2);
progressBar_mc._y = (Stage.height/2) - (progressBar_mc.stroke_mc._height/2);
progressBar_mc.text_mc._txt.setTextFormat($load_fn t);
progressBar_mc.text_mc.per.setTextFormat($load_fnt );
// PRELOADING
var $load = new MovieClipLoader;
$listener = new Object();
$listener.onLoadStart = function($target_mc:MovieClip) {
progressBar_mc.bar_mc._xscale = 0;
}
$listener.onLoadProgress = function($target_mc:MovieClip, bytesLoaded:Number, bytesTotal:Number) {
progressBar_mc.bar_mc._xscale = Math.round(bytesLoaded/bytesTotal*100);
progressBar_mc.text_mc.per.text = Math.round(bytesLoaded/bytesTotal*100)+"%";
//trace(progressBar_mc.text_mc.per.text);
//trace(Math.round(bytesLoaded/bytesTotal*100));
}
$listener.onLoadComplete = function($target_mc) {
progressBar_mc.removeMovieClip();
}
$listener.onLoadInit = function($target_mc) {
$target_mc.gotoAndStop(2);
}
$listener.onLoadError = function($target_mc) {
trace("ERROR! THIS ISN'T WORKING!!");
}
$load.addListener($listener);
$load.loadClip("movie.swf",1);
The loading bar works fine but outputting the percentage to a dynamic text field does not work. I've bolded the areas where I am having the difficulties.
If I set my "per" text field before the loadClip call then I see the text but once it hits the onLoadProgress function the text disappears. I've commented out the trace calls to see if the info is there and it is - I just can't get it to appear in my text box.
I'm using flash mx 2004 (7.2). Please let me know if you need any more information.
Any help would be appreciated.
Thanks.
Dynamic Text In Movie Disappears
hi everyone,
i'm using dynamic text in a site i'm working on. it works fine, save when i try to nest it in a movie, and the text disappears. it's happening in a couple of places, but a good example is when you try and nest the text box in the scrolling area of the scrollpane component.
any thoughts would be much appreciated.
thanks!
rachel
Dynamic Text In Movie Clip
I have a dynamic text box inside a movie clip. Where do I need to call the variable to get it to load properly?
Dynamic Text Linking Within The Movie
I have a flash site that I have all setup functionality wise except for one minor/major implementation. I'd like to be able to link between different frame labels inside the movie using dynamic text links. I know it's easy to do by linking to external .html files on the site, but i can't seem to get it to call upon a frame label.
I know i can skirt this issue by using any number of methods with buttons/movie clips, but i will end up having about 65 unique pages in the site, and would like to be able to call on them easiliy and efficiently.
I've attached my .fla and the area that i'm testing with is under Scene:PGacc Frame #: 19 with a couple of text links already activated.
I would appreciate any form comments or help.
Thank you,
Greg
Dynamic Text Box In Movie Clip
Hello,
I have this movie in flash that graphs tide data. At every point, I attach a copy of a dot-button movie clip. When the user mouses over the dot, it should show the time and height of the tide in a tooltip-like window. This tooltip is just a box in the over state of the button with two dynamic text boxes in it - using variables timeTxt and heightTxt. When I run the script, it does everything right, except that there is no text in the tooltips. I've verified that the variable is there using the debugger, but its not on the text.
[code]for(var j = 0;j < points.length;j++){
this.attachMovie("point_dot","point"+j,1000+j);
this["point" + j].timeTxt = times[j];
this["point" + j].heightTxt = heights[j];
this["point" + j]._x = points[j][0];
this["point" + j]._y = points[j][1];
}CODE]
Also, its online here: http://my.boatus.com/tides/tideChart.html
Thanks
[F8] Update Dynamic Text From Different Movie
Hello,
I'm trying to set a value in a dynamic text filed from a different movie in Flash 8/Actionscript 2.0:
I've loaded 3 movies:
loadMovieNum("../movie1.swf",30);
loadMovieNum("../movie2.swf",15);
loadMovieNum("../movie3.swf",11);
movie1.swf contains a dynamic text field entitled "txtPRICE" that is within a movie clip entitled "newMovieClip".
I have a button in movie3 called "theBUTTON". I would like the value for "txtPRICE" to be changed to "HELLO" when "theBUTTON" is clicked.
What should the Actionscript syntax for "theBUTTON" look like? I tried this but no luck:
on (release) {
movie1.newMovieClip.txtPRICE.text = "HELLO";
}
Any help is appreciated.
Thanks!!
Dynamic Text In Movie Clip
I am trying to place a dynamic text field inside of a movie clip. My text field displays correctly if it is on the main stage. I used the code loadVariables("text.txt","_root");
But when I put this in the movie clip on frame one it changes my text field and displays: _level0instance67_"name"
Is there a way to call a text document from a movie clip?
Loading Dynamic Text Into A Movie
Hello,
I'm relatively new to Flash and have hit a bit of a snag. I'd like to be able to dynamically create and load text from a file into a movie clip, but it doesn't so much seem to be working. It works fine just using a standard text box and loading the text from a file into that, but I can't get it to work using createTextField() on the fly. My question is, once I've generated a text block, how do I get the data from the file into the 'text' field?
...
onClipEvent(load)
{
this.createTextField("sometext",1,100,100,300,100) ;
loadVariables("text/test.txt", "this.sometext")
}
Inside test.txt I have: sometext=here is some text
If I explicitly state:
sometext.text = "here is some text";
everything is cool, but obviously I'd like some way to load the text externally.
Any suggestions?
thanks...
Loading A Movie With Dynamic Text
Here's the situation. I have a services.swf that is being loaded into my main.swf. services.swf has a dynamic text box. When the services play by its self it looks fine. When it is loaded into my main movie the text never displays its self all of the other images of the services are there. Any suggestion.
thanx
Link To Another Movie In Dynamic Text
Hey guys,
Just joined! I have a Flash MX question that's been bugging me for the longest time, hopefully one of you can help. I have a dynamic text box in which I load text from an external text file. I want to have a particular word linked to another .swf file and have it load on the same _level (_level5 in my case) when the user clicks on the word. Is this possible?
For instance, I have "Hello this is some random text. Please click on here to go to some more random text." When the user clicks on the words "on here", I want it to unload randomtext1.swf from _level5 and load randomtext2.swf into _level 5. And ofcourse I need the text box to be dynamic.
Hope you guys can help!
Dynamic Text And Load Movie
I have a main Flash movie that loads a series of other .swf into a target clip using loadMovie("myMovie.swf",targetClip).
Some of the other .swfs contain dynamic text boxes. When you play these .swf's independently, the text shows up fine. But when they are loaded into the main movie, the text disappears.
I suspect that it is the way I'm referring to the text. The text box (txtCredit) has a variable (sCredit), which I'm calling by using this.sCredit = "text".
I've also tried just referrring to the text box itself (this.txtCredit.htmlText = "text") and that doesn't work either. I've also tried changing the this to _root.targetClip and _parent. None of that worked.
Does anyone know how i can get the text to show up when the main movie plays?
Loading Movie Via Dynamic Text
Hello, I've searched but didn't find anything close to what I am looking for ... that may mean it is not possible!?....... here goes:
I am trying to get flash to loadMovie from a dynamic text document. Here's what I have in the text:
<a href="CONTACT/contact.swf" target="_root.content"><font color="#FFFFFF"><b>here.</b></font></a>
right now it is loading the swf into a new page (not in my target).
Sup!?
Pre-thanks!
Dynamic Text In Different Movie Clip
Inside scene one i have a movie clip that contains a movie clip that contains a dynamic text field. Also inside Scene one I have a different movie clip that contains a movie clip that contains a movie clip that contains a input text field. And I need for the user to type in to the input text field and see what they are typing show up in the dynamic text field. What would that script look like and where would I put it? Can anyone help please?
Edited: 05/24/2007 at 08:43:49 AM by relief8
Dynamic Text In A Movie Clip.
so i have a this movie clip, inside the movie clip i am dynamically loading images into little movie clips and i wanna dynamically load text into text fields in the clip as well. currently i am using this code to load the text into the fields, but it's not working.
loadText = new LoadVars();
loadText.load("../images/news.txt");
loadText.onLoad = function() {
myNews.html = true;
myNews.htmlText = _root.one.city1;
};
it is cause i can't trace a path to a text field like i can a movie clip?
==> Dynamic Text In Movie Clip
when i make a movie clip and place a dynamic text box in side and asign it a var of "name" i can place a
onClipEvent(load) {
name = "Button";
}
and it will show the word "Button" in the dynamic text box in the movie clip but when i put this clip in to motion it no longer shows the test is there a way to get around this problem.
any help would be greatly apricated
PS: i owe to this site and the ppl of these fourm all i know
Dynamic Text In Movie Clip
Hi,
how do i get the let the dynamic text box inside the movie clip to display the string?
currently i have a movieclip called newblock_mc with linkage inside the library, the variable name for the dynamic box is cy_block.
and my script (on a frame) is:
cy_block = cy_break_array1[1];
attachMovie("newblock_mc",cy_block,2);
so why doesn't the dynamic box in the movie clip display the string, cy_block?
if u need to know... cy_block contain chinese characters.
I placed a dynamic text box on the stage, and it is able to display the chinese words in cy_block, only the one embedded in the movie clip couldn't.
Dynamic Text In A Movie Clip? Help
I'm trying to put a site together in which the owners can update their text. I've done this before on other sites without any problems but I cant get it to work this time. I'm assuming this is because this time the text field is within a movie clip rather than in the _root directly (i'm also having problems with input text. presumably for the same reason). This is the code I'm using to call up the .txt file:
loadVariables("beginners.txt","_root");
I've tried putting the name of the movie clip and instance name of the movie clip in which the text field is embedded in there except "_root" but I'm still having no joy.
Can anyone help?
Dynamic Text Used To Trigger A Movie?
Hello...
Im wondering how to take specific words in a dynamic text box and use them to trigger a movie inside of flash. It seems like it would be simple but i cant figure out how to turn just a few words inside of one bigger text box into ... well.. almost buttons...
What i would like to happen is... one box has a list of dates or words... these are almost like hyperlinks i guess... when they are clicked... it triggers a movie though, instead of a URL.
does anybody understand what im trying to do? and if so... can somebody explain how to do it?
thanx
|