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




Dynamic Text Won't Load?



Alright, so I followed both Kirupa D.Text tutorials, and the .flas that you get from them work.

But the problem is on my little site, nothing loads up, and everytime I hit "publish" I get:


Quote:




Scene=Scene 2, layer=txt_actions, frame=60:Line 1: The identifier 'loadVars' will not resolve to built-in object 'LoadVars' at runtime.




Any ideas? Hereis the .fla

Thanks!



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 01-16-2004, 03:36 AM


View Complete Forum Thread with Replies

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

Load Asp Into Flash& Load Content From Hyperlink Into Same DYNAMIC TEXT BLOCK
i'm trying to load content from database into my flash SWF. asp scripts call the info from server to render pages as HTML FRAMES at the moment. there are also hyper links on the HTML rendered pages that i want to work still, and call the content into the same page...or in my case same SWF file. is there a way to do this, as i have gotten it to load the content into the SWF, and pressing the hyperlink it opens the content, but in another browser window......however i want it to load into the same DYNAMIC TEXT FIELD.
anyone with suggestions??????
please help

Load Asp Into Flash& Load Content From Hyperlink Into Same DYNAMIC TEXT BLOCK
i'm trying to load content from database into my flash SWF. asp scripts call the info from server to render pages as HTML FRAMES at the moment. there are also hyper links on the HTML rendered pages that i want to work still, and call the content into the same page...or in my case same SWF file. is there a way to do this, as i have gotten it to load the content into the SWF, and pressing the hyperlink it opens the content, but in another browser window......however i want it to load into the same DYNAMIC TEXT FIELD.
anyone with suggestions??????
please help

Load Text From A Text File Into A Dynamic Text Field
I'm trying to load text from a text file into a dynamic text field. The text field is on the "blog" page of the website. When I test my movie, the first time I go to the blog page, the text from the external text file (AND the CSS styles) show up fine. But when I click from the blog page to go to the "profit calculator" or "contact" pages and THEN click to go BACK to the blog page, the blog page animates back in, and right as the animation ends, the text on the blog page suddenly disappears and won't come back. PLEASE help me figure this out!

Asfunction - How To Load Dynamic Text With Dynamic Text? [F8]
Hello dear helpers !!!

I'm trying to get external, dynamically loaded text to load different text files into a text box. I've figured out that I need asfunction to do it through calling a function in the movie and passing it variables, although i haven't been able to write this function at all... would anyone mind giving me a hand???


thanks sooo much!!

p.s. I've managed to get this working by creating a toggle function, so at the moment I have 25 text boxes and a show/ hide function, but that's very buggy.

Button Function - Load Text File To Dynamic Text Field
Hey again,

okay straight into it. I have a few button named b1 b2 b3 and so on. Now these buttons i want to load a text file into a dynamic text field called myText. Now the text files which will be loaded contain html tags, so i want to have that property set.

Now current I have home.text loading into myText automically on swf loading. But when I click any of the buttons the text file won't change over.

Now my menu is seperate to the body. I have 3 swf files, one called base.swf, nav.swf and body.swf. Base.swf loads nav and body onto it.

here is what i have as the script.

Frame1 - body.swf

_root.onData = function(){
myText.html = true;
myText.htmltext = _root.myInfo;
}

loadVariables("home.txt", _root);
loadMovie("scratchy.swf", logo);


Frame1 - nav.swf - gigsbut (button)
on (release) {
loadVariables("gigs.txt", _root.body);
}


can anyone help point out where I am going wrong. I have a feeling I am not targeting the text field right from the button. If you could help point me in the right direction rather then give me the answer that would be good as I would learn better from that. Thanks

Wolfie

PS - Let me know if you want or need more info. Am happy to post it up.

How To Load Dynamic Text According To Dynamic Image?
Hello all,

I want to make this artist portfolio (ie: a slide show) and I have found a tutorial that showed me how to dynamically load images in an empty movie clip.

Now, I'd like to attach a description for each images and I'd like to keep it dynamic. So, I imagine a folder with one text per image, having a name can can be incremented or decremented (description1.txt, description2.txt, and so on)

and I guess it's a matter of having a recognition of which image we're on in order to load the corresponding text...

