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




Dynamic Text In External Swf



So i figured out how to load a swf ontop of another, but now it cant open dynamic text
more specifically, I have a flash file that when you click on a button it opens news.swf. inside news.swf is a dynamic text box that loads a notepad file with text inside. the dynamic text shows up when you open news.swf by itself but does not show when it is opened by the other flash file when you click on the button

i believe this error to be relevant to the generic flash problem that flash cant open dynamic text inside a movie clip, which i have previously found to be true, although it isnt opening another movie clip it is opening a new movie. do you know a way around this?



Ultrashock Forums > Flash > Flash Newbie
Posted on: 2005-09-19


View Complete Forum Thread with Replies

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

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

Dynamic Text Box Doesn't Update From External Text/html File
here is my code for a dynamic text box which is reading html from an external text file...problem is the text shows, but when I update it, it doesn't change...unless I empty the cache...I even tried some other suggestions on here such as adding a random # to the end of the file:

ran = math.round(math.random()*1000+1);
LoadVariables("./home.txt?ran="+ran,"")
If(home ne "")

here is a link to the fla file if you want to look at the whole thing:
http://mcc.larrychendesign.com/resou...ntitledmcc.zip

Dynamic Text Box Doesn't Update From External Text/html File
here is my code for a dynamic text box which is reading html from an external text file...problem is the text shows, but when I update it, it doesn't change...unless I empty the cache...I even tried some other suggestions on here such as adding a random # to the end of the file:

ran = math.round(math.random()*1000+1);
LoadVariables("./home.txt?ran="+ran,"")
If(home ne "")

here is a link to the fla file if you want to look at the whole thing:
http://mcc.larrychendesign.com/resou...ntitledmcc.zip

Embed Jpeg In Dynamic Text Using External Text File Html
so I have a website and I am using dynamic html enabled multi-line wrap text boxes and am sourcing the context to fill the dynamic text boxes via text files which contain html...

here are links to my .fla file and .txt file....
http://mcc.larrychendesign.com/untitledmcc.fla
http://mcc.larrychendesign.com/home.txt

I am using flash mx 2004 pro and am exporting/publishing in flash player 7 and actionscript 2.0...

I can't seem to get jpeg's to load, but I can get all the other supported html tags to work...I am using the <img src='untitled.jpeg'> but no image....they are NOT progressive jpegs...but they won't load...why not? I thought embedding non-progressive jpeg images are allowed in flash if publishing in flash player 7 and above and authoring in flash mx 2004 or above...what gives?

any help would be greatly appreciated! and I did stipulate the width and height to try that as well, but it didn't work...this did work back in the day, but I don't remember what I did...

Embed Jpeg In Dynamic Text Using External Text File Html
so I have a website and I am using dynamic html enabled multi-line wrap text boxes and am sourcing the context to fill the dynamic text boxes via text files which contain html...

here are links to my .fla file and .txt file....
http://mcc.larrychendesign.com/untitledmcc.fla
http://mcc.larrychendesign.com/home.txt

I am using flash mx 2004 pro and am exporting/publishing in flash player 7 and actionscript 2.0...

I can't seem to get jpeg's to load, but I can get all the other supported html tags to work...I am using the <img src='untitled.jpeg'> but no image....they are NOT progressive jpegs...but they won't load...why not? I thought embedding non-progressive jpeg images are allowed in flash if publishing in flash player 7 and above and authoring in flash mx 2004 or above...what gives?

any help would be greatly appreciated! and I did stipulate the width and height to try that as well, but it didn't work...this did work back in the day, but I don't remember what I did...

[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)?

Embed Jpeg In Dynamic Text Using External Text File Html
so I have a website and I am using dynamic html enabled multi-line wrap text boxes and am sourcing the context to fill the dynamic text boxes via text files which contain html...

here are links to my .fla file and .txt file....
http://mcc.larrychendesign.com/untitledmcc.fla
http://mcc.larrychendesign.com/home.txt

