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




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!



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 08-03-2005, 08:39 PM


View Complete Forum Thread with Replies

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

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.

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.

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?



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

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


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

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

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

How Can I Load A .txt File Into A Dynamic Text Field?
It's essential I know how to load a .txt file from my server into a dynamic text field in flash mx. I'm designing a site that has both flash and html versions and I need to be able to update both at the same time through one txt file.

If anyone can direct me in the right direction, I'd appreciate it a lot. Thanks in advance,

Draegos.

Just Want To Load External Txt File Into Dynamic Text Field
I'm trying to load the contents of a .txt file into a dynamic text field. What am I doing wrong here?

I have a dynamic text field with the Var: phone

I have a text file called: phone.txt

contents of phone.txt:

pn=<HTML><BODY>1-555-555-5555<BODY><HTML>



actionscript on the timeline:

loadVariablesNum ("phone.txt", 0);
phone = pn;


This has to publish to Flash 5 player

thanks

Load External Txt File Into Dynamic Text Field
Hello! Got a huge issue with a website , and the problem is that I am not able to load in external text files into a dynamic text field...

I got a button that is suppose to:
on (release) {
loadText = new LoadVars();
loadText.load("TEXT1.txt");
loadText.onLoad = function(success) {
if (success) {
// trace(success);
_root.sub_mc.textHolder_mc.historia_txt.html = true;
_root.sub_mc.textHolder_mc.historia_txt.htmlText = this.myNews;
}
};
}

It is suppose to load an external text file from the same folder as the flash file is located...
the target file lies in a movieclip. Why am I experiencing problems with this ?

Would very much appreciate an answer, totaly confused

Greatings from Handyman!

Load .txt File Into A Dynamic Text Field With Scrollbar
Hi, i was wondering how to make a movieclip - loader
(onClipEvent(load)) load news.txt into a dynamic text field (var = rinfo) and make it scrollable.
Use scrollbar to scroll the text when loaded into the text box.

I have been trying for ages, but cant get it working.

Help Me :)

Martin

PS. if you could make me a .fla for me to download it would be helpful

How To Load External Html File Into A Dynamic Text Field
I'm using Flash mx's standard scrolling text component, but I want to be able to fill the dynamic text box with text from an external text file or html file. Please help the documentation on this from Macromedia is non-existant.

Using Buttons To Change The Text File A Dynamic Text Field Loads?
I have a text field that loads text from a text document which works great for the news section of my site. However, is there a way I can keep that same text field and change it's content based on what button is pressed? For instance, if someone is viewing the "news" section of my site, and then they click on the "links" button, can I unload news.txt and load links.txt into that text field?

Dynamic Text Field: Swap Text With Diff Variable In Same Ext. File
I'm using the recommended