Also, I was wondering, can I add html tag in the txt file in order to have some sort of formatting to the output text?

Where do I start?

Thanks

p.

How To Load Text From A Text File Using Dynamic Textfield?
is there a way that i can load text from a textfile using dynamic textfields? i can use an alternative where if the textfield's name is 'poetry', i'll just make a button that changes the text like

on( release )
{
poetry = "blafhlanflh lnalfhafl af";
updateAfterEvent();
}

but what if i have many poems to load? it will make the file bigger so im thinking that maybe ill just load text from a text file so even if i have many poems or other data, i can just load them from text files making load time faster...is there any way? hope you understood my dilemma...thanks in advance!

How Do I Load Text From A Text File Into A Dynamic Textfield?
is there a way that i can load text from a textfile using dynamic textfields? i can use an alternative where if the textfield's name is 'poetry', i'll just make a button that changes the text like

on( release )
{
poetry = "blafhlanflh lnalfhafl af";
updateAfterEvent();
}

but what if i have many poems to load? it will make the file bigger so im thinking that maybe ill just load text from a text file so even if i have many poems or other data, i can just load them from text files making load time faster...is there any way? hope you understood my dilemma...thanks in advance!

Load Text From A Text File Into A Dynamic Textbox
How do you load text from a text file [like notbook] into a dynamic textbox?

Need help fast!

How To Load Arabic Text Into Dynamic Text In Flash
hi all i hope any one help me how to load arabic text into dynamic text in flash

i use now xml file load variables from the BD then the swf file read these variable and show them to me in flash just that any arabic text is not shown or shown as squares

plz help

How To Load A Clip Or Image With Text In Dynamic Text Box
Hi guys,

Please help me!

I need text to be displayed with some movie clips or smileys with it in dynamic text box. Like the below

hi how are you?

but when i tried to do this i am getting some thing like this

hi how are you?



it is registering with left or right only. how to rectify it? I am using html output for attaching the clip with text for output.

using flash8 and actionscript 2.0

thanks in advance.

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.

Load Html Text Into Dynamic Text Field
Does anyone know the action script I need in order to load an external html text file (e.g. mytext.htm) into a dynamic text box. The dynamic text box has an instance name of ArticleTxt. Also where do I apply the action script, is it frame based? or do I apply it to the text box?

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

Load Text Into Masked Dynamic Text Field
hey ppl,

Ok I'm having some trouble here. i followed this tutorial (http://www.kirupa.com/developer/mx2004/cssfile.htm) in order to load text from an external file and apply css styles to it. BUT my problem is that the text is under a mask. Embedding the font results in an empty text box, not embedding a font results in the same thing.


Any ideas??!?

Thanks,

-atomicrabbit

Load Text File In Dynamic Text Field
Hello everybody,

I am working on a flash site, but I have a problem with it. I want to load a text file to a dynamic text Field. but my dynamic text Field in is the movie clip.

So How i can do this.

Please suggest me.

Load Text File In Dynamic Text Field
Hello everybody,

I am working on a flash site, but I have a problem with it. I want to load a text file to a dynamic text Field. but my dynamic text Field is in the movie clip.

So How i can do this.

Please suggest me.

How To Load A Clip Or Image With Text In Dynamic Text Box With
Hi guys,

Please help me!

I need text to be displayed with some movie clips or smileys with it in dynamic text box. Like the below

hi how are you?

but when i tried to do this i am getting some thing like this

hi how are you?


it is registering with left or right only. how to rectify it? I am using html output for attaching the clip with text for output

thanks in advance.

Need To Load Text File In Dynamic Text Field
Hi I have to hand in a project tomorrow for class and have one last
obstacle I need to overcome tonight.

I am a flash novice and can not figure out how to load a text file into
a dynamic text field.

I have followed step by step instructions multiple times from the
Macromedia website and another tutorial website and each time I test
the movie the text file does not appear - the window is blank.

Help please?!?  Any recommendations or other websites I should try?



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

Load Mostly Static Text With Some Dynamic Text
Hopefully this is a simple question. I don't even know what type into google to find the answer.

I need a text box to display this text. We'll say for example the words in all caps are variables dynamically loaded but the rest is static text.