I am using flash mx 2004 pro and am exporting/publishing in flash player 7 and actionscript 2.0...

I can't seem to get jpeg's to load, but I can get all the other supported html tags to work...I am using the <img src='untitled.jpeg'> but no image....they are NOT progressive jpegs...but they won't load...why not? I thought embedding non-progressive jpeg images are allowed in flash if publishing in flash player 7 and above and authoring in flash mx 2004 or above...what gives?

any help would be greatly appreciated! and I did stipulate the width and height to try that as well, but it didn't work...this did work back in the day, but I don't remember what I did...

Loading External Text File Into Flash Using Links From Dynamic Text Field Link?
I am using a dynamic text field to load in .txt files with html tags. I have a couple "click here" type links that I would like to use to load a different .txt document into the same dynamic text field instead of a url link like it does default. Is this possible? I'm sure I could put a button over the text since its not long enough to need a scrollbar but I would like a more dynamic and flexible way to do this if its possible.

Thanks

Using Text File For Dynamic Text Field From External Domain
I have a .SWF file on a (we'll say original.com, for reference purposes)... I have a dynamic text file in that .SWF file, which is currently loading a text file using the loadVariables function. I would like the movie to start loading the text file from another server, which we'll call new.com, for reference purposes.

I'm told that Flash will not load files from external domains, but is that it - end of story? Is there any way I can somehow get this to work?

I know some stuff about PHP, so maybe that'll help?

Any help would be greatly appreciated... Thanks.

HTML Text In A Dynamic Text Box Called From An External .txt File
Hello,

I am trying to get a .txt file containing html text to load into a dynamic text field in flash.

All of the tutorials I have found and the books I have read all do this with a button. I need this to be done without a button.

If anyone knows of a tutorial or could help me out please let me know.

I am using Flash MX 2004 on a mac

Zard

Auto Scrolling Dynamic Text From External Text File
Hi guys,

I'm loading a text file into a dynamic text box using LoadVars, and I've got it to scroll using this code:


Code:
var myInterval = setInterval(scrollUp, 500);
function scrollUp() {
_root.text_mc.textbox.scroll += 1;
}
...but there are two problems. One, the client says it's too jerky (as it's doing it a line at a time, rather than a smooth scroll), and two, the client would like it to be like a news scroller, meaning it automatically scrolls to the bottom of the text, and then the start of the text appears underneath and keeps scrolling continuously. I hope I've explained myself reasonably well!

If someone could help me out with these two things, I'd really appreciate it - cheers!

Boog

Uploading An External Text File Into A Dynamic Text Field
I have created the dynamic text field, Now I need to know the code to upload the text from the txt. file from the server.

Thank You.

Rendering External Text File To HTML In Dynamic Text Box?
alright, im having a problem at this site: http://pvcent.com ... the dynamic text box that i created points to a .txt file on my server. is there any way for me to be able to use html tags and what not in this external .txt file and have it be parsed into html for the viewer to see in the dynamic text box?

Auto Scrolling Dynamic Text From External Text File
Hi guys,

I'm loading a text file into a dynamic text box using LoadVars, and I've got it to scroll using this code:


Code:

var myInterval = setInterval(scrollUp, 500);
function scrollUp() {
_root.text_mc.textbox.scroll += 1;
}
...but there are two problems. One, the client says it's too jerky (as it's doing it a line at a time, rather than a smooth scroll), and two, the client would like it to be like a news scroller, meaning it automatically scrolls to the bottom of the text, and then the start of the text appears underneath and keeps scrolling continuously. I hope I've explained myself reasonably well!

If someone could help me out with these two things, I'd really appreciate it - cheers!

Boog

Rendering External Text File To HTML In Dynamic Text Box?
alright, im having a problem at this site: http://pvcent.com ... the dynamic text box that i created points to a .txt file on my server. is there any way for me to be able to use html tags and what not in this external .txt file and have it be parsed into html for the viewer to see in the dynamic text box?

