Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: Dynamic text fields and "loadVariablesNum"
From: jmerrill
Date: Wed, 20 Dec 2000 22:55:44 GMT


I'm using actionscript in the first frame to read an external text file
that contains a variable, anf then format the string with HTML code and
display in a dynamic text field.

My external text file ( text.txt ) in the same directory as my Flash
file,reads:

text=
&matter1=Alphacon v. Digital Financial, Inc.

My actionscript ( in the first frame where the dynamic text fields also
are) reads:

text = loadVariablesNum ("text.txt", 0);
frameLink1_s = "<font face=\"Arial\" size=\"12\" color=\"#000080\"><a href
=\"http://www.serengetiUS.com\"><u>";
frameLink1_e = "</u></a></font>";
matter1link = frameLink1_s+matter1+frameLink1_e;

Why does a dynamic text field ( set to display the variable matter1Link and
allow HTML ) not display the string?
If I make a dynamic text field to display the variable, matter1, it works.
I have used HTML with dyamic HTML fields before (not externally loaded text
variables) without any problem, using this exact same method.

Any ideas?

Jason Merrill
Multimedia/Courseware Developer @ ELF, Issaquah, WA
425.369.5214
SerengetiUS.com - "Where Law Does Business"

Seattle Macromedia Authorware User's Group


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]