Code:
loadText = new LoadVars();
loadText.load(_global.text_url2);
loadText.onLoad = function(success) {
if(success){}

etc..
which is working well. I just want to attach an action to buttons which will switch the text for different variables in the same text file, in a single text box named archivetitle.

ie.

Code:
archivetitle.text = this.title1;
when button one is pressed



Code:
archivetitle.text = this.title2;
when button two is pressed.


Basically, how do i access an already loaded text object to refresh to a new variable? Thanks!

Dynamic Text Field: Swap Text With Diff Variable In Same Ext. File
I'm using the recommended


Code:
loadText = new LoadVars();
loadText.load(_global.text_url2);
loadText.onLoad = function(success) {
if(success){}

etc..
which is working well. I just want to attach an action to buttons which will switch the text for different variables in the same text file, in a single text box named archivetitle.

ie.

Code:
archivetitle.text = this.title1;
when button one is pressed



Code:
archivetitle.text = this.title2;
when button two is pressed.


Basically, how do i access an already loaded text object to refresh to a new variable? Thanks!

Select Text File From Dropdown List, Content To Show In Swf Dynamic Text Field
I have a php page where there is a form with a dropdown list of all text files in my site. The name of the dropdown is $filename.

The action script in my swf is this:
loadVariablesNum("<?PHP echo $filename; ?>", 0);

but I get nothing. It displays correctly when I replace
<?PHP echo $filename; ?> with the actual value of $filename, for example:
loadVariablesNum("ui_websites.txt", 0);

Any ideas what I'm doing wrong?

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

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?

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

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.

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.

Loading A Text File Into A Dynamic Text Field
Ok I have a dyamic text field called "Load"
I have a text file that is a few paragraphs, Is it possible to load the text file into that field?
I was think Load=loadVariableNum("http://www.___.com/text/text.txt","GET");
Maybe something similar. Thanks

Exporting Text From A Dynamic Text Field To A .txt File
Hi

I posted a plea for help about a month ago on how I should go about searching text in another swf file. I solved that, with a little help from the forums, but I still need to do one more thing. Only 1 swf file (or page, since this is a website) is loaded at a time so I cannot search every page for a word or phrase. So what I want to do is somehow export the text in all my dynamic text fields when I export the swf file (only when I export it) which my main frame for the website can read. But I don't have a clue how to do this. I have written some code to read a .txt file so all I need is to somehow put the text from my pages into a .txt file on export. Alternatively I could copy and paste the text from each page into a readme file, but I don't want to have to update 2 sources for my website at once!

Thanks for your help; I wouldn't be able to survive without these forums

James

Calling A Text File Into Dynamic Text Field
I'm relatively new to Flash so please forgive any obvious questions! I've searched for ages and come up with lots of results about loading XML into Flash, but my problem is more basic than that.

I'm creating a site where each page is pretty much text. I want to achieve this by loading text files into dynamic text fields, since it's easier for me to maintain text files that regenerate movie clips etc.

I have figured out how to load a text file into a dynamic text field and how to use the 'read as HTML' option to invoke HTML formatting - but I've hit the (apparently common, judging from Google) problem about whitespace. As soon as I have a carriage return in the text file, all subsequent text is ignored.

I'm detailing what I've done below and would really appreciate any help

1. Create flash document
2. Add a dynamic text field
3. Set the instance name of this text field to be 'Text1'
4. Set the 'var' for this text field to be 'Text1'
5. Created a text file in Notepad named 1.txt and saved in same location as the .fla
5. In frame 1 (which also happens to be where the text field is placed) I have the following code:

Code:
loadVariables("1.txt", this);
I THINK I need to add some code somewhere about whitespace but I'm not sure what it is or where it should go...

Most of the above has been achieved through trial and error, copying things I've found online - not through any detailed understanding of what I'm doing so it is quite likely I've been stupid somewhere along the line!

Many thanks

Trying To Load Raw Text File Into A Text Field
using loadvars any ideas how one might do this?

Load Text File Into Text Field
How i can load text file into TextField?
Thanks for help.

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

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


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

Your help/advice would be greatly appreciated,

-Scott

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!

Is It Possible To Change A Text Field From Dynamic Text To Static Text At Runtime?
The reason is because the dynamic text appears to be taking up about 90 % of the CPU usuage and I dont know any other way to reduce the CPU usage.

The text areas pull in lots of data from text files which slows down the program.

Any ideas?

How To Break Up Text When Calling Text Into A Dynamic Text Field
I am calling test in from a .txt and was wonding if there was a way to have a page with a bunch of information and have it obly call an indevidual paragraph or sentance depending on what i want it to ask.


ThnX

Please Help Me Load Text To Field From .txt File - Thanks
***resolved***

Hi everyone, I've been struggling for a while to get a text field to load text from a text file with html and css formatting - any help would be very much appreciated - the link to the example is here.
As you can see, the text loads ok but its html tags are visible and the text isn't formatted correctly.

Here is how I'm loading my css and text files:

Code:
var flash_css = new TextField.StyleSheet();
flash_css.load("hometext.css");
flash_css.onLoad = function(success:Boolean){
if(success){
hometextp_txt.styleSheet=flash_css;
}else{
trace("error loading css");
}
};

var hometextp_lv:LoadVars = new LoadVars();
hometextp_lv.load("hometextp.txt");
hometextp_lv.onLoad = function(success:Boolean){
if (success){
hometextp_txt.text = this.content;
}else{
trace ("unable to load text file.");
}
};
Can you see if there is a problem with the code above? Could the text in the .txt fil be wrong... it reads thus:

Code:
&content=<h1>title: first post</h1> <h1>date: 18/09/05</h1> test
And here is the .css file if that is whats causing the problem:

Code:
body {
font-family: fff harmony;
color: #FFFFFF;
font-size:8px;
}
h1 {
font-family: fff harmony;
font-size:8px;
background-color: #3d3d3d;
color: #00cc00
}

a:link {
color: #00CC00;
text-decoration: none
}
thanks for reading all that and helping me if you can. much 'preciated

*edit - sorry about that middle bit - the html rendered incorrectly...

Trying To Load A Dynamic Text Field
I'm trying to load a data element from a mySQL database. I have constructed a PHP application that works properly. I have formatted the output to look as follows &nmpoints= <?php echo row[2]; ?> and the php app extracts the correct data.

My Action Script 2.0 looks as follows:

var lvPoints:LoadVars = new LoadVars();
lvPoints.onLoad = function(bSuccess:Boolean):Void {
if (success) {
nmpoints = this.mcCartsuccess.tdPoint2.text;

}
lvPoints.load("nmpoints.php", "this");
}
My Action Script run find, but it never populates my tdPoints2.text field.
What am I doing wrong?

Thank you in advance for your assistance.

How Do I Load A .txt File Into A Text Field In Flash?
I need to fill text fileds in my flash movie with content which is sitting in a .txt file in the same directory. How do I do this?

In addition I'd like to be able to load an .jpg or .gif image into my movie from outside my .swf ,,,,,, not by loading up another .swf...

Thank folks.

Load An Extrnal .txt File To Text Field
this should be really easy and i've tried to follow the Flash Help section but i can't get it working. all i want to do is have an empty text field that i can load text into from external text files.

this can't be all that hard - i guess i'm just missing a step somewhere. any help would be great! thanks

Clint

__________________________
http://www.clintbalcom.com

RAnDoM Load From Txt File To Text Field
I'd like to have an input text field with an instance name, lets call it "rantext" and I'd like for this frame to load a random text from a .txt file everytime this frame is loaded.

Is there something simple for this?

Thanks in advance!

How To Add Text To Dynamic Text Field Where Text Cursor Is. Please Help
Hello,

How do you, if possible, can add text to a dynamic text field on where the text cursor.

Example:
| = text cursor
by pressing a button I want to add "How are you?" where the cursor is
____________________________________________
Hello
|
Bye
____________________________________________



Results:
____________________________________________
Hello
How are you?|
Bye
____________________________________________


Please Help!
Thank you in advance!

Load Movie From Dynamic Text Field
Hi
Hope this is an easy one!

My site has a main movie with multiple movies loading above it on different levels,
On my main movie I have a scrolling text field and I'm trying to hot link parts of the text in this field to load a movie above it in say level 2.
Is there any way of adding a button into a dynamic text field or using the getURL action? any suggestions would be appreciated.

Site: www.meinthepark.com

Cheers

Rotated Dynamic Text Field Won't Load .txt?
Hi there
I'm trying to load a text file, one.txt, into a dynamic text field. Simple enough, but this time I wanted to have the field rotated to a specific angle, and this requirement defeats my meagre knowledge. I've got a rotated dynamic text field, but I can only fill it with text typed into the actionscript (I don't know the term for this) as opposed to loaded from an external text file.

here's the code I'm working with:

stop();
loadText = new LoadVars();
loadText.onData = function(src:String) {
if(src != undefined){
my_txt.text = src;
}
else{
trace("Woops, didn't load");
}
}
var my_fmt:TextFormat = new TextFormat();
my_fmt.font = "verd";
this.createTextField("my_txt", this.getNextHighestDepth(), 10, 10, 160, 120);
my_txt.wordWrap = true;
my_txt.embedFonts = true;
//If this text is what we see then something didn't happen correctly.
my_txt.text = "Not Loaded";
my_txt.setTextFormat(my_fmt);
my_txt._rotation = 45;
//Now that everything is set up, load our text
loadText.load("one.txt");

But when I try it, the "Not Loaded" text appears, so something went wrong, and it's beyond me to see what.

If anybody can offer any help I'd really appreciate it.

Cheers!

N

Load From Bottom And Up[Dynamic Text Field]
Hey.

I have a small problem.. I am loading some data from a XML file into flash, and displaying it in a dynamic text field. The problem is, that I want it to display the text from the bottom up.

Which means, that the the "scroll" to move upwards and start, at the bottom, not at the top.

Hope someone can help

Regards Joggy

Load Two External .txt Into One Dynamic Text Field
Any ideas on how I would Load two external .txt files into one Dynamic Text field?

Thanks!

Can I Load An Image Into A Dynamic Text Field?
I'm loading a bunch of external data into various dynamic text boxes and I also need to load an image from an external location. Is it posible to do this using a textbox or do I have to try another method? I'd like to load in the image from an URL.

So as you can see I'm atatching a movieclip that has all of the textboxes inside and then loading in the desired text.



Code:
on (rollOver) {
//_root.home.rollover2.gotoAndPlay("over");
_root.information.gotoAndStop("off");
_root.rollover2.gotoAndPlay("over");

this.attachMovie("buildingdetails_mc", "buildingdetails", this.getNextHighestDepth());
buildingdetails._x = 536;
buildingdetails._y = 26;
buildingdetails.bldgName_txt.text = "Blackbear Lodge";
buildingdetails.bldgUnits_txt.text = "54 units";
buildingdetails.bldgLevels_txt.text = "4 levels";
buildingdetails.bldgFootage_txt.text = "620 - 1200 sq ft.";
buildingdetails.bldgPrice_txt.text = "$250 - $640k";
buildingdetails.bldgStatus_txt.text = "now taking reservations";

Can I Load An Image Into A Dynamic Text Field?
I'm loading a bunch of external data into various dynamic text boxes and I also need to load an image from an external location. Is it posible to do this using a textbox or do I have to try another method? I'd like to load in the image from an URL.

So as you can see I'm atatching a movieclip that has all of the textboxes inside and then loading in the desired text.



Code:
on (rollOver) {
//_root.home.rollover2.gotoAndPlay("over");
_root.information.gotoAndStop("off");
_root.rollover2.gotoAndPlay("over");

this.attachMovie("buildingdetails_mc", "buildingdetails", this.getNextHighestDepth());
buildingdetails._x = 536;
buildingdetails._y = 26;
buildingdetails.bldgName_txt.text = "Blackbear Lodge";
buildingdetails.bldgUnits_txt.text = "54 units";
buildingdetails.bldgLevels_txt.text = "4 levels";
buildingdetails.bldgFootage_txt.text = "620 - 1200 sq ft.";
buildingdetails.bldgPrice_txt.text = "$250 - $640k";
buildingdetails.bldgStatus_txt.text = "now taking reservations";

Dynamic Text Field To Load Image? Possible?
I apologize for this sounding like a stupid question but is it possible to dynamically load an image (jpeg,png) using a dynamic text field?  The reason I ask is I am forced to use a content management system that only allows dynamically-generated text fields to dynamically load content (including images).

I have this code (below) that loads images using an empty movieclip on the stage but I have had no success trying to load an image using a dynamic text field. Again, I apologize for asking a stupid question but I thought I would throw it out there in case someone knows of a way to do it.

code I use for dynamically loading an image:

_level0.empty_mc.loadMovie("image01.jpg");


thanks!

Linking External Text Files To Load Into A Text Field
hmmz.. i followed this tutorial.. http://www.flashkit.com/tutorials/In...40/index.shtml

Actionscript for Flash 5 dummies: Scrolling a text box II

so i manage to get everything to work so far minus the scroll bar which i omitted..

now i would like to be able to have different buttons to load different text files externally into the same text field..
what code shld i put for this buttons??

the movie clip of the textfield+scroller is called textbox
the textfield is called textbox2
the var of the textfield is called welcome

hope someone understands me..

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

Load HTML Table Into Dynamic Text Field
Is there any chance I load HTML content in flash dynamic (html) field. I tried to use
loadVariables ("rates_hr.txt", "");
in that text file I have this

ratesHr=<table width="300" border="0" cellspacing="1" cellpadding="3" align="center" bgcolor="#ffffff"><tr><td colspan="2"><p align="center"><div align="center" class="content"><strong>BRITISH AIRWAYS - SUPER PONUDA!!!!!!</strong></div><div align="center" class="content">Od 09.05.2007. zapocinje prodaja super povoljnih tarifa za destinacije u USA i Kanadi</div></p></td></tr><tr><td align="center"><p align="center"><strong>NEW YORK - 80 EUR</strong></p></td><td align="center"><p style="border:1px" align="center"><strong>NEW YORK - 80 EUR</strong></p></td></tr></table>

It works fine but it wont show me the table and cells formating right.

Simple HTML Load In Dynamic Text Field
Pls help with how I can load a html...
with mx

:-) flemming

Load Multiple Variables In One Dynamic Text Field?
Hello!

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

For example, this is in my text file:

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

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

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

How can this be done?

Image Load Inside Dynamic Text Field
i created a dynamic text field which loads externally from a text file.

it all works and displays correctly - it even links to an external css which correctly formats my html text as bold, italic, diff sizes etc... yay!

so now i want to add an image - and this is how i inserted the code inside my .txt file:[
<img src="images/mytestimage.jpg" width="194" height="300" align="left" />
]

the problem is - my image displays and scrolls - all good - BUT it is aligned too far to the left - it actually falls halfway outside of the textfield - and there is the same amount of padding to the right of my image - approx the same amount of excess padding as equal to the amount that the image hangs out to the left...

can anyone help? thanks!

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