?dynamic Text: Retrieving External Text Files
I'm trying to retrieve the text from a text file and put the text into a dynamic text field with a variable called "text"
Here's what I've done:
created the dynamic text field with the variable
created txt.txt and it's contenst are "text=blablabla"
placed on frame 1 the actionscript
"loadVariablesNum(txt.txt, 0)"
it says it's having trouble opening the folder that both these files are in (they are in the same folder)... any suggestions?

Loading Dynamic Text Thru External Text Files
Okay, i've looked at the dynamic text questions but am still having a little trouble. I can make dynamic text load if the dynamic text is on the main timeline, but what if it's embeded into a movieClip?
On my main timeline, i have a layer called actions. On a particular frame, i have the following:

loadVariablesNum("about.txt", 0);

A few frames down, i have a movie clip called "placeHolder" that slides in. This movie clip contains a dynamic textbox with both an instance and variable name of "aboutText".

The text file about.txt reads as follows:
aboutText=This is a test

When i test run my movie and it gets to the part where the variable should load, my placeHolder comes across the screen, but the dynamic text box reads:

_level0.instance18.aboutText



I changed something (don't remember what), and it made the actual text from the file show up in a new browser window!!!

How do i get my text to load into the movie clip?

if you need to see the fla and text file, post a request for the files with e-mail address..
Is there a way to attach files here?

How To Load An External Text.txt Into A Movieclip Containing A Dynamic Text Box?
Hi Guys,

I can load text into a dynamic text box when it is on the main timeline.

But when I place the dynamic text box inside a movieclip, I can't get the text too load into the dynamic text box which is inside a movieclip.

Can anyone explain how to get "loadVariablesNum ("text.txt", 0);"
to load the text into a dynamic text box which is inside a movieclip.

Can't Load External Text Into Dynamic Text Box When Online
Hi Guys,

I have looked around google and found a script to load in an external text file. The file loads in the text fine if tested on my local computer but when I test it on a server it wont load.

I tried changing the text file to a shorter piece of text, say 2 words, and then it worked online. As soon as the text is fairly long I get an "undefined" in the dynamic text box.

Anyway, this is the code:

------------------------------------------------------------------

myData = new LoadVars();
myData.onLoad = function(success){
if (success) {
textboxx.htmlText = this.cont;

} else {
textboxx.htmlText = "error loading variables";
}
}

myData.load("up.txt");

------------------------------------------------------------------

If anyone has any ideas that would be great. I know the variables and targets are all correct.

Cheers in advance

Dynamic Text From An External Text File. Issue
hi,

a small one, i think(?)

i have a dynamic text field in my site, loading txt from an external txt file.

the problem i am having is that when the text field comes is loaded onto the
stage, before the text is displayed tehre is a delay and the text box displays the target pathe to the text box instead of the loaded text. After a few seconds the text loads and everything is fine.

Is there a way to stop this, either displaying an empty box until it loads, or should i be loading all the text into the text files on the first frame of the movie before they are displayed.(?) am i approaching the problem from the wrong angle maybe.

Thanks very much

Loading External XML Text Into Dynamic Text Field?
Can someone please help me with loading an external line of text into a dynamic text field. I have done this before but can no longer remember.

Thanks
P

Question About External Text Files And Dynamic Text
hello. Im working on a website in flash. The link to the site is www.worldofbuffy.com/ele/home.html

when you click on news you can see the scrollbar on the far right side of the screen and the text loads(in newest version not uploaded to site yet). The problem i am having is with html tags in the text file.. <font color="#FFFFFF"> <p> and <b>

its showing the code in the final product but not produceing the color change / boldness / or paragraph break.

Any help will be helpfull.

**edit**

Right now a friend is hosting my site till i get my domain registered. So the version you see currently might not be the uptodate one with the text showing up. I've sent the files over but its 4am her time. Im sure the correct files will be uploaded by 12pm pst today.

Loading Dynamic Text Without External Text File...?
Hello,

I apologize if this has been asked before as i'm sure it has but for the past few days with all my searches on sitepoint, google, and flash kit but haven't been able to accomplish it.

What i'm trying to do is have text in my flash movie change based on a variable displayed on a WEBPAGE. I tried to accomplish this using FLASHVARS but i'm not even sure if I used flashvars correctly since not only did it not work but I couldn't find a tutorial that told me what i had to do inside the .fla file to make the flashvars function work.

I was wondering if someone here can point me into the correct direction or explain to me how exactly i would go about doing this...?

Again, all i'm trying to do is make a text in the .swf file change based on a variable in the web page, such as how FlashVars works...

Thank you in advance, and again i apologize if this was answered before.

Loading External Text File Into Dynamic Text Box
I have a dynamic text box on my stage that has a set width and height i want to populate it with an external text file to make it easy to update the text with out having to touch the fla. I'm just beginning to learn AS3 and don't know were to begin, in AS2 i would give the text field a variable and in my text file start with the variable name= ,variable on text isn't supported by AS3. any help would be appreciated.

Jake

Dynamic Text / External Text File ?
Hello,

I have a dynamic/multiline text box in a movieclip.
I am using the following code to load an external text file:

loadVariablesNum ("manifesto.txt", 0);

When I export and test the movie the external text file does not load. However, when I place the dynamic text box on the main timeline the external text file loads perfectly.

Please help!!!!!

Thanks in advance!!!!!

External Text File /with Dynamic Text
<pulling what little hair I have left....>
to my understanding, it is doable to open up external programs within flash (fscommand I guess).

Situation:
I have a dynamic text field that is filled with links pulled from an external text file. My first use of variables: the text file is pretty much just a listing of url's to fill the dynamic text field (looks something like:

filler=<A HREF=blah.pdf">link1</A><BR>
<A HREF=blah2.pdf">link2</A><BR>
<A HREF=blah3.pdf">link3</A><BR>...)

Because I'm popping all my links into a text file, I cannot execute the FScommand from there (at least I don't think so).