Text Box:
--------------------------------------------------------------------------
<object classid="clsid:d27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="WIDTHVAR" height="HEIGHTVAR">
<param name="movie" value="NAMEVAR.swf">
<param name="quality" value="high">
<embed src="NAMEVAR.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="WIDTHVAR" height="HEIGHTVAR"></embed></object>
--------------------------------------------------------------------------

Format And Load Text Into Dynamic Text Box?
The nicest and smartest people are on Kirupa.
Kirupa rocks.

What is the simplest most fool-proof way of pre-formatting text (even outside of Flash) then having it load into a Flash dynamic text box so that it LOOKS THE SAME? Whoever is kind enough to answer this, please be sickeningly descriptive. I can't get anything to work from tutorials. In fact, I can't even get a basic text file to load into a Flash text box! The text needs to maintain the hyperlinks assigned to various words.

* Scottie

I can design a city but can't fix a pipe.

Height Of A Dynamic Text BOX? (After Text Load)
Inside the contentMain movie clip:

//var myStyle:TextField.StyleSheet = new TextField.StyleSheet();
//myStyle.load("sample.css");
//content_txt.styleSheet = myStyle;

content_txt.multiline= true;
content_txt.wordWrap = true;
content_txt.html = true;
content_txt.autoSize = true;
mcback._height=content_txt._height;

//var story:XML = new XML();
//story.ignoreWhite = true;
//story.load("sample.html");
//story.onLoad = function () {
//content_txt.htmlText = story;

//mcback._height=content_txt._height;

//}
loadText = new LoadVars();
loadText.load("sample.txt");
loadText.onLoad = function() {
content_txt.htmlText = this.sampletext;
mcback._height=content_txt._height;
content_txt.autoSize = true;
};


The text is still cutting off from the point of the initial dynamic text box size. The mcback movie clip is just something I put behind the text, as the easing scrollbar adjusts depending on the size (height) of the contentMain movieclip (which contains this code, the dynamic text box and mcback). Here is the easing scroller code:

scrolling = function (easing)
{
var moveSpeed:Number = 1;
var easingSpeed:Number = 10;
var scrollHeight:Number = scrollbg._height;
// how much of the movie can be scrolled
var scrollable:Number = contentMain._height-maskedView._height;
var initContentPos:Number = contentMain._y;
// the drag positions that are possible for the dragger
var left:Number = scrollbg._x;
var top:Number = scrollbg._y;
var right:Number = scrollbg._x;
var bottom:Number = scrollbg._height-dragger._height+scrollbg._y;
contentMain.content_txt.autoSize=true;
contentMain.mcback._height=contentMain.content_txt ._height;
// before we do anything make sure the content is even scrollable, if it isn't hide everything and return
if (scrollable<0)
{
dragger._visible = false;
btnUp.enabled = false;
btnUp._alpha = 50;
btnDown._alpha = 50;
scrollbg._alpha = 50;
btnDown.enabled = false;
return;
}
// Updates the contents position
function updateContentPos()
{
var percent_scrolled:Number = (dragger._y-top)/(scrollHeight-dragger._height);
// instead of setting the _y property directly, we simple set newY
// that way we can adjust how we handle the new Y coordinate we'd like to move to
contentMain.newY = Math.round(initContentPos-(percent_scrolled*scrollable));
}
// here we will just always adjust to the position that we would like to move to..
contentMain.onEnterFrame = function()
{
contentMain.mcback._height=contentMain.content_txt ._height;
if (!easing || easing == undefined)
{
this._y = this.newY;
}
else
{
this._y += (this.newY-this._y)/easingSpeed;
}
};
dragger.onPress = function()
{

startDrag(this, false, left, top, right, bottom);
this.onMouseMove = function()
{
updateContentPos();
};
};
dragger.onMouseUp = function()
{
stopDrag();
delete this.onMouseMove;
};
btnUp.onPress = function()
{
this.onEnterFrame = function()
{
dragger._y = Math.max(top, dragger._y-moveSpeed);
updateContentPos();
};
};
btnUp.onDragOut = function()
{
delete this.onEnterFrame;
};
btnUp.onRelease = function()
{
delete this.onEnterFrame;
};
btnDown.onPress = function()
{
this.onEnterFrame = function()
{
dragger._y = Math.min(bottom, dragger._y+moveSpeed);
updateContentPos();
};
};
btnDown.onRelease = function()
{
delete this.onEnterFrame;
};
btnDown.onDragOut = function()
{
delete this.onEnterFrame;
};
// makes the first update to scroll in case the user offset the dragger
updateContentPos();
};
// here we pass in true to turn easing on, and false to leave it off
scrolling(true);



