Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / April 2007



Tip: Looking for answers? Try searching our database.

Loading Multiple Text files

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mcommini - 20 Apr 2007 14:04 GMT
Hi!  I've got several archived text files - 040107.txt, 040207.txt, 040307.txt,
for example - and I want to be able to build a dynamic link which loads
whichever file is selected into the Flash movie.  This list needs to be able to
build itself as I write new files every day and add the old ones to the
archive.  I'm stumped.  How can I do this?
MotionMaker - 23 Apr 2007 04:28 GMT
You need a manifest file that contains the list of files. Load that file first and go from there.
mcommini - 23 Apr 2007 16:11 GMT
yes, that much I had already figured out, thank you.  I'm stumped as to how
that file should look and how it would call the linked files... I've tried
setting the "Render Text as HTML" filter but it doesn't seem to work.  For
example, whenever I use [B] and [/B] to make text bold, the text just
disappears.  The same thing happens if I try using the <a
href="whateverdomain.com"> and </a> tags.

I have been unsuccessful determining why the text disappears at run time when
the HTML tags are used.

Any additional help would be appreciated.

HevvyRevvy
MotionMaker - 23 Apr 2007 21:08 GMT
If you are using XML to load data, then use the CDATA to wrap the html text.
If you are using LoadVars to load data, be sure you do not have any & in the
text content. If you do convert to hex.

Flash should show HTML if you have the
http://livedocs.macromedia.com/flash/8/main/00002751.htmll property set to true
which is also done in IDE with "Render Text as HTML". But you must use the
http://livedocs.macromedia.com/flash/8/main/00002752.html property to set the
text.

Finally malformed HTML in Flash TextFields generally dies like you describe.
mcommini - 24 Apr 2007 10:29 GMT
Thank you for the information. I think part of the problem is that I was using
code designed for Flash 5.  I upgraded from Flash 8 Professional to Flash 9
(Web Premium CS3) yesterday and am in the process of redesigning the Flash
project.  Hopefully, if my eyes don't go all buggy, I'll be able to get the
ActionScript working by this afternoon (busy schedule).

I'll keep you all up to date, thank you! :)
MotionMaker - 24 Apr 2007 12:19 GMT
Ya definitely move up the ladder for AS. Still the TextField and html tags are the same. What you will find new is use of CSS.
mcommini - 25 Apr 2007 14:12 GMT
Ok, I've got the xml file loading properly into the dynamic text box.  Still
publishing as Flash 5 player 'cause I'm still learning CS3.  I've got the links
launching a browser window but what I really want is to be able to load each
text file into the dynamic text window.  Is there any way to do that?  I seem
to remember way back in 2001 using the tellTarget to launch movies but never
played with text files to this extent.

Any help is appreciated.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.