Now when a user clicks the link in the dynamic text field, it brings up a browser to open up the pdf file. The problem is I need Acrobat to open up the file directly, and not via a browser plugin, so I have to call the acrord32.exe program directly.
Any ideas on how I can get actual acrobat executable to open the file? I need to use a text file because I won't have access to swf after this is done, so any updating of the links there has to be done via a text file.

Cant Load External Text Into Dynamic Text Box
I would like to be able to load in text from an external file.
I followed the example in the book that I have, (Flash MX Action Script for Dummies)
and it doesn't work.

I created a text file that I saved into the same directory as the flash file.
I inserted some action script to load the tesxt file, but i don't think its right
here it is anyway.

loadVariablesNum("E:\Work\TRICIA\College\Proje ct\Temp Flash\Temp Text\feas_format1.txt",1);

but i don't know how to assign the contents of the text box to this file and how to display it.

Please could someone suggest a way (that I understand) to do this.

Thanks,
Tricia

External Text In Dynamic Text Box, From A PHP File
I'm having a problem with properly getting my text from a PHP file into my Flash site.

It currently is going to a Dynamic Text Box.
This is the part that prints out what the Flash movie should be getting.

PHP Code:



$post .= <<<END
<b>$topic_title</b>
$postdate by $postername
$post_text
($topic_replies) Comment$plural<br><br>
END;




which looks like this in my browser:
Quote:




&post=Berun accepted as Pledge Member! Mon Jan 23, 2006 2:14 am by Angusmungus Let me be the first to congratulate you Berun. Please keep up the good work and post when you can. With the recent re-opening of the Old forums we may seem preoccupied at times, but please feel free to join us here! (7) Comments