Please help me!!! Please

How Do I Load A .txt Into A Dynamic Text Box?
I am not exactly new to flash, but I don't dabble in the ActionScripting too often, (I just animate stuff). I know it is possible to load text from an HTML or TXT into a flash movie/dynamic text box, but I am not exactly sure how to go about doing this. Any help would be greatly appreciated.

Dynamic Text Won't Load
I'm loading dynamic text into a scroll box, it works when I test the movie, but when I load that swf into my main movie there's no text and the scroll doesn't work. I guess it's to do with paths. Any ideas?

Why Won't My Dynamic Text Load?
this one is a strange one for me. since our website moved to a new local testing server, my swf's are not reading imported .txt or .as files. however, the swf's work perfectly fine on the live server, or on my local machine. files are being published in flash player 5 thru 7. i'm completely puzzled.

i feel i may be too vague, so i'd be happy to supply more info. has anyone heard of this happening before, or why? ideas would be GREATLY appreciated.

thanks,
jwt

Dynamic Text Load
Ok, I've looked at about a hundred different tutorials to get an external text/html file to load in a dynamic text box. They all worked, as long as I wanted the text file to load as soon as the movie started.

What I want, is for the text to appear when a button is pressed. The entire document is taken up with buttons, and when you click one, they move out of the way, and a white box with a dynamic text box should appear, and then depending on which button you push, it will load a certain text file.

I have no idea why this isn't working for me, but it's really driving me nuts. If anyone could help, or point me in the direction of a tutorial that will tell me specifically how to make the text load in the way i have described, I'd be really appreciative.

-Maj. Major M. Major

[F8] Load Dynamic Text
Hi, not the best title but really couldn't think of how to word this.

I'm using the datagrid coupled with a listener event object to display a list of flv filenames and text filenames. When an item is selected from the datagrid, the corresponding video loads. This is all working great but I would now like to load the text file into a dynamic text field as well.

I'm using the following code to achieve this but cannot get the text file to load:


PHP Code:




changeListener = new Object ();
changeListener.change = function (evt_obj:Object) {
//   trace ("You pressed this item : " + evt_obj.target.selectedIndex);
   ns.play (tabInfo[evt_obj.target.selectedIndex].flv);
   trace ("TAB:" + (tabInfo[evt_obj.target.selectedIndex].tab) + ".txt");
   tab_txt.load(tabInfo[evt_obj.target.selectedIndex].tab) + ".txt";
};
tab_dg.addEventListener ("change", changeListener);







As you can see from the code above, I'm managing to trace the correct text filename but cannot attach it to tab_txt.load
I believe this is because the correct syntax for .load is to wrap the filename in brackets and speechmarks.

How would I achieve this given the filename has been replaced with the selectedIndex code? as when I try to wrap it in brackets and speechmarks it treats as an actual filename.

I believe in PHP you can use characters in this way by proceeding them with ''. Is there an equivalent in actionscript?

Any ideas are more than welcome,
Thanks

Load Dynamic Text Via Xml
Hi...

I'm trying to use an xml to load some player stats for my basketball team website.
here is the xml file code (I've shortened it for an exmaple)...
code:
<stats>

<stats player="pault" games="3" points="30" />

<stats player="pete" games="4" points="50" />

</stats>


Here is the code in flash which I'm trying to use to load the xml data into my dynamic text boxes...
code:
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
games = [ ];
points = [ ];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
games[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
points[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
}
} else {
content = "Error :: stats not loaded!";
}
}
xmlData = new XML();
xmlData.onLoad = loadXML;
xmlData.load("stats.xml");

this.onEnterFrame = function() {
games.text = games[0];
points.text = points[0];
}
stop();


all I get whn i test the movie is an 'undefined' error in the games and points dynamic text boxes...
any ideas?

