Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!
all groups > macromedia flash sitedesign > may 2005 >

macromedia flash sitedesign : Help with a load function


jamesnelson
5/30/2005 7:52:11 AM
I know there is a requirement of having 2 objects in flash,
1. The Button
2. The Loading Place

I know how to designate the 'place' of loading (movieclip) i believe

I wanna know how i can get it to load a .txt file within the flash

Like where i can just edit the contents of the txt file, and it'll show it in
the flash movie,

if someone can offer help with this, it'll be appreciated, even if it's a .fla
file that i can download, im pretty quick to see how things work with a brief
overlay to look at in corrispondance.
merlinvicki
5/30/2005 9:12:22 AM
hi james,

Check out this thread :

http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=194&thre
adid=1007308

U can use the same process to load a txt file into ur movie. However with
html u can get more options for formatting the text .
jamesnelson
5/31/2005 12:00:00 AM
merlinvicki
5/31/2005 12:00:00 AM
you have to set your text box html property to true:
my_txt.html = true
and load the text with:
my_txt.htmlText = textvariable //the variable from ur text file with the html
coding

put this for check in ur txt file:
textvariable= <b> this is bold text </b>

merlinvicki
6/1/2005 12:00:00 AM
well.....
post ur code here
jamesnelson
6/1/2005 12:00:00 AM
Ok, here's the code for download.. gimmie hints man?.. i also have msn
- rbistudent@hotmail.com ^_^

Code:
jamesnelson
6/1/2005 12:00:00 AM
jamesnelson
6/1/2005 1:45:37 AM
AddThis Social Bookmark Button