Creedroc Accepted as Kinsman! Fri Oct 14, 2005 1:04 am by Eruvelladan Friends, we have a new Ranger in our midsts!

Please welcome Creedroc as the newest addition to our ranks! (11) Comments

[RoF] Creedroc and ykamispet accepted as pledges! Sun Oct 09, 2005 2:15 pm by Eoden The Elders have discussed, and Creedroc and ykamispet (or Amada) have been accepted into the RoF for pledgeship!

Creedroc's pledgeships ends on Oct 13, and Amada's ends Oct. 21.

Congrats! (10) Comments




But when I get that in my Flash file and it displays in my Text box, the spaces between the paragraphs are quadrupled!

Does anybody know why those huge spaces are showing up in Flash for (apparently) no reason?

I can post a link to the site if anybody wants to see it in action.

Dynamic Text & External Text Files
Hi. When getting text from a .txt file to a Dynamic Textbox, I can see for like 0.3 seconds something like "_lever0.content" and then my normal text appears. "content" is my Dynamic Textbox.


Code:
System.useCodepage=true;
content.html=true;
myLoadVar=new LoadVars();
myLoadVar.load("content/linkscontent.txt");
myLoadVar.onLoad=function(success){
if (success==true){
content.htmlText=myLoadVar.content;
}
};
Thanks in advance.

Mark K.

Dynamic Text Box In External SWF. How To Target The Text Box In AS3?
Hello... I am loading an external file into a master file. The external file is loading into an empty movie clip that sits on the stage of the master file. This external file that is being loaded in has a dynamic text box that I'm trying to target using AS3.


The way it was done in AS2 was emptyMovieClipName.textBoxName.text="whatever"


I tried to target my text box using this same code but it doesn't work in the AS3 environment.

Any clues how to do this in AS3 would be appreciated!!!

Thanks...
Brenda

Trouble With External Text, Also Help With Dynamic Text
hello! i'm trying to put some external text into my flash movie for a news update section. i'm having some difficulty having it display, regardless of following the directions. i have the feeling it's because the external text would be brought into a movie within a movie within a movie (it's in one of those masked scrollbar movies). would something like this stop external text from being displayed?

also, i'm having trouble getting links in dynamic text showing up in the same scrollbar movie. it shows the regular text, but everything that is a hyperlink just isn't there. any reason why this is doing this?

thanks!

How To Rotate A Dynamic Text Box With External Text
Hi, I went to a tutorial at Kirupa that featured how to update your text from outside Flash, by using a regular text file, and a dynamic text box. The actionscript code allows the dynamic text box to display anything from the text file. The code is:

loadText = new LoadVars();
loadText.load("data.txt");
loadText.onLoad = function() {
lineb.text = this.lineb;

};

The dynamic text box has a Var: titled lineb and the instance name is called lineb as well.

In the text file, I have:

lineb=Whatever I wrote.

I wanted to see if I could experiment with the dynamic text box by rotating it so that the text could be flush with the diagonal side of a triangle. When I rotated the dynamic text box, the text dissappeared! Does anyone know how to solve this problem? Also, no actions were applied directly to the dynamic text file itself.

Thanks

[F8] Dynamic Text From External Swf
I'm loading a random external swf (ie, "image0.swf") into my movie ("index05.swf") as a background image (www.sugrue.com). I'm trying to create a dynamic text box in the main movie that provides a caption for the external, background image.

I've tried attaching a line like this in each external ("image0.swf") file:

_root.nametag == ("Hotel Room, London");
...as well as a parameter in the main one ("index05.swf") like this:

description = _root.nametag; ("description" being the instance name of the dynamic text box)

I've tried a few different versions of this, trying to figure the best way to arrange it, all to no avail.

Does anyone know how I might go about figuring this out?

Help With External Text In Dynamic Box
Hello

I am new to flash and I am trying to make a website,
I can not figure out how to make it so that i can edit
a text file and it will change what is in the dynamic text box.
When I try to do it i get this message in the box

_level0.instance17.sitenews

Could you plz help me and tell me what i am doing wrong
thank you

Dynamic Text From External Swf
I have a mother movie loading press.swf into a blank MC. When I play press.swf by itself it loads in the txt file just fine but when the mother loads it the txt file doesn't load.

mother code loading press.swf into blank MC:

Code:
loadMovie("press.swf", "_root.press");
code on press.swf loading news.txt:

Code:
this.createTextField("theTextBox", 1, 0, 0, 475, 250);
theTextBox.selectable = false;
theTextBox.wordWrap = true;
myTextFormat = new TextFormat();
myTextFormat.font = "thaFont";
myTextFormat.size = 8;
myTextFormat.color = 0xffffff;


theTextBox.embedFonts = true;
loadData = new LoadVars();
loadData.load("news.txt");
loadData.onLoad = function(success) {
if (success) {
theTextBox.html = true;
theTextBox.htmlText = loadData.theText;
theTextBox.setTextFormat(myTextFormat);
theTextBox.autosize = "center";
} else {
trace("failed");
}
};
I need to solve this problem by the end of the day and I'm freaking out. Any help out there?
Thanks!

Dynamic Text In External Swf
I attached a loadmovie command to a button, to load external swf's into a clip box on stage.
When the external swf loads the graphics load fine but the block of dynamic text attached to a scrollbar do not (the scroll bar does, and the text is selectable, but not visible). When I change the text to static text, it becomes visible..................?
Please help if you can.
Cheers

Dynamic Text & External .txt
Does anyone know how to "justify" an externally loaded .txt file loading into a dynamic text box?

I've clicked the "justify" box in the properties panel of the text box but no luck.

I've also tried loading a .rtf file but that doesn't seem to load at all.

Dynamic Text In External Swf
trying to master the preloaded external file tutorial on this site.

im having trouble loading swf's with dynamic text fields? static text works fine. any experience with this problem.
mike

Dynamic Text In External Swf
Hello
Dont know if i posted this thread in the right forum, but this is my first one.
I wonder if someone can help me out with this problem. I want to load dynamic text into MC.B (that works fine)and then it´s saved as MC.B.swf.
Then i want to load that movie into MC.A, wich have an emptyMC called "noneMC".
I get MC.B but not the text loaded dynamic.
The script im using is:

on button in MC.A :

on(press){
loadMovie("MC.B.swf","noneMC");
}
In MC.B in actionslayer:

loadVarsText = new loadVars();
loadVarsText.load("cardo.txt");
loadVarsText.onLoad = function(success) {
if (success) {
trace("done loading");
the
scroller.text = this.var1;
} else {
trace("not loaded");
}
};

MC.B works great if i run on its on.
I guess that i must have something to do with not finding "cardo.txt".
Hope that someone can help me out with this one.
I´ve searched the forum and found lots of mesages about it but allthough i havent worked this one out.
I´m a newbie but i want to advance.

Thankx , micron

Dynamic Text & External .txt
Does anyone know how to "justify" an externally loaded .txt file loading into a dynamic text box?

I've clicked the "justify" box in the properties panel of the text box but no luck.

I've also tried loading a .rtf file but that doesn't seem to load at all.

Dynamic Text In External Swf
trying to master the preloaded external file tutorial on this site.

im having trouble loading swf's with dynamic text fields? static text works fine. any experience with this problem.
mike

[b] Loading EXternal Dynamic Text [/b]
There is a main movie that loads external swf's into different levels.
*The main loads "djs.swf" into level 2,
*djs.swf loads variable texts
the text doesn't appearwhen "djs" is loaded on "main".

::this is what I have on the djs.swf;

loadVariablesNum ("flash/djtext/djmaya.txt", __level2.variablename );

::this is what I have on main.swf
on (release) {
loadMovieNum ("flash/djs.swf", 2);
gotoAndPlay ("clicked");
}

This is just the djs.swf embeded;
http://www.zikade.com/test/dj.htm

I've tried many things but can't get it to work.
Any suggestion please? what am I doing wrong

Help With External Dynamic Text And Scroller
can anyone help me ?
here is my situation.
my client wants an external .txt file that he can update himself,
the problem i'm having is that the external file wont load into a mc with a scroll bar? it only works without a scroll bar...

any help would be great thanks!!!

~Zain

find_zain@hotmail.com

Dynamic Text + External Vars
I have a main swf that loads another swf (list.swf).
In the main swf I made a dynamic txt box (name_txt) and in the properties panel I gave it a ‘var’ name ‘name’.


In the list.swf I have 3 btns; btn1, btn2, btn3.
What I’m trying to do is that when I press one of the btns it will display text into the name_txt on the main swf.
Something like this (list.swf, main timeline, frame 1,btn1)-
code: btn1.onPress=function(){
_root.blah_mc.loadMovie(blah.swf"); //disreguard this
name= joe; //how do i get 'joe' to appear in name_txt on the main swf?
};


I know that’s wrong, but how would I go about doing this?

Dynamic Text From External .txt Files
Hello, just have a quick question...

I've looked through the FK movies, using a few different searches. Looking for a way to call in text into a scrollable text field from an external .txt file, using buttons as a trigger.

So I would click "about" and it would read an external text file and display said text into a scrollable window.

I've seen tutorials where this is done, but damned if I remember where.

Any assistence would be appreciated, thanks.

Loading External PHP Into Dynamic Text Box
I need a lil help here:

I have a dynamic text box named count. I have an external php file i scripted and it works correctly here http://24.10.118.104/config/counter.php

I want to load all of that into a dynamic text box so it says This page has been viewed __ times.

Any help is appreciated

Dynamic Text Fields In External Swf
I'm using this Macromedia code to load the external text file "shows.txt". It works great just testing the swf, but when I load the exteranl swf in my main movie, the text loads as "undefined". The trace shows that the variable loads successfully. I've tried using the whole path before "scroller.text" and also trying the root instead of "this.var1."

Searching has shown me lots of people have has this issue, and few have resolved it.

Help would be massivlely appreciated.

loadVarsText = new LoadVars();
loadVarsText.load("shows.txt");
//assign a function which fires when the data is loaded:
loadVarsText.onLoad = function(success) {
if (success) {

//Now that we know the data is loaded,
//set the text content of the Text Field
//with the instance name "scroller" equal to the
//contents of the variable
trace("loaded");
scroller.text = this.var1;

} else {
trace("not loaded");
}
};

Dynamic Text Won't Display In External Swf
Hi,

I've been searching all over these and other forums for an answer to this question but can't find an answer that works.

I am loading an swf into an MC within another MC which will scroll which is in my Main movie.

Problem is that the dynamically loaded text (which shows fine in the original swf) won't show when loaded into all these other swfs.

Any ideas? I've tried embedding fonts (didn't work).

Your help is gretaly appreciated.

Jman

Dynamic Text Won't Display In External Swf
Hi there,

I posted this thread to newbies but haven't received much response. I thought maybe you guys would be more suited to help.

I've been searching all over these and other forums for an answer to this question but can't find an answer that works.

I am loading an swf into an MC within another MC which will scroll which is in my Main movie.

The swf that these boxes are in is duplicated several times in the it's parent movie and are scrollable from that movie. I would like to be able to load variables from several different text files for each duplicated movie.

Problem is that the dynamically loaded text (which shows fine in the original swf) won't show when loaded into all these other swfs.

I guess all I need to know is why dynamic text will show if it's on the main stage of a movie but not if it is then loaded as an external swf into a MC in the main movie.

If it helps I have uploaded the fla with the dynamic text boxes that needs to be loaded into the MC in the main movie.

Hope you guys can help.

Cheers,
Jman

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