How To Load Dynamic Text In A MC?
I need to load some dynamic text that lives in a movie clip. Once a user presses a button then a window pops up and then loads the dynamic text in that specific box. For some reason nothing is loading. I'm obviously doing something wrong. Can I load text in a movie clip that's called from clicking a button?

Dynamic Text Load
Hello

I've created a button "link1" and a dynamic text box "my_dynamic_text". When i click on the link i want it to load my text. For the text loading I followed this link EXAMPLE

But i get some errors

**Error** Scene=poetry, layer=link1, frame=1:Line 5: Statement must appear within on handler
myData = new LoadVars();

**Error** Scene=poetry, layer=link1, frame=1:Line 7: Statement must appear within on handler
myData.onLaod = function(success){

**Error** Scene=poetry, layer=link1, frame=1:Line 15: Statement must appear within on handler
myData.load("C:/Users/Shevi/Web Sites/Archi Baldo/photo1.txt");

Total ActionScript Errors: 3 Reported Errors: 3

any idea??

Thank you

Dynamic Text Load
Problem:
When using the dynamic loading text it has a lag time when loading it. I used a preloader, but it doesn't seem to load the text during that time. I still have the lag time when the site is loaded up.

site:
http://www.i-martini.net/i-martini.html

Dynamic Text Won't Load?
Alright, so I followed both Kirupa D.Text tutorials, and the .flas that you get from them work.

But the problem is on my little site, nothing loads up, and everytime I hit "publish" I get:


Quote:




Scene=Scene 2, layer=txt_actions, frame=60:Line 1: The identifier 'loadVars' will not resolve to built-in object 'LoadVars' at runtime.




Any ideas? Hereis the .fla

Thanks!

How To Load Dynamic Text?
I tried tutoruls, I must be doing something wrong..
I make a text box, make it dynamic, make it a symbol and load it?
whats the action script command to load it?

Dynamic Text Box Load. Help ?
hi,

how can i create the following:


I used the UI scrollbar component with a submit button.

then I have a dynamic text box, I want to load whatever option I choose on the UI scrollbar list, hit the submit button and have it displayed in the text box.

how can I do this ? I tried using the webservices connector and something with xml, but I'm stuck.

Please help if you can...

Dynamic Text Load
Problem:
When using the dynamic loading text it has a lag time when loading it. I used a preloader, but it doesn't seem to load the text during that time. I still have the lag time when the site is loaded up.

site:
http://www.i-martini.net/i-martini.html

Load Dynamic Text ?
Hi! Everyone


I want to load text file and My action script:
(I use Flash MX pro 2004)
---------------------------------
this.createTextField("tInfo",this.getNextHighestDepth,0,0,100,100);
tInfo.multiline = true;
tInfo.wordWrap = true;
tInfo.border = true;
tInfo.html = true;
var lvData:LoadVars = new LoadVars();
lvData.onLoad = function(sData:String):Void{
tInfo.htmlText = sData;
};
lvData.load("Uberuns1.htm");

-------------------------------
My TextField, tInfo alway show true and not show content of html file
I dont know why?
I try with Text file but it's same result.
?????
Help me plz..
Thank you very much
Best regard,

Load Dynamic Text
Hi, not the best title but really couldn't think of how to word this.

I'm using the datagrid coupled with a listener event object to display a list of flv filenames and text filenames. When an item is selected from the datagrid, the corresponding video loads. This is all working great but I would now like to load the text file into a dynamic text field as well.

I'm using the following code to achieve this but cannot get the text file to load:

Code:

changeListener = new Object ();
changeListener.change = function (evt_obj:Object) {
//   trace ("You pressed this item : " + evt_obj.target.selectedIndex);
   ns.play (tabInfo[evt_obj.target.selectedIndex].flv);
   trace ("TAB:" + (tabInfo[evt_obj.target.selectedIndex].tab) + ".txt");
   tab_txt.load(tabInfo[evt_obj.target.selectedIndex].tab) + ".txt";
};
tab_dg.addEventListener ("change", changeListener);   

As you can see from the code above, I'm managing to trace the correct text filename but cannot attach it to tab_txt.load
I believe this is because the correct syntax for .load is to wrap the filename in brackets and speechmarks.

How would I achieve this given the filename has been replaced with the selectedIndex code? as when I try to wrap it in brackets and speechmarks it treats as an actual filename.

I believe in PHP you can use characters in this way by proceeding them with ''. Is there an equivalent in actionscript?

Any ideas are more than welcome,
Thanks

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?

Load Dynamic Text Other Then English
I was wondering if you can load a text from a text file in a language other then english if the viewer has those characters that differ. What's the difference between having dynamic text in html in flash and having text in a pure html page which works?

Dynamic Text Load Problem
Uhh... no matter what i do my vars NEVER load from my textfile... the file is set up right i think...

content1=Find all the latest news here&content2=Mission Statement


Code:

content2 = null;

loadVariables("home.txt", 0); //load content1 and 2

item1._y = 45;
item2._y = 45;

if (content2 != null)
{
_root.item1.txt1.text = content1;
_root.item2.txt2.text = content2;
}
else
{
_root.item2.txt2.text = "arrrrrrrrg";
}
Stuck.

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

HELP Dynamic Text Wont Load
i have a swf of differnt frames of dynamically loaded text from external text files...it works fine when i test it...but this swf is part of a site, and is loaded into the main swf...when i test the main swf and click that link, it loads, but the dynamic text does not...any ideas?..i dont know what to do?!.

thanks

Load Asp As Dynamic Text In Flash ?
hey all,

I need some help. I am trying to get an asp file that i have for a feed page LINK

to load inside of a flash movie. i have tried everything. if some one could help me out i would appreiciate it

here is the code i use for my feed page


PHP Code:




<!--#include file="inc/config.asp"-->
<%
'This script return a rating of a product
Dim db,rs,query, rating

'Create ADODB object
set db = Server.CreateObject("ADODB.Connection")

'Open the connection
db.open(dsn)
Dim para1
para1 = Request("n")
if isNumeric("n") = FALSE OR (Request("n") > 20 AND Request("n") < 0) OR Request("n") = "" then
para1 = 10
End If
'get query
set rs = db.execute("Select Top " & para1 & " PostID,Topic,ForumID from tblTopic Order By LastDate DESC")
%>

<b>Last 10 Forum Posts</b><br>
<% while not rs.EOF %>

<a href="http://www.cyber-core.net/forum/viewtopic.asp?forumid=<%= rs("ForumID") %>&id=<%= rs("PostID") %>" style="color:#37386D"><small><%= rs("Topic") %></small></a><br>

<% rs.moveNext %>
<% wend %>

<a href="http://www.cyber-core.net/forum/portal.asp" style="font:10px verdana; color:#37386D;text-decoration:none">Cyber-Core.Net</a>
<%

'close connection
rs.close
set rs = Nothing

db.close
set db = Nothing
%>







Another thing is, the Dimensions are 120 x 275, does it need word wrap? Any Help would be GREATLY APPRECIATED thanks!

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

How To Load A Link Into Dynamic Text
I have a dynamic text file... how do I load a link to it? the dynamic text is from a .txt help me please!!

Load Dynamic Text With Buttons
I am trying to create a dynamic text field where i can change the text in the field by clicking on different buttons. I want the text to load from external text files in to the feild, by clicking on these buttons. Can anybody give a head start on the code?

Here is a .fla file that show what i am trying to do:
http://www.oilscapes.com/externaltext_buttons.zip

I am using MX 2004

Swf Within MC Doesn't Load Dynamic Text - WHY?
I'd apprepciate any help, I'm sure this is an easy one for just about anyone, but I'm stuck.

I've got an about (child) file, that I've set-up to dynamically import data from a text file. That was easy. Here's the AS code I used:

loadVariablesNum("http://homepage.mac.com/ehegwer/Sites/text.txt",0);

I've got this other file (parent), Index (my main workspace) where I use a button to call the about.swf, and the about file loads just fine EXCEPT, the dynamic text never shows.
How do I get the dynamic text to show in the movie clip in the parent?

So do I
a) have the wrong level in the about.swf?
b) need to preload the text.txt file in the Index.fla?
c) none of the above?
d) all of the above?

Thanks